APPENDICES
Appendix–59
Printer Job Language Commands Syntax
Command Function and Syntax
Syntax Rules
[ ] Brackets indicate optional parameters.
< > Indicates special characters and items
Special Characters and Items DEC. HEX.
<HT> Horizontal Tab (element of white space) 09 09
<LF> Line Feed (PJL command terminator)10 0A
<CR> Carriage Return (optional parameter)13 0D
<SP> Space (element of white space) 32 20
<ESC> Escape (used only for UEL/SPJL) 27 1B
<FF> Form Feed 12 0C
(terminator for multiple line reply)
<WS> White Space<SP> or <HT> or combination of <SP> and <HT>
<PC> Printable Characters (character code 33 through 126, and
161 through 254)
<Words> Beginning with <PC>, and combination of <PC> and <WS>
Printer Job Language Commands Syntax
COMMENT @PJL COMMENT <Words> [<CR>] <LF>
DEFAULT @PJL DEFAULT [LPARM: emulation] variable = value
[<CR>] <LF>
DINQUIRE @PJL DINQUIRE [LPARM: emulation] variable [<CR>] <LF>
Reply @PJL DINQUIRE [LPARM: emulation] variable <CR> <LF>
value <CR> <LF> <FF>
ECHO @PJL ECHO [<Words>] [<CR>] <LF>
Reply @PJL ECHO [<Words>] <CR> <LF> <FF>
ENTER @PJL ENTER LANGUAGE = emulation [<CR>] <LF>
EOJ @PJL EOJ [NAME = job name] [<CR>] <LF>
INFO @PJL INFO read only variable [<CR>] <LF>
Reply @PJL INFO read only variable <CR> <LF>
[1 or more lines of printable characters or <WS> followed
by <CR> <LF>] <FF>
INITIALIZE @PJL INITIALIZE [<CR>] <LF>
INQUIRE @PJL INQUIRE [LPARM: emulation] variable [<CR>] <LF>
Reply @PJL INQUIRE [LPARM: emulation] variable <CR> <LF>
value <CR> <LF> <FF>
JOB @PJL JOB [NAME = “job name”] [START = first page]
[END = last page] [<CR>] <LF>
OPMSG @PJL OPMSG DISPLAY = “message” [<CR>] <LF>
RDYMSG @PJL RDYMSG DISPLAY = “message” [<CR>] <LF>
RESET @PJL RESET [<CR>] <LF>
SET @PJL SET [LPARM: emulation] variable = value [<CR>] <LF>
STMSG @PJL STMSG DISPLAY = “message” [<CR>] <LF>
Reply @PJL STMSG DISPLAY = “message” <CR> <LF>
key <CR> <LF> <FF>
Exit Current Emulation/Start PJL <ESC> % - 12345X
(UEL/SPJL)
USTATUS @PJL USTATUS variable = value [<CR>] <LF>
Reply @PJL USTATUS variable <CR> <LF>
[1 or more lines of printable characters or <WS> followed
by <CR> <LF>] <FF>
USTATUSOFF @PJL USTATUSOFF [<CR>] <LF>
(No Operation) @PJL [<CR>] <LF>