I have to short ZPL codes
1st:
^XA
^FX 200dpi
^FWR
^~JSB
^CF0,100
^FO190,125^FDxxxxxx%s^FS
^FO90,250^FD%s^FS
^CF0,90
^FO00,250^FDPU%s^FS
^XZ
This part is working fine
2nd
^XA
^FX 200dpi
^FWR
^~JSB
^CF0,100
^FO40,125
^FB700,3,0,C
^FD XxxxxxxxxxXX\& XXXX\& XXXXX\&
^FS
^XZ
This second doesn´t start to print. In ZPL viewer it´s looking fine.
I see no different. But i need the second one because of centering text
2 Replies
Hello Steffen,
What is a model of your printer? There two causes of issue possible:1) You are using incorrect ^~JSB command that should be ~JSB indeed.2) Your label is rotated 90 degree so you may have not enough label length setting to print label with long field values.
Using a following code I was able to print a label on attached photo:
^XA^LL800^FX 200dpi^FWR~JSB^CF0,100^FO40,125^FB700,3,0,C^FD XxxxxxxxxxXX\& XXXX\& XXXXX\&^FS ^XZ
Dmitry Prokhorov
Software Engineer, Kutir Mobility
Posted on behalf of Zebra Technologies
Yes, i pointed out the wrong JSB, too. Strange that one is working and one not.
I´m using for this label a ZT210.
Dimensions of label are 40mmx120mm
Greets
Steffen