HP PCL/PJL reference - Printer Job Language Technical Reference Manual
EN Programming Examples C-1
C
Programming 
Examples
Introduction
This appendix demonstrates two examples: one PJL example using 
the C programming language, and one simple batch file. The first 
example is listed on the left-facing page in the generic format used 
throughout the rest of the manual. The C code is then listed on the 
opposite page so that you can compare the C code with the generic 
code. The second example is a batch file that demonstrates the use 
of the RDYMSG command to create your own “ready” message while 
printing your job.
Note For information about products newer than those included in this 
book, see the Printer Job Language Technical Reference Addendum, 
which includes product-specific information about newer products, as 
well as commands and variables added to PJL to support these 
newer products.










