I alternately use 2 different label type and size, I have a zd421 Zebra Printer and when changing the labels it execute the media calibration automaticly to the rigth size of label, but it prints 3-5 blank label each time we change paper, is there any possibility to disable printing extra blank label during calibration? is it possible to disable the media calibration? I apreciate you could help me.
If your printer has a display, you can change this in the tools ("power up action" and "head close action") menu otherwise you can use the ^MF ZPL command.
Have a look here to see how you can set the automatic action when you close the printer lid and when you power on the printer and here you can see how to send the commands to the printer.
But in few words, if you want to disable the calibration at all, you've to send the following commands
^XA
^MFN,N
~JUS
^XZ
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:
attached image of the label physical the size is 4x2.6: Label not show "C O N"
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.
NOTE: If you are using the full with of the label and you don't know the physical size of the label or the printer dpi, you could set the PRINT WITH to something insanely large, it will automatically be truncated to the correct value. From the docs:
If the value exceeds the width of the label, the width is set to the
label’s maximum size
Hi I'm working with a Zebra printer GC420t.
I'm trying to print the same label two times:
the first time with vertical orientation.
the second time with horizontal orientation.
If I try to draw that labels on the "Labelary Online Zpl" (http://labelary.com/viewer.html) it seems to work well.
If I try to print the labels the vertical it print all the fields on the same line.
Some advices?
**Vertical**
^XA
^CFA,40
^FO50,100^FDTest1^FS
^FO50,250^FD100.00^FS
^FO50,400^BY2,0,80^BC^FD101.00^FS
^FO50,550^FDTest2^FS"
^XZ
**Horizontal**
^XA
^FWB
^CFA,40
^FO100,50^FDTest1^FS
^FO250,50^FD100.00^FS
^FO400,50^BY2,0,80^BC^FD101.00^FS
^FO550,50^FDTest2^FS"
^XZ
Maybe a sketchy solution, but try using the ^A command:
^XA
^CF,40
^FO100,50^AAB^FDTest1^FS
^FO250,50^AAB^FD100.00^FS
^FO400,50^AAB^BY2,0,80^BC^FD101.00^FS
^FO550,50^AAB^FDTest2^FS"
^XZ
Why it is sketchy? You have to set the font and the rotation for every ^FD.
*Edit, in my first answer I used font A in CF command and that is not neccessary.
I have the following ZPL code:
^XA^LH30,20^MD15^PW609
^FO0,20^AD^FD Pull Sample Post-Login^FS
^FO0,45^AD^FDStudy ID : ^FS
^FO0,70^AD^FDLIMS No : 3216665-TIME_FACT-STOR_COND^FS
^FO0,95^AD^FB590,2,,^FDMaterial Name : 2187- Abatacept (CTLA4g) for Injection 250mg/Vial^FS
^FO0,140^AD^FDBatch No : ^FS
^FO0,165^AD^FDTime Point : ^FS
^FO0,190^AD^FDStorage Conditions :^FS
^FO0,215^AD^FDRemoved By : ^FS
^FO0,240^AD^FDRemoval Date :
^FS^XZ
On a GX430T, the label width is 2x3 inch. It prints out field "Material Name:" fine by wrapping it to the 2nd line.
When try the same code in production, using ZM400 printer with a label width of (1x3 inch). It prints all the fields, except the Material Name field, you just see a blank line where the Material Name field should be.
I suspect that it's a issue with label width. How do I change the ZPL code that it takes into account the label width of the production ZM400 printer?
The combination of these three commands might mess things up.
^LH30,20
^PW609
^FB590,2,,
^PW609 is print width of the label.
^LH30,20 sets home position at 30
^FB590 would create a field block that exceeds the print width of the label (30+590=620, which is > 609)
So maybe when you tweak these a bit, it might print it correctly?
The media Im printing on is 40mm and the Zebra QLN220 is set to 48mm which means some of the text is cut off how do i adjust this?
Thanks
If you are printing using ZPL commands the code to add would be:
^xa^PW320^xz
The printhead is 8 dots per millimeter. The PW sets the print width in dots. 8*40 = 320
If you are using a driver, CPCL, or line mode you need to look up how to change the print width for those methods.