how to send escape sequence to printer?

Hi,

I am able to print text and image using PrintJob,

But when I send escape sequence to the printer (

Graphics.drawString() ) it is printed out instead of being recognized as a command.

What can I do?

How can I send escape sequence to printer?

Thanks a lot

[307 byte] By [yaxinwang] at [2007-9-26 6:25:32]
# 1
I dont believe there is a way around this. In order to do so you would have to write your own print driver and possibly your own communication layer to talk to a parallel port printer.I assume you are attempting to send PCL or PS directly to the printer.
ericew at 2007-7-1 15:28:50 > top of Java-index,Security,Cryptography...