HP Color LaserJet 5500 Technical Reference Manual page 157

Printer job language - technical reference manual
Hide thumbs Also See for Color LaserJet 5500:
Table of Contents

Advertisement

Example: Using the
RDYMSG Command
Related Commands:
CZECH, or HUNGARIAN, messages are displayed
using the Latin 2 (ISO 8859/2) character set. If LANG is
RUSSIAN, messages are displayed using Cyrillic (ISO
8859/51). For LANG=TURKISH, the display is in Latin 5
(ISO 8859/9).
Some HP LaserJet printers may have a different limit for
the number of display lines and number of display
characters. To request the display limits, use the INFO
CONFIG command. When this command is used, the
printer returns DISPLAY LINES=value and DISPLAY
CHARACTER SIZE=value as part of the response message.
For example, HP LaserJet 4 and 4M printers return
DISPLAY LINES=1, DISPLAY CHARACTER SIZE=16,
indicating that the displayed message is limited to 1 line of
16 characters.
This example simulates a spooler that prints a job from
another application. The spooler uses the RDYMSG
command to display the name of the person printing the job
(while the job is printing). After the job is printed, the
spooler restores the normal ready message. (The indented
command lines indicate those sent by the printing
application; the remaining lines are sent by the spooler.)
<ESC>%-12345X@PJL <CR><LF>
@PJL JOB NAME = "Terry's Job" <CR><LF>
@PJL RDYMSG DISPLAY = "TERRY'S JOB" <CR><LF>
<ESC>%-12345X@PJL <CR><LF>
@PJL ENTER LANGUAGE = PCL <CR><LF>
<ESC>E . . . PCL Job . . .<ESC>E
~<ESC>%-12345X
~<ESC>%-12345X@PJL <CR><LF>
@PJL COMMENT Restore READY message <CR><LF>
@PJL RDYMSG DISPLAY = "" <CR><LF>
@PJL EOJ NAME = "End of Terry's Job" <CR><LF>
<ESC>%-12345X
OPMSG, STMSG, INFO CONFIG
Device Attendance Commands 8-3

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents