SGD Printer Settings

device.pnp_option

185

device.pnp_option

Description This command defines the type of Plug and Play response that is sent by the printer after the printer is started. The printer must be restarted for a new PNP string to be reported. For printer support, see SGD Command Support on page 315.

Type getvar;setvar

Note • For details on SGD command structure, see Command Structure on page 638.

This table identifies the command for this format:

Commands

Details

 

 

getvar

This command retrieves the Plug and Play option setting.

 

Format: ! U1 getvar "device.pnp_option"

 

 

setvar

This command instructs the printer to select the desired Plug and Play

 

response option.

 

Format: ! U1 setvar "device.pnp_option"

 

Values:

 

"epl" = Eltron Programming Language

 

"zpl" = Zebra Programming Language

 

Default: "epl"

 

 

Example • This setvar example shows the value set to "zpl".

! U1 setvar "device.pnp_option" "zpl"

When the setvar value is set to "zpl", the getvar result is "zpl".

12/16/13

EPL Programming Guide

14245L-003 Rev. A

Page 185
Image 185
Zebra Technologies 14245L-003 manual Device.pnpoption, 185