Search code examples
c#zebra-printers

How to switch the orientation of the Card when printing?


I am using the Zebra Technologies - Card ID Printing – Zebra Card SDK for ZXP Series 3 Printers – C# sample code. I am having trouble setting the Orientation of the card being printed to Portrait. I set the orientation to be portrait in the Printer Preferences for the printer and clicked Print Test Page and a test card came out correctly in portrait orientation. However, when I print a card from the sample application code from the link above it only prints the card in Landscape orientation. I even dived into the code, there is nothing that even uses or sets the orientation of the card anywhere. The only thing I see is in the ZBRUtil.cs it has a enum called Orientation that is never even set or used throughout the entire solution.

enter image description here

Any advice? I am thinking maybe I need to actually take a look in the ZBRGraphics.dll / ZBRPrinter.dll 's next (if it will even let me open them)


Solution

  • You can't.

    Via - Zebra Support Staff