Merge and dedupe additional passthrough commands.
Set backfeed speed component (^PR). Rounded to an integer and clamped between 0 and 30.
Return the accumulated options object.
Set printer configuration save/reload (^JU).
Set darkness (^MD). Rounded to an integer and clamped between -30 and 30.
Set label home (^LH). Provide dots or preconverted values.
Convenience for ^LH0,0.
Set media tracking / sensor strategy (^MN).
Set print speed component (^PR). Rounded to an integer and clamped between 0 and 30.
Set print width (^PW). Provide dots or preconverted values.
Append a single raw command (trimmed; ignored if empty).
Reload factory defaults (^JUF).
Reload factory network defaults (^JUN).
Reload last saved settings (^JUR).
Save current settings (^JUS).
Set slew speed component (^PR). Rounded to an integer and clamped between 0 and 30.
Set tear-off adjustment (~TA). Provide dots or preconverted values; rounded and clamped between -120 and 120.
Emit the current configuration block as ZPL.
StaticcreateStart a new printer configuration builder (defaults to dots @ 203 dpi).
Fluent, immutable builder for printer configuration commands.
Remarks
Use this when you want a readable, chainable way to assemble ^MM/^MN/^PW/^PR/^MD/^LH/^JU without mutating state. You can pass dots directly or preconvert measurements with
inch()/mm(). The result can be consumed byZPLProgram.printerConfig(...)via.build(), or serialized on its own with.toZPL().