21 of 25 commands supported in the playground 84%

System Commands

<STX>LSupported
Start Label Format

Begins a label formatting block. All label commands and format records must appear between <STX>L and the terminating E command. Think of it as opening a new document — everything you draw goes inside this block.

<STX>cSupported
Set Continuous Paper Length

Sets the label length in dots for continuous media. This tells the printer how far to feed between labels when no gap or mark sensor is used. At 203 DPI, 203 dots equals roughly 1 inch.

<STX>mSupported
Set Metric Mode

Switches the printer to metric mode. Subsequent dimension commands that accept units will interpret values in millimetres rather than inches.

<STX>nSupported
Set Imperial Mode

Switches the printer to imperial mode. Subsequent dimension commands will interpret values in inches. This is the default mode on most Datamax printers.

<STX>ESupported
Print Stored Label Quantity

Prints the specified number of copies of the last stored label format. This lets you reprint without resending the entire label data.

<STX>GSupported
Print Last Label

Reprints the last label that was sent to the printer. A quick way to get another copy without resending data.

<STX>FSupported
Form Feed

Advances the media to the next label position without printing. The printer uses gap or mark detection to find the next label boundary.

<STX>SSupported
Set Print Speed

Sets the print speed. The value is a single character representing the speed level: A (slowest) through F or higher depending on the printer model. Slower speeds generally produce better print quality.

<STX>ZUnsupported
Print Configuration Label

Prints a configuration label showing the current printer settings, firmware version, memory status, and other diagnostic information.

Label Commands

DSupported
Set Dot Size

Sets the width and height multiplier for the dot size of subsequent format records. D11 is the default (1x1). D22 doubles both dimensions. This affects all format records that follow until changed.

HSupported
Set Heat (Darkness)

Sets the printhead heat level (darkness/density). Values range from 00 to 30, where higher values produce darker output. Start around 07-10 and adjust based on print quality and barcode scan results.

PSupported
Set Print Speed (Label)

Sets the print speed within a label block. This overrides the system-level speed setting for the current label. Values are single characters from A to F.

QSupported
Set Quantity

Sets the number of copies to print for the current label. The value is a 4-digit zero-padded number. Q0001 prints one copy; Q0100 prints one hundred.

CSupported
Set Column Offset

Sets a horizontal (column) offset in dots for the entire label. All format record column positions are shifted by this amount. Use it to adjust horizontal alignment without changing every format record.

RSupported
Set Row Offset

Sets a vertical (row) offset in dots for the entire label. All format record row positions are shifted by this amount. Use it to adjust vertical alignment without changing every format record.

MUnsupported
Set Mirror Mode

Sets the mirror mode for the label. M0 disables mirroring (default), M1 enables horizontal mirroring. Used when labels are applied to the inside of transparent packaging and read from the outside.

ESupported
End Label / Print

Ends the label formatting block and triggers printing. This is the closing counterpart to <STX>L. When the printer encounters E, it prints the label using the quantity set by Q and exits label mode.

Text

Barcodes

Graphics

Configuration

Try these commands live

The DPL Playground lets you write DPL and see labels render in real time — with syntax highlighting, autocomplete, and the full command reference built in.