WebZLP icon indicating copy to clipboard operation
WebZLP copied to clipboard

EPL config update doesn't set black mark mode correctly

Open Cellivar opened this issue 3 months ago • 0 comments

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.

  • [ ] Test and confirm individual effects of p1, p2, and p3 on printer dynamics. Actual implications of these values was confusing.
  • [ ] Fix Q implementation to send correct values based on intended config.
  • [ ] Add additional parameters to demo config UI.

Cellivar avatar Sep 11 '25 01:09 Cellivar