I have script code for zebra TLP2844 printer in a text file. I need to print that script file to a printer connected via USB. I executed that script using parallel port by using DOS command:
/c type filename.txt >PRN
But the printer is coonnected to USB. How to send printing commands to usb? Should I use the printdocument class?
Microsoft has this sample code available to use:
How to send raw data to a printer by using Visual C# .NET
Includes bug fix from Nicholas Piasecki