File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes Changing Printer Ink Colour Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Changing Printer Ink Colour" Watch "Changing Printer Ink Colour" New topic

Changing Printer Ink Colour

henri henri
Ranch Hand

Joined: Oct 03, 2005
Posts: 115
Below is my standard print module. It prints the film titles seen in red located within a JTextArea. The print comes out as the same colour red I have specified in my JTextArea. In order to save on coloured ink, I would like to have it print out in black. I experimented with the print class, but failed to find out where to insert code that would give me a black ink printout.

Ko Wey
Ranch Hand

Joined: Sep 08, 2003
Posts: 67
Very nice screenshot!! Deserves a bottle of red ink!

Can you select "PRINT IN B&W option " in your printJob.printDialog()-dialog?


Did you try:
Probably will not succeed?

Just curious....
henri henri
Ranch Hand

Joined: Oct 03, 2005
Posts: 115
ok ko let me try that
I agree. Here's the link:
subject: Changing Printer Ink Colour
It's not a secret anymore!