Skip header
 

Printing Option Specification Command (RP-GL/2)

You can specify printing options by using the printing option specification command. Enter the specification command in the following format immediately before or after the name of an HP-GL or an HP-GL/2 file.

Switch the Printer Language of the machine to RP-GL/2 before specifying this command.

Format in ESC sequence:

ESC DC2 ?  z  {,  option { =  value}} {,  option { =  value}} ... {,  option { =  value}}  ESC SP

<Example: To specify 10 copies as the sort quantity>

ESC DC2 ? z, emlqty=10 ESC SP

Format in hexadecimal code:

1B  12  3F 7A  {2C option {3D value}} {2C option {3D value}} ... {2C option {3D value}}  1B  20

<Example: To specify 10 copies as the sort quantity>

1B 12 3F 7A 2C 65 6D 6C 71 74 79 3D 31 30 1B 20

Parameter

Value

Description

option

Text string for the printing option name

Specifies a printing option

option

When the string is omitted

The value that corresponds to this parameter is ignored.

When you specify an unsupported value, the value corresponding to this parameter is ignored.

You can sequentially specify the number of pairs for this parameter and its corresponding value. However, if the entered command contains more than one pair specifying the same parameter and value, only the last specified pair is applied.

Parameter

Value

Description

value

Text string of the value specified for the printing option

Specifies a printing option

When you specify an unsupported value, the option corresponding to this parameter is ignored.

Note

  • The maximum length of the character strings that can be entered is 1,023 bytes.

  • The entered command remains in effect for all printing data received, until:

    • The Printer Language is switched.

    • A new printing option specification command is received.