If you control the rendering code, just change your line colors to black
when printing.
Karen
-Original Message-
From: Phil Race [mailto:[EMAIL PROTECTED]
Sent: Friday, May 26, 2006 1:10 PM
To: [EMAIL PROTECTED]
Subject: Re: [JAVA2D] Black and White printing
Perhaps you could create a
Perhaps you could create a BufferedImage.TYPE_BYTE_BINARY with a 2 color
IndexColorModel
and have all the printing go into there. Then all rendering will have to
be one of those two colours
which I assume you would select as B&W.
The drawbacks to this are that to get printer resolution graphics
(
Phil,
I'm still puzzled. It isn't clear how to accomplish what I want. If I was in
a color lookup world I would do something like: set 0 - white and colors 1-256
to black. The problem with monochrome printing is the user has a yellow line
drawn and wants to print it on a black and white pri
>I want the background to be white and all drawings to be black
So you need to proceed as I advised but the new dialog seems like a lot
of work
for little gain. We can't add it in our dialog as we can't control the
colours you use.
-phil.
Yes I understand that I need to display a new dialog.
Yes I understand that I need to display a new dialog. Black and white is not
the same as monchrome. With monochrome you get shades of gray. I want the
background to be white and all drawings to be black.
[Message sent by forum member 'diverdad' (diverdad)]
http://forums.java.net/jive/thread.
Do you mean you want to update the list of choices the user sees for
some reason?
The dialog is not customisable in this way so you'd have to write your
own dialog.
Also I wonder how you expect to communicate this intent to the printing
API and ultimately
to the printer driver
For example, on win
I only know about printing from the tutorial and using it as a service. I want
to add to the print menu : Black and White to the picks already there of
Monochrome and Color. What is best way to do this.
[Message sent by forum member 'diverdad' (diverdad)]
http://forums.java.net/jive/thread.jsp