I know this is probably a long shot and I won't get any responses, but I'm going to ask anyways because I'm going out of my mind here. I have a C# application that prints labels out to a Zebra TLP 2844-Z thermal printer (well, it's supposed to anyways). The program does a PrintDocument.Print() to the default printer (the Zebra). In fact, it's practically stock code from Microsoft for printing. The problem is that the printer flat out ignores this. I have troubleshot the following:
- Opened the Windows printer queue, and actually watched the job show up and disappear as if everything is OK
- Set the printer to debug communications mode and actually see the raw data hit the printer
- Completely blown away a machine, attached the printer (LPT1), loaded XP, put a fresh copy of the Zebra driver, same result
What is absolutely worst is that any other program in Windows prints to it just fine on three different machines... Word, Notepad, Excel, Internet Explorer. The one thing I did read about was that the driver supposedly converts everything to Zebra's "ZPL" language. When Windows applications print, I see the ^XA (start printing) and ^XZ (stop printing) in the debug output of the printer. However, when I print from C#, I never see the commands. How this is even possible considering I'm using the exact same driver are beyond me.
p.s. I have read online about people writing directly to Zebra printers using this Microsoft article. That should not be necessary when using the Zebra Windows print driver. It is also a complete PITA when on one label you have 3+ different fonts, graphics, and two or more paragraphs of text.
I guess what I'm asking if anyone here has had experience with these printers and the .Net framework, and if so what advice you may have?
- Opened the Windows printer queue, and actually watched the job show up and disappear as if everything is OK
- Set the printer to debug communications mode and actually see the raw data hit the printer
- Completely blown away a machine, attached the printer (LPT1), loaded XP, put a fresh copy of the Zebra driver, same result
What is absolutely worst is that any other program in Windows prints to it just fine on three different machines... Word, Notepad, Excel, Internet Explorer. The one thing I did read about was that the driver supposedly converts everything to Zebra's "ZPL" language. When Windows applications print, I see the ^XA (start printing) and ^XZ (stop printing) in the debug output of the printer. However, when I print from C#, I never see the commands. How this is even possible considering I'm using the exact same driver are beyond me.
p.s. I have read online about people writing directly to Zebra printers using this Microsoft article. That should not be necessary when using the Zebra Windows print driver. It is also a complete PITA when on one label you have 3+ different fonts, graphics, and two or more paragraphs of text.
I guess what I'm asking if anyone here has had experience with these printers and the .Net framework, and if so what advice you may have?