EPL Commands

Q

139

Q

Set Form Length

Description Use this command to set the form and gap length or black line thickness when using the transmissive (gap) sensor, black line sensor, or for setting the printer into the continuous media print mode.

The Q command will cause the printer to recalculate and reformat image buffer.

Syntax Qp1,p2,[±p3]

Parameters This table identifies the parameters for this format:

Parameters

Details

 

 

 

p1

= Label length

Default Value: Set by the AutoSense of media

 

measured in dots

Accepted Values: 0-65535

 

 

Distance between edges of the label or black line marks.

 

 

For continuous mode, the p1 parameter sets the feed

 

 

distance between the end of one form and beginning of the

 

 

next.

 

 

 

p2

= Gap length or

Accepted Values:

 

thickness of black

16-240 (dots) for 203 dpi printers

 

line

18-240 (dots) for 300dpi printers

 

 

 

 

Gap Mode

 

 

By default, the printer is in Gap mode and parameters are set

 

 

with the media AutoSense.

 

 

Black Line Mode

 

 

Set p2 to B plus black line thickness in dots. See the Gap

 

 

mode range.

 

 

Continuous Media Mode

 

 

Set p2 to 0 (zero)The transmissive (gap) sensor will beused to

 

 

detect the end of media.

 

 

 

p3

= Offset length

Required for black line mode operation.

 

measured in dots

Optional for Gap detect or continuous media modes. Use only

 

 

positive offset values.

 

 

 

AutoSense routine does not detect black line or continuous media.

All EPL2 printers have a transmissive (gap) sensor designed to detect the top of each label or tag. It does this in one of two ways:

Sensing through the label liner at the gap between labels.

Looking through a hole (notch) in the tag.

Printers equipped with a black line sensor can determine the top of each label or tag by sensing a “black line” preprinted on the media backing.

12/16/13

EPL Programming Guide

14245L-003 Rev. A

Page 139
Image 139
Zebra Technologies 14245L-003 manual Set Form Length, 139, Syntax Qp1,p2,±p3