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

Programmer’s Guide | 1
31
Thermal Printer Programmer’s Guide
@PJL PERFORM HEADCLEANMODE = 0
@PJL EOJ
PJL Cutter, Rewinder, and Ribbon Assembly Self-Test Commands
Prior to performing self test procedures for options, the self test mode must be entered
as the following:
@PJL PERFORM SELFTEST = 1
@PJL EOJ
For rewinder or ribbon assembly tests the media should be detached from the
mechanism. To perform the rewinder test, issue the following:
@PJL PERFORM REWIND
@PJL EOJ
Ribbon front and back assemblies can be tested using the PERFORM RIBBONFRONT
or RIBBONBACK commands, respectively.
For testing the cutter, insert a value for the number of cuts as seen below.
@PJL PERFORM CUT = n
@PJL EOJ
“n” is the number of cut cycles to perform.
View test results by using the PJL INFO SYSTEMSTATUS read-back command. The
value LASTLBLCNT is the total cycles requested and ERRORCOUNT is the number that
failed.
The PERFORM ABORTALL command is used to cancel ongoing tests. To re-test and
clear counters issue PERFORM SELFTEST = 2
When the self tests are complete the command below can be used to disable the self test
mode:
@PJL PERFORM SELFTEST = 0
@PJL EOJ
PJL GPIO Self Test
Prior to performing self test procedures for GPIO the self test mode must be entered as
follows: