How to change default orientation for ZQ520

// Expert user has replied.
A Adil Akram 3 years 6 months ago
92 1 0

I'm printing with Android app to ZQ520 printer.
 
It's printing upside down, how can I change default setting for this.

Please Register or Login to post a reply

1 Replies

G Gregory Pawlik

Hi Adil,

Does your app use the Link-OS™ Multiplatform SDK | Zebra ?

If so, it is probably creating an instance of a ZPL printer rather than  CPCL printer since the ZQ520 is considered a ZPL printer.
In ZPL, the label prints in the opposite direction that CPCL would.

To fix the orientation, you can either create an instance of a CPCL printer by specifying CPCL as the PrinterLanguage of your ZebraPrinter instance.

Or you can simply write the following ZPL command to the connection before calling your printImage function:
"^XA^POI^XZ"

Greg

CONTACT
Can’t find what you’re looking for?