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.

EC % # 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

%B is the same as E

%0B)

 

 

 

C

 

C

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, ECE, 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 ( EC%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 ECE has been sent), the pen position is at the lower left corner of the PCL Picture Frame (0,0).

1— This parameter option ( EC%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:

EC%1B

EN

Enter HP-GL/2 Mode 18-13

Page 409
Image 409
HP 5961-0509 manual Enter HP-GL/2 Mode, Ec % # B, EC%1B