Datamax-O'Neil Workstation series Programmer’s Guide User Manual

Page 35

Advertising
background image

Programmer’s Guide | 1

29

Thermal Printer Programmer’s Guide

The syntax of the command is as follows:

<ESC>%-12345X@PJL JOB NAME = "JOB_NAME" <LF>
@PJL PERFORM PARAMETER [= value] <LF>
@PJL EOJ <LF>

The value is optional as noted below:

Table 12: PJL PERFORM Command

Parameter

Description

Value

Notes

DOTCHECK

Performs a dotcheck
diagnostic on the print
head

Number of dots to
check. 0 for all

EMPTYCAL

Performs empty
calibration.

N/A

Media should be
removed prior to issue

ABORTALL

Abort all current functions

N/A

CAL

Performs paper calibration Distance in dots to

move

Media should be
loaded prior to issue

FEED

Feeds media to next Top-
of-Form

N/A

STOP

Pause engine

N/A

HEADCLEAN

Performs head clean

N/A

Must be in head clean
mode (See below)

RESUME

Un-pauses engine

N/A

MOVE

Moves media a certain
distance

Distance in dots to
move

CUT

Engage cutter

Number of cut cycles

RIBBONFRONT

Performs test of front
(take-up) ribbon spindle
assembly

N/A

Must be in self test
mode (See below)

RIBBONBACK

Performs test of back
(supply) ribbon spindle
assembly

N/A

Must be in self test
mode (See below)

REWIND

Performs test of rewinder
assembly

N/A

Must be in self test
mode (See below)

SELFTEST

Initialize self-test mode

0 for disable, 1 for
enable, 2 for reset
counters

HEADCLEANMODE

Initialize head clean mode 0 for disable, 1 for

enable

GPIOSELFTEST

Performs GPIO wrap test

N/A

GPIOWRITE

Test of GPIO input pins

Integer representing
on/off state of output
pins

Must be in self test
mode (See below)

Advertising
This manual is related to the following products: