Link to home
Start Free TrialLog in
Avatar of phoensvx
phoensvx

asked on

Writing Graphics to a Printer using ESC/P2 with VB

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"

Close #1

But what I really need to do is draw a bitmap with a similar method. Can anyone help with this issue?
ASKER CERTIFIED SOLUTION
Avatar of cookre
cookre
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial