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

EN Enter HP-GL/2 Mode 18-13
Enter HP-GL/2 Mode
This command causes the printer to interpret subsequent commands
as HP-GL/2 commands, instead of PCL printer language commands.
E
C
% # B
# =0— Position pen at previous HP-GL/2 pen position
1 — Position pen at current PCL cursor position
Default = 0
Range = 0, 1 (even values are mapped to 0; odd values are
mapped to 1;
E
C
%B is the same as
E
C
%0B)
As soon as the printer receives this command, it switches to HP-GL/2
mode, interpreting commands as HP-GL/2 commands until it receives
an Enter PCL Mode,
E
C
E, or UEL command, or until the printer power
is switched off and on. (For information on the effect of PCL settings
on HP-GL/2 mode, see “Default Settings” later in this chapter.)
The value field (#) determines the cursor position once HP-GL/2
mode is entered.
0— This parameter option (
E
C
%0B) sets the pen position to the
previous HP-GL/2 position; if this is the first time HP-GL/2 mode is
entered in the present print job (assuming an
E
C
E has been sent),
the pen position is at the lower left corner of the PCL Picture
Frame (0,0).
1— This parameter option (
E
C
%1B) specifies that the pen position be
the same as the current PCL cursor position.
Example:
To set the pen position to the current PCL cursor position, send:
E
C
%1B