Search code examples
c#.netprintingzebra-printers

pass the data to printer as a raw data


I am working with a zebra printer that is defined as default printer on my machine.

I want to pass to the zebra driver all the information as a raw information, tell the printer driver not to encode anything going to the printer, but to pass it along unchanged.

I want to use PrintDocument, is this possible?

Or would you suggest something else?


Solution

  • If you go to the "Advanced Setup" tab of the Zebra printer driver, you can "Enable Passthrough Mode". Then, just ensure that your stream starts with ${ and ends with }$ Then the driver will not do anything to the stuff inbetween the ${ }$