SET - Printer Configuration Dispatcher
Plain English
Generic printer-configuration dispatcher (TSPL2 PG §SET p132–148). The first word after SET picks the setting being changed. Engine-recognised sub-actions cover the full PG-documented set except GAP, which requires lexer-mode disambiguation (tracked separately). All SET settings are persistent across power cycles unless the sub-page says otherwise (RIBBON is non-persistent). Engine-recognised but not rendered — labels with SET configure the printer hardware rather than producing label content.
When to use
For advanced printer configuration — cutter control, tear-off settings, peel-off mode, ribbon/head sensor mode, counters, front-panel key remap, network/host config. Best placed once at the top of a label setup script; settings persist until changed.
Syntax
SET <sub-action> <args>
Parameters
| Parameter | Description |
|---|---|
sub-action | The printer setting to configure (case-insensitive).
|
args | Sub-action-specific arguments — see the individual SET <sub-action> entries |
Example
SET CUTTER ON SET PEEL OFF SET TEAR ON
Enable the automatic cutter, disable peel-off mode, enable tear-off