| Author |
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. http://pollscanada.com/screenshot.html
|
 |
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? or Did you try: componentToBePrinted.getGraphics().setColor(Color.black); componentToBePrinted.paint(g2); Probably will not succeed? Just curious....
|
 |
henri henri
Ranch Hand
Joined: Oct 03, 2005
Posts: 115
|
|
|
ok ko let me try that
|
 |
 |
|
|
subject: Changing Printer Ink Colour
|
|
|