Plain English

Remaps the printer's front-panel KEY1 to a chosen action (TSPL2 PG §SET KEY1 p136–137). Useful for tuning printer behaviour to a specific deployment — e.g. mapping KEY1 to PAUSE for an interactive workflow, or to CALIBRATION for a maintenance role. Persistent across power cycles.

When to use

Once per printer at provisioning — adjust the front-panel UX to match the deployment.

Syntax

SET KEY1 <action>

Parameters

ParameterDescription
action
Action enum (case-insensitive). Available actions per PG p136–137.
  • OFF - KEY1 does nothing
  • MENU - Open the front-panel menu
  • PAUSE - Pause / resume the current print job
  • FEED - Feed one label
  • CALIBRATION - Run sensor calibration
  • BATCH - Reprint the last batch

Example

SET KEY1 PAUSE

Map the front-panel KEY1 to pause/resume the current job

Try it in the playground View all TSPL commands