178

SGD Printer Setting Commands

Overview

Overview

This section describes how and why to use the Set / Get / Do (SGD) commands. It also provides an example of a typical command structure.

Note • SGD commands must be terminated by a carriage return or a space and line feed.

SGD commands are commands that allow you to configure all printers with firmware version V60.15.x, V50.15.x, V61.15.x, V56.15.x, V53.15.xZ, E53.15.x, or later. The printer performs the specified function immediately after receiving the command. The commands are:

setvar

getvar

do

setvar Command

Setvar commands:

are used to configure printer settings to specific values by setting them in the printer

must be terminated by a space character or a CR/ LF (0x0D, 0x0A)

Important • The setvar command and attributes must be specified in lower case.

getvar Command

Getvar commands:

are used to get the current value of the printer settings

must be terminated by a space character or CR/LF (0x0D, 0x0A)

The printer responds with the printer setting of “?” if:

the printer setting does not exist (usually due to incorrect spelling of the printer setting)

it has not been configured yet

Important • The printer settings and attributes must be specified in lower case.

14245L-003

EPL Programming Guide

12/16/13

Page 178
Image 178
Zebra Technologies 14245L-003 manual Setvar Command, Getvar Command, 178