Printing using Win32Lib
- Posted by lpuster May 23, 2011
- 2455 views
I am converting an old program that used to print the DOS way. I changed it to use the Win32Lib printing functions. It works when I send plain text, but when I include PCL escape sequences to select fonts, set margins, position text, draw lines, etc. they get modified. It appears that the ESC character is being sent to the printer as a left pointing arrow and everything is overprinting on the first line.
Windows 7 SP1, Euphoria 3.1.1, Win32Lib 0.70.4a, HP LaserJet 4200