208

SGD Printer Settings

odometer.headnew

odometer.headnew

Description This printer setting refers to the head replaced odometer count. This counter tracks how many inches and centimeter passed through the printer since the head was last replaced. 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 commands for this format:

Commands

Details

 

 

getvar

This command instructs the printer to retrieve the values for the head new

 

counter.

 

Format: ! U1 getvar "odometer.headnew"

 

 

setvar

This command instructs the printer to reset the head new counter.

 

Format: ! U1 setvar "odometer.headnew" "value"

 

Values:

 

"0" = resets the head new counter

 

Default: must be an accepted value or it is ignored

 

 

Example • This example shows how to get the odometer head new, how to reset it, and how to confirm the settings changed:

1.To see the current settings, type:

! U1 getvar "odometer.headnew"

Something similar to this is shown:

"1489 INCHES, 3784 CENTIMETERS"

2.To reset the these values to 0, type:

!U1 setvar "odometer.headnew" "0"

3.To confirm this settings were reset, type:

!U1 getvar "odometer.headnew"

If the resetting was successful, this is shown:

"0 INCHES, 0 CENTIMETERS

14245L-003 Rev. A

EPL Programming Guide

12/16/13

Page 208
Image 208
Zebra Technologies 14245L-003 manual Odometer.headnew, 208, U1 setvar odometer.headnew