Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
346 views
in Technique[技术] by (71.8m points)

javascript - Zebra Label zpl not showing completely in physical but yes virtual print

Hello I am trying to print a zpl label, it works virtually fine for me but they have sent me physical tests of the label from the printer and it does not print 3 letters that are to the right. Attached image.

any suggestions?

Code Label ZPL:

"^XA^DFR:FOR_ALV.ZPL^FS
^PRC
^LH0,0^FS
^LL504
^MD8
^MMT
^MNY
^LH0,0^FS
^FO48,8^A0N,56,49^CI13^FR^FN17^FS
^FO160,8^A0N,56,49^CI13^FR^FN1^FS
^FO480,8^A0N,75,49^CI13^FR^FN16^FS
^FO48,63^A0N,56,49^CI13^FR^FN10^FS
^FO350,63^A0N,56,49^CI13^FR^FN15^FS
^FO550,83^A0N,32,41^CI13^FR^FN8^FS
^FO48,130^A0N,24,36^CI13^FR^FN2^FS
^FO48,155^A0N,24,36^CI13^FR^FN3^FS
^FO48,180^A0N,24,36^CI13^FR^FN4^FS
^FO48,205^A0N,24,36^CI13^FR^FN5^FS
^FO48,230^A0N,32,36^CI13^FR^FN6^FS
^FO48,260^A0N,32,25^CI13^FR^FN9^FS
^FO178,260^A0N,32,25^CI13^FR^FN7^FS
^FO290,260^A0N,24,36^CI13^FR^FN12^FS
^FO400,260^A0N,32,41^CI13^FR^FN14^FS
^FO500,260^A0N,32,41^CI13^FR^FN13^FS
^FO030,305^A0N,29,36^CI13^FR^FDBUSINESSS.A. C.V.^FS
^FO030,335^A0N,29,36^CI13^FR^FDNAME OTHER^FS
^FO030,360^A0N,33,36^CI13^FR^FDwww.webpage.com.^FS
^FO030,390^A0N,33,36^CI13^FR^FN18^FS
^FO585,205^A0N,70,130^CI13^FR^FN19^FS
^FO595,305^A0N,70,130^CI13^FR^FN20^FS
^FO585,405^A0N,70,130^CI13^FR^FN21^FS
^BY5,3.0^FO030,424^BCN,72,N,Y,N^FR^FN11^FS
^XZ
^XA^XFR:FOR_ALV.ZPL^FS
^FN1^FDCOUNTRY^FS
^FN2^FDDESTINYL^FS
^FN3^FDSTREETII   #Ext 17804^FS
^FN4^FDVISTAS DEL MAR ^FS
^FN5^FDSTATE, COUNTRY^FS
^FN6^FD1 CARRO 2^FS
^FN7^FD09:59^FS
^FN8^FD^FS
^FN9^FD04/01/21^FS
^FN10^FDY19561^FS
^FN11^FD>:Y19561^FS
^FN12^FD108.3^FS
^FN13^FDDE 1^FS
^FN14^SN001,1,N^FS
^FN15^FD0^FS
0^FS
^FN17^FDCON^FS
^FN18^FDTEL ^FS
^FN19^FDC^FS
^FN20^FDO^FS
^FN21^FDN^FS
^PQ1,0,0,N
^XZ
"

attached image of the label virtula, the size is 4 x 2 .6:

enter image description here

attached image of the label physical the size is 4x2.6: Label not show "C O N" enter image description here

question from:https://stackoverflow.com/questions/65929466/zebra-label-zpl-not-showing-completely-in-physical-but-yes-virtual-print

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

This usually occurs when the print width is configured to be less than the physical label width. Use the ^PW command to set the width. For a 4" label at 203dpi, for example, add ^PW812 to the top of your label format, right after the ^PRC.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...