Programmer's Guide User guide

1 | Programmer’s Guide
Thermal Printer Programmer’s Guide 28
@PJL INFO SETUPFILES
File1.stc
File2.stc
File3.stc
File4.stc
The PJL INFO RESIDENTFONTS command will return the list of resident fonts, the font
number and a PCL sample sequence. There are place holders for the ten allowed
download fonts named “Downloaded Font0”, “Downloaded Font1”, “Downloaded Font2”,
etc. These names will be replaced with the downloaded font name starting from Font 0.
Refer to the example below:
0, “CG Times “,”<ESC>(s1p__v0s0b4101T";
1,"CG Times It","<Esc>(s1p__v1s0b4101T";
2,"CG Times Bd","<Esc>(s1p__v0s3b4101T";
3,"CG Times BdIt","<Esc>(s1p__v1s3b4101T";
4,"Univers Md","<Esc>(s1p__v0s0b4148T";
(...)
51,"CG Triumv BdCd","<Esc>(s1p__v0s0b26714T";
52,"MyFont1 ","<Esc>(s1p__v0s0b9998T";
53,"MyFont2 ","<Esc>(s1p__v0s0b9999T";
54,"Downloaded Font2","<Esc>(s1p__v0s0b0T";
55,"Downloaded Font3","<Esc>(s1p__v0s0b0T";
PJL JOB Command
The parameter “SECURITY” is used to allow changes to defaults for printer specific
items such as adjustments and media calibration values. The value of the SECURITY
parameter must match the printer’s security key to take effect.
The following is a sample command:
<ESC>%-12345X@PJL JOB SECURITY = “0x00005AC2” <LF>
@PJL DEFAULT HEADPRESSUREADJ = 5 <LF>
@PJL EOJ <LF>
The parameter “MODEL” can be used to ensure a model match when sending a file. The value is the printer
model name in quotes, such as “p1125”. If the values do not match then a Model Mismatch warning will be dis-
played.
PJL PERFORM Command
The custom PJL PERFORM command is used for various functions on the printer. PJL
password security in the JOB command is used to protect against unauthorized use of
this command. Please refer to the HP PCL/PJL Technical Reference Manual for more
information on PJL security. These commands will perform an immediate action when
received and should not be part of a PCL data stream. It is recommended to send one
command at a time.