Print Method setting options in bar code and how it's working with Zebra printer

Created by Gabor Szeles, Modified on Tue, 12 Jul, 2022 at 9:23 AM by Gabor Szeles

In BarTender Designer when creating 

There are three options for Print Method on Symbology and Size of a barcode.



The default value is the third option. The most controlled but the slowest is Option 2.


How does it work with Zebra printers?


There are different ZPL codes when the labels are in one or multiple columns.


Option 1 - Controlled by the printer (fastest)


Labels are in one column:


^XA

^FO48,25

^BY4^BCN,136,Y,N^SN>;520001,1,Y^FS

^PQ900,0,9,Y

^XZ


When labels are in multiple columns, BarTender creates a ZPL label template with variables and store it in printer's RAM (three columns):


^XA

^DFR:SSFMT000.ZPL^FS

^FO48,25

^BY4^BCN,136,Y,N^FN1^FS

^FO460,25

^BCN,136,Y,N^FN2^FS

^FO873,25

^BCN,136,Y,N^FN3^FS

^XZ


Then send for each label a print command and recall the label format (here we print three labels):


^XA

^XFR:SSFMT000.ZPL^FS

^FN1^FD>;520001^FS

^FN2^FD>;520001^FS

^FN3^FD>;520001^FS

^PQ3,0,3,Y

^XZ

^XA

^XFR:SSFMT000.ZPL^FS

^FN1^FD>;520002^FS

^FN2^FD>;520002^FS

^FN3^FD>;520002^FS

^PQ3,0,3,Y

^XZ

^XA

^XFR:SSFMT000.ZPL^FS

^FN1^FD>;520003^FS

^FN2^FD>;520003^FS

^FN3^FD>;520003^FS

^PQ3,0,3,Y

^XZ


Finally deletes the previously downloaded label format:


^XA

^IDR:SSFMT000.ZPL^XZ


Option 2 - Controlled by BarTender (most controlled, but slowest)


Same ZPL commands if the labels are in one column or multiple columns. The difference is, that the graphic for multiple columns is downloaded in one graphic file for one set of labels (copies). BarTender downloads the ZPL code page by page (page is defined in BarTender) for immediate printing, each bar code as a graphic image. After each page the graphic file is deleted:


~DGR:SSGFX000.GRF,4624,34,:Z64:eJztykEJADAQA8FzcP5dxkFaqIsy5LEQpjvNppl089Z7dWdzm5YgCIIgCIIgCIIgCIL4SByplf2P:6F57

^XA

^FT100,208

^CI28

^A@N,51,51,TT0003M_^FD520001^FS

^FO48,25

^XGR:SSGFX000.GRF,1,1^FS

^PQ9,0,9,Y

^XZ

^XA

^IDR:SSGFX000.GRF^XZ

~DGR:SSGFX000.GRF,4624,34,:Z64:eJztykENwEAAAsFzgH+XOKDt40w0Ez6bMMtZ0/V06d26JX2vLwiCIAiCIAiCIAiCIIj/iAehioUW:BEB8

^XA

^FT100,208

^A@N,51,51,TT0003M_^FD520002^FS

^FO48,25

^XGR:SSGFX000.GRF,1,1^FS

^PQ9,0,9,Y

^XZ

^XA

^IDR:SSGFX000.GRF^XZ

~DGR:SSGFX000.GRF,4624,34,:Z64:eJztykEJAFEMQ8E6qH+XcZDt2vgMhEcO051m00y6d3Yukz+3Ji1BEARBEARBEARBEATxkPgAbcRmJw==:011E

^XA

^FT100,208

^A@N,51,51,TT0003M_^FD520003^FS

^FO48,25

^XGR:SSGFX000.GRF,1,1^FS

^PQ9,0,9,Y

^XZ

^XA

^IDR:SSGFX000.GRF^XZ


Option 3 - Barcodes controlled by the printer and text controlled by BarTender


When labels are in one column, BarTender sends this short ZPL code for all labels. In ^PQ command ZPL defines the quantity of the labels and the replicates (same serial number). In ^SN command is defined that it's serial number and the start value.


^XA

^FO48,25

^BY4^BCN,136,N,N^SN>;520001,1,Y^FS

^FT100,208

^CI28

^A@N,51,51,TT0003M_^SN520001,1,Y^FS

^PQ900,0,9,Y

^XZ


When labels are in multiple columns, BarTender downloads a label template and recalls it when printing (one row, three columns). In ^PQ commands quantity is three (three rows of labels) and replicate is three, nine labels with the same serial number.


^XA

^DFR:SSFMT000.ZPL^FS

^FO48,25

^BY4^BCN,136,N,N^FN1^FS

^FT100,208

^CI28

^A@N,51,51,TT0003M_^FN2^FS

^FO460,25

^BCN,136,N,N^FN3^FS

^FT512,208

^A@N,51,51,TT0003M_^FN4^FS

^FO873,25

^BCN,136,N,N^FN5^FS

^FT925,208

^A@N,51,51,TT0003M_^FN6^FS

^XZ

^XA

^XFR:SSFMT000.ZPL^FS

^FN1^FD>;520001^FS

^FN2^FD520001^FS

^FN3^FD>;520001^FS

^FN4^FD520001^FS

^FN5^FD>;520001^FS

^FN6^FD520001^FS

^PQ3,0,3,Y

^XZ

^XA

^XFR:SSFMT000.ZPL^FS

^FN1^FD>;520002^FS

^FN2^FD520002^FS

^FN3^FD>;520002^FS

^FN4^FD520002^FS

^FN5^FD>;520002^FS

^FN6^FD520002^FS

^PQ3,0,3,Y

^XZ

^XA

^XFR:SSFMT000.ZPL^FS

^FN1^FD>;520003^FS

^FN2^FD520003^FS

^FN3^FD>;520003^FS

^FN4^FD520003^FS

^FN5^FD>;520003^FS

^FN6^FD520003^FS

^PQ3,0,3,Y

^XZ


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article