The Q command requires all three parameters when setting black line mode. The EPL docs have some errors in how this calculation is described. It should be
Qp1,Bp2+p3 or Qp1,Bp2-p3
where
- p1: Label length in dots. I slightly tweaked this value to align the printer.
- p2: Black mark length in dots. To vertically align the printed label I started setting this to 1.
- p3: Black mark vertical offset, positive or negative. To align the tear-off position I started setting this to +30 or so.
Currently the Q config sent to the printer incorrectly uses a huge value for the p2 and omits p3. This may be a parsing error or it may just be my misunderstanding of the confusing description.
Once I dialed in the tear-off position I modified p1 and used the R command to dial in the vertical print position, then the q command to dial in the horizontal print position. I was able to get the prints locked in this way.
The
Qcommand requires all three parameters when setting black line mode. The EPL docs have some errors in how this calculation is described. It should beQp1,Bp2+p3orQp1,Bp2-p3where
Currently the
Qconfig sent to the printer incorrectly uses a huge value for the p2 and omits p3. This may be a parsing error or it may just be my misunderstanding of the confusing description.Once I dialed in the tear-off position I modified p1 and used the
Rcommand to dial in the vertical print position, then theqcommand to dial in the horizontal print position. I was able to get the prints locked in this way.Qimplementation to send correct values based on intended config.