Results 1 to 1 of 1
  1. #1
    snambu is offline Member
    Join Date
    Jul 2010
    Location
    Pittsburgh
    Posts
    1
    Rep Power
    0

    Exclamation Print to File Java

    Hi all

    I am working on Java for viewing help in the Desktop based Java application. I have used the Printerjob Java API.

    1) After clicking Print option in the file menu, when I check mark print to file and click the print button. A new window is opened: i.e., Print to File .......Now In the print to file window, how can I populate the files of type label.

    2)And is there any way to save the out.prn as a out.txt or out.html.


    Last edited by snambu; 07-27-2010 at 03:41 PM.

Similar Threads

  1. How to print text file in java(dotmatrix printer)
    By yoganeethi in forum Advanced Java
    Replies: 4
    Last Post: 12-01-2010, 01:45 PM
  2. How to print a HTML file in browser look using JAVA
    By ammameiya in forum Advanced Java
    Replies: 5
    Last Post: 06-25-2010, 02:36 AM
  3. Print an external file from Java or JavaScript
    By sehudson in forum AWT / Swing
    Replies: 5
    Last Post: 06-24-2010, 01:08 PM
  4. Print .prn file using java
    By nishant in forum Advanced Java
    Replies: 0
    Last Post: 07-14-2009, 09:15 AM
  5. Print the text file and print preview them
    By Java Tip in forum java.awt
    Replies: 0
    Last Post: 06-22-2008, 11:04 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •