Skip header
 

Printer Language Switch Command (RP-GL/2)

You can switch the Printer Language of the machine by using the Printer Language switch command. For RP-GL/2, enter this command in the following format immediately before or after the name of the RP-GL/2 or CALS file.

Format in ESC sequence:

ESC DC2 !  {p} @  CODE-ID ESC SP

<Example: To switch to RP-GL/2>

ESC DC2 ! -1 @ GL2 ESC SP

Format in hexadecimal code:

1B 12 21 {p} 40 CODE-ID 1B 20

<Example: To switch to RP-GL/2>

1B 12 21 2D 31 40 47 4C 32 1B 20

Parameter

Value

Description

p

-1

Switches to the Printer Language specified by CODE-ID

CODE-ID

RGL

GL2

RTF

RPS

The specified values and the corresponding Printer Languages are as follows:

  • RGL: RP-GL

  • GL2: RP-GL/2

  • RTF: RTIFF

  • RPS: PS3