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

Page 37

Advertising
background image

Programmer’s Guide | 1

31

Thermal Printer Programmer’s Guide

<ESC>%-12345X@PJL JOB NAME = "JOB_CLEAN_END" <LF>
@PJL PERFORM HEADCLEANMODE = 0 <LF>
@PJL EOJ <LF>

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:

<ESC>%-12345X@PJL JOB NAME = "JOB_SELFTEST_INIT" <LF>
@PJL PERFORM SELFTEST = 1 <LF>
@PJL EOJ <LF>

For rewinder or ribbon assembly tests the media should be detached from the
mechanism. To perform the rewinder test, issue the following:

<ESC>%-12345X@PJL JOB NAME = "JOB_REWIND_TEST" <LF>
@PJL PERFORM REWIND <LF>
@PJL EOJ <LF>

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.

<ESC>%-12345X@PJL JOB NAME = "JOB_REWIND_TEST" <LF>
@PJL PERFORM CUT = n <LF>
@PJL EOJ <LF>

“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:

<ESC>%-12345X@PJL JOB NAME = "JOB_SELFTEST_END" <LF>
@PJL PERFORM SELFTEST = 0 <LF>
@PJL EOJ <LF>

PJL GPIO Self Test

Prior to performing self test procedures for GPIO the self test mode must be entered as
follows:

Advertising
This manual is related to the following products: