Programmer's Guide User guide

Programmer’s Guide | 1
41 Thermal Printer Programmer’s Guide
1
When using PJL commands to query for font number, pitch, point size or symbol set the
"LPARM : PCL" entry is needed before the variable name.
2
Refer to the section titled “Resident Scalable Fonts” for a list of fonts by font number.
3
Refer to the section titled “Symbol Sets” for list of symbol sets by PJL name.
4
Refer to the section titled “PJL JOB command” for SECURITY parameter used to
protect these printer-specific items.
5
The I/O configuration should be set with an integer representing a bitwise value where
the first bit is pin 1, the second bit is pin 2, etc. One is an input pin and zero is an output
pin. Bits 8 – 15 are fixed at 1. For example, if pins 1-4 are input and pins 5-8 are output
the resulting value is 65295 (1111111100001111).
6
When changing media setup, it is highly recommended that all of the PJL variables are
used. These correspond to all the parameters stored in a media configuration file. Some
of these may actually be ignored if using valid combinations from the paper/ribbon list
and will then use auto settings. As a minimum, PAPERID, RIBBONID,
PAPERSENSORTYPE, PAPERSENSORSIDE and RIBBON should always be set when
configuring media.
7
These parameters can be sent with each job using the SET command.
8
Refer to Appendix 1 for more specific details on the Printer Model Printable Print
Widths.
9
Refer to Appendix 2 for more specific details on the Printer Model Print Speeds.
10
To enable the cutter option via PJL, set the variable CUTTER to ON. To cut after every
label, the variable CUTBYCOUNT should be set to 1 which is the default. To cut after a
certain number of labels, set the CUTBYCOUNT to the desired value. A cut will not occur
at the end of the job if the number of labels printed is not a multiple of the
CUTBYCOUNT. For instance printing five labels with a cut by count of 3 will result in 3
labels printed, then a cut followed by two more labels with no ensuing cut.
GPIOSIGNALNAME8 Selects the function of pin 8 SOP, REPRINT, SLEW,
PAUSE, EOP, READY,
MEDIALOW, SERVICE
SERVICE
GPIOPULSEWIDTH Width of pulse in ms. 1 – 2000 (ms) 1000
GPIOIOCONFIG Configuration of input/output
pins
0 – 655355 65295
SLEWSPEED Controls the rate of paper
movement between printing
areas when using a GPIO
applicator
20 – 160 (1/10 IPS) 80
Variable Description Range Default