I'm trying to send data to the printer using API gdi32.dll. For example I want to send H1B + H40 (hexadecimal values of ESC @). What specific API (gdi32) command should I use? I've been using gdi32.dll API Reference to control my printer, so it's better if I use API gdi32 too. I know how to send data using WritePrinter winspool.drv, but I can't interface that command to the gdi32 API.
Thanks for any help I can get