STMSG Command The STMSG command prompts the printer to display the
specified message, go offline, and return a status message
indicating which key the operator pressed to return the
printer online. Use this command to display a customized
message, to halt printing until the operator presses the On
Line, Continue, or Reset key, and to take a different action
depending on which key the user presses.
Syntax: @PJL STMSG DISPLAY = "
message
" [<CR>]<LF>
Return Syntax: @PJL STMSG DISPLAY="
message
" <CR><LF>
key
<CR><LF>
<FF>
Parameters:
DISPLAY = "message" — The variable message can be
any combination of printable characters (except
quotation marks, character 34) and spaces or horizontal
tab characters, with a limit of 1 line of 16 characters (see
comments below). The message variable is a string and
must be enclosed in double quotes as shown in the
command syntax.
key — This variable is returned with the status response
after the operator presses one of three control panel keys.
The key variable has a value of either ONLINE, RESET,
JOBCANCEL or CONTINUE, depending on which key
the operator presses to return the printer online.
Parameter Functional Range Default
DISPLAY = "message" Roman-8 characters 33
and 35 – 255, <SP>,<HT>
N/A
key ONLINE, RESET,
CONTINUE, or
JOBCANCEL
N/A
8-6 Device Attendance Commands