SHIFT - Vertical Label Shift
Plain English
Shifts the entire imaged label vertically by `n` dots (positive or negative). Used to align with pre-printed stock, correct registration drift, or fine-tune the print position without re-issuing every coordinate. TSPL2 PG §SHIFT p15–16: range is ±203 dots on 200 DPI printers, ±300 on 300 DPI printers (max 1 inch absolute). A positive value moves the label further from the printing direction; negative moves it toward.
When to use
When the printed image needs a small vertical nudge — typically after measuring registration on a test print and noticing the image is consistently a few dots off-target.
Syntax
SHIFT n
Parameters
| Parameter | Description |
|---|---|
n | Vertical shift in dots (negative or positive). Range ±203 for 200 DPI, ±300 for 300 DPI; max ±1 inch. |
Example
SIZE 100 mm, 50 mm SHIFT 12 CLS TEXT 50,30,"3",0,1,1,"Shifted down by 12 dots" PRINT 1
Shift the entire label image 12 dots further from the printing direction