HP PCL/PJL reference - Printer Job Language Technical Reference Manual

4-6 Kernel Commands EN
COMMENT Command
The COMMENT command enables you to add a line of information as
a comment. Use this command whenever you want to add an
explanation to PJL commands.
Syntax:
@PJL COMMENT remarks [<CR>]<LF>
Parameters:
Comments:
The COMMENT command is useful for documenting lines of PJL
commands. Comments may be placed anywhere in the PJL code
between the initial UEL command and the ENTER command.
(Comments placed after the ENTER command are considered
personality-specific data and are printed as determined by the active
printer language.)
Like other PJL commands, the COMMENT command is terminated
by a line feed character. You cannot extend comments onto the next
line. Comments longer than one line require a separate COMMENT
command for each line.
See the following page for an example demonstrating the use of the
COMMENT command.
Example: Using the COMMENT Command
This example demonstrates using the COMMENT command to add
clarity to your PJL command listings.
<ESC>%-12345X@PJL <CR><LF>
@PJL COMMENT ************************ <CR><LF>
@PJL COMMENT ** D. Thiel— 10/22/92 ** <CR><LF>
@PJL COMMENT ************************ <CR><LF>
@PJL <CR><LF>
Parameter Range
remarks Roman-8 character codes 33
through 255 and <WS>, starting
with a printable character.