beautypg.com

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

Page 37

background image

Programmer’s Guide | 1

31

Thermal Printer Programmer’s Guide

%-12345X@PJL JOB NAME = "JOB_CLEAN_END"
@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:

%-12345X@PJL JOB NAME = "JOB_SELFTEST_INIT"
@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:

%-12345X@PJL JOB NAME = "JOB_REWIND_TEST"
@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.

%-12345X@PJL JOB NAME = "JOB_REWIND_TEST"
@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:

%-12345X@PJL JOB NAME = "JOB_SELFTEST_END"
@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:

This manual is related to the following products: