It would be nice to have your label file to check it. Has your printer been configured to use ZPL language?
Software Engineer, Kutir Mobility
Posted on behalf of Zebra Technologies
It looks like you are expecting two lables on the same row, i.e. each sticker is a label. We can achieve that with ZPL and QLn320 printer. Please keep in mind that the printer itself doesn't know many stickers per row. When we use the ZPL to design the label for each sticker, we need to treat two labels (for two stickers) on the same row as if they are one label (or as if they are one sticker). Then the results would be two labels on two stickers per row. Hope this helps.
Thank you Steven, Evgeniy Ananev and Dmitry Prokhorov for the reply.
Hi Steven ,
We have been struggling to achieve for the last 3-4 days to design correct zpl for the below mentioned label and also just print on the left hand side sticker and use right hand side only when we send print next time.
and also just print on the left hand side sticker and use right hand side only when we send print next time.
This cannot be achieved. As mentioned before, we have to treat two stickers as one label. This is because the thermal printers do not have the rewind. Once a label feeds out, it cannot go back to the printer. To get two labels on one row, the two labels have to be printed out together. In other words, the ZPL for the two labels has to be in one ^XA and ^XZ pair. Hope this helps.
^FO25,25^BY1,3.0^B3N,,200,N^FD 90360987345 ^FS
^FO25,270^FD100 Main Street^FS
^FO525,25^BY1,3.0^B3N,,200,N^FD 90360987345 ^FS
^FO525,270^FD100 Main Street^FS
Online ZPL Viewer http://labelary.com/viewer.html
Hi Steven ,
Thank you for your reply and help on this. We have around more than 2000 QLN320 printers in stores and if we will have to use two stickers for single label so much of paper gets wasted as we do lot of printing in stores. Is there any workaround to achieve this. Is there any way we can put custom code instead zpl to consider only one sticker in a row for single label . Request you to advise on this.
The only workaround is inside the applicaiton. If there is only one label to print, the application could hold off the label print until it receives the 2nd label print request. Then the applicaiton can combine the two labels into one ZPL and sends that ZPL off to the printer to have one print on two stickers in a row. It's kind of the "label concatenation" by the application. Below is an example ZPL of making one label look like two labels.
^XA ^FO0,35^GB275,300,2^FS ^FO280,35^GB275,300,2^FS ^FO20,100^ADN,18,10^FDLabel One^FS ^FO300,100^ADN,18,10^FDLabel Two^FS ^XZ
We are using the below mentioned ZPL code but it it is leaving 8 labels empty and printing 9th label . Could you please help us on this.
Make sure that the printer's media.type is set to Label and the media.sense_mode is set to Gap or Bar according to the media. After all, please make sure do a ~JC to calibrate the media before printing.