210

SGD Printer Settings

odometer.media_marker_count1

odometer.media_marker_count1

Description This printer setting refers to the value of the first (count1) user resettable counter. The user resettable counters track how much media has passed through the printer in both inches or centimeters. For printer support, see SGD Command Support on page 315.

Type getvar; setvar

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

This table identifies the commands for this format:

Commands

Details

 

 

getvar

This command instructs the printer to return the current value of the first

 

(count1) user resettable counter in both inches and centimeters.

 

Format: ! U1 getvar "odometer.media_marker_count1"

 

 

setvar

This command instructs the printer to reset the first user resettable counter.

 

Format:

 

! U1 setvar "odometer.media_marker_count1" "value"

 

Values:

 

"0" = reset the counter

 

Default: must be an accepted value or it is ignored

 

 

Example • This example shows how to get the first user resettable counter, how to reset it, and how to confirm the settings have changed:

1.To see the current settings, type:

! U1 getvar "odometer.media_marker_count1"

Something similar to this is shown:

"8516 INCHES, 21632 CENTIMETERS"

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

!U1 setvar "odometer.media_marker_count1" "0"

3.To confirm these settings were reset, type:

!U1 getvar "odometer.media_marker_count1"

If the resetting was successful, this is shown:

"0 INCHES, 0 CENTIMETERS"

14245L-003 Rev. A

EPL Programming Guide

12/16/13

Page 210
Image 210
Zebra Technologies 14245L-003 manual Odometer.mediamarkercount1, 210