|
Levent,
Opening LPT1 does work but, unfortunately, my printer is on a USB port which, as you say, does not work. Thanks for the advice. I checked out the JavaUSB and it is not only very complex for what I need but it also does not support Windows yet, Linux only.
I think I have done enough experimenting now to be convinced that the Java paint methods all convert the non-displayable characters into something else, a small empty box, it looks like. After sending the test yesterday, I modified another sample program that prints the contents of a file and bypasses any screen display. With that, I still get the same result. It does use the drawString method to display characters. Isn't there some way I can pass a non-displayable character through the Printable interface? That just seems like such a basic and simple thing, I can't imagine that it is not possible.
Bayless
|