• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to print to a file without using PrinterJob?

Ivn Tcakov
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have problems printing a plot to file that I drew in an Applet (in a Frame).
This happens when my computer is not conneted to any printer and there is no printers in my printer list, then the print dialog doesn't even want to open, thus I can't print the plot to file either.
Does anyone know how I can print the contents of my Applet directly onto a file? Is there such a method or a class that handles that. Maybe I can do all the print preparation witout opening the print dialog? And then just open a File dialog to write it to a file?
Any suggestions would be most welcome.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic