Writing Graphics to a Printer using ESC/P2 with VB
Posted on 2004-04-22
I need to draw bitmap graphics to an Epson printer over the parallel port *without* using the Printer object or the EndPage/EndDoc commands.
Right now, I can print text using:
Open "LPT1" for Output as #1
Print #1, chr(2) & chr(27) & "escape code here" & chr(3)
Print #1, "text to print"
But what I really need to do is draw a bitmap with a similar method. Can anyone help with this issue?