Setting the label length using the EPL2 Q Command

Article ID: 61915643



Topic or Information

Setting the Label Length with the EPL2 Q Command

Applies To

EPL2 Compatible Printers


The EPL2 upper case "Q" command is used set the label length, gap length, or mark length. The gap or mark length need to be specified in order for the labels to calibrate.  The command is case sensitive.

  • If gapped labels are being used,  the p2 parameter of the Q command ( Qp1,p2(+/-)p3 ) needs to be specified.    An example would be Q406,24. A label length of 2 inched with a gap length of 24 dots has been set on a 203dpi printer.
  • If marked labels are being used, the B parameter of the Q command Q203,B24+12 ) needs to be specified.   An example would be Q203,B24.  A mark length of 24 dots has been sent.
  • If continuous labels are being used ( no gaps or no marks ) then 00 is an acceptable value for the p2 and B parameters of the EPL Q command. i.e Q00

On a printer with a 203dpi print head 1 inch = 203 dots. i.e. 4 inches = q812.  On a printer with a 300dpi print head 1 inch = 300 dots. i.e. 4 inches = q1200. 

Details on the EPL2 "Q" Command

EPL Q Command usage examples. Read More>>

Additional Information

Viewing the printer's configuration Read More>>

EPL2 Programming Guide Read More>>

+ Product Codes

  • 2824 Plus Series
  • 2824-Z Series
  • All Surface RFID Label Solution
  • Desktop Printers
  • G-Series GC Desktop Printers
  • G-Series GK Desktop Printers
  • G-Series GX Desktop Printers
  • GC420d Desktop Printer
  • GC420t Desktop Printer
  • GK420 Healthcare Desktop Printers
  • GK420d Desktop Printer
  • GK420d Healthcare Desktop Printer
  • GK420t Desktop Printer
  • GK420t Healthcare Desktop Printer
  • GT800 Desktop Printer
  • GX420Rx Desktop Printer
  • GX420d Desktop Printer
  • GX420t Desktop Printer
  • GX430d Desktop Printer
  • GX430t Desktop Printer
  • LP 2824 Plus Desktop Printer
  • TLP 2824Plus Desktop Printer
  • ZD410 Series
  • ZD410D
  • ZD420 Series
  • ZD420-HC
  • ZD420C
  • ZD500 Desktop Printer
  • ZD500 Desktop Printer
  • ZD500R RFID Printers
  • ZD500R RFID Printers
  • ZT200 Series Industrial Printers
  • ZT210 Industrial Printer
  • ZT220 Industrial Printer
  • ZT230 Industrial Printer
  • ZT400 Series Industrial Printers
  • ZT400 Series RFID Printers
  • ZT410 Industrial Printer
  • ZT410 RFID Industrial Printer
  • ZT420 Industrial Printer
  • ZT420 RFID Industrial Printer