HP PCL/PJL reference (PCL 5 Printer Language) - Technical Reference Manual Part II

EN Typical HP-GL/2 PlotCommand Sequence 18-7
Figure 18-2
The previous example provides an idea of the commands involved
in printing an HP-GL/2 plot, whether importing an existing drawing or
creating one within an application. The example describes one way to
print a plot, but many things can be varied such as the picture frame
size and location, and the cursor position when entering and leaving
HP-GL/2 mode.
IN;SP1;PU50,50; Send the HP-GL/2 commands you
desire to send. (The IN command
defaults the pen position to the
HP-GL/2 origin, the lower-left corner
of the PCL Picture Frame.)
E
C
%1A Enter the PCL mode with the cursor at
the current HP-GL/2 pen position.
TextTextText Send some text or more PCL
commands.
E
C
E Reset the printer to end the job and
eject a page.
Table 18-1 Example: Creating and Using a PCL Picture Frame