How to align text with non-continuous label on Zebra Printer (ZPL)? - printing

I am trying to print the following text onto a label using a Zebra Printer:
Best Buy Date
00/00/00
SomeProductName
However the printer doesn't seem to detect the gap between the labels as it should when using MNW (Media Tracking, Web). It prints as if it is continuous and the text is scattered all over the labels/gaps. The labels are 1.25x1 inch labels.
Here is my ZP:
^XA
^MNW
^MMT
^FX Example of comment
^CFA,30
^FS
^FO0,30
^FDBest By Date
^FS)
^FS
^FO0,60
^FD11/23/2016
^FS)
^FS
^FO0,90
^FD
Clams
^FS)
^CFA,30
^XZ
I've looked over the documentation here: https://www.zebra.com/content/dam/zebra/manuals/en-us/software/zpl-zbi2-pm-en.pdf
but couldn't identify what I was doing wrong. Any help is appreciated!

Maybe you can focus just on notch settings for printer.
I don't have experience with zebra printers, but I had a printer with notch settings. Try to type notch in zebra documentation and ^LL command.
Hope this helps a bit,
best regards

Related

printer zebra calibration Issue

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

ZPL language - cannot rotate label

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.

Hebrew or Arabic typesetting problem in Indesign

I want to know how the right-to-left language of the Middle East language is set in Indesign.
As Below
enter image description here
If I use spaces between numbers and characters, the numbers will be ranked elsewhere
So I used 'i' replacing space,Then set i to colorless,but i konw that not a good idea,if there have a Arabic friends,Can you tell me the correct way?
Adobe products like InDesign and Illustrator, and I believe even Photoshop have an option to be installed with a different regional settings.
See here.
Then you would have access to what is called "World Ready Paragraph Composer" under Type menu and in the Paragraph Panel which is what is controlling the right-to-left paragraph direction.

ZPL code printing differently in 2 printers

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?

Creating ZPL template for Zebra Printer ZP450ctp

This is the first time I've worked with ZPL code. I'm printing on a 200dpi ZP450ctp printer onto labels that are 2inx1in. The .zpl below is way to big but I thought I had it set right. Is anyone familiar with the .zpl language?
^XA~TA000~JSN^LT0^MNW^MTT^PON^PMN^LH0,0^JMA^PR2,2~SD15^JUS^LRN^CI0^XZ
^XA
^MMT
^PW1200
^LL0600
^LS0
^FT131,350^A0N,333,331^FH\^FDA12345^FS
^BY4,3,70^FT717,533^BCN,,Y,N
^FD>:A>51234>65^FS
^FT138,539^A0N,58,57^FH\^FDThis is a description^FS
^PQ1,0,1,Y^XZ
To start with your print width would then be 400 and label length would be 100. If you are using web based media you do not need to have these in your ZPL (remove the ^PW and ^LL).
Then you need to set the values right. Character height and with in your ^A0 command would make each character 1.5 inches.
^XA
^MMT
^FO10,10^A0N,80,80^FH\^FDA12345^FS
^BY4,3,50^FO10,130^BCN,,Y,N
^FD>:A>51234>65^FS
^FO10,95^A0N,30,30^FH\^FDThis is a description^FS
^XZ
Try the above it should get you closer to what you need. You want to adjust the ^FO commands to adjust the location of the objects, and adjust the pair of numbers after the ^AON, to adjust the font size.

Resources