Zebra Technologies 14245L-003 Pet Fence User Manual


 
211
SGD Printer Settings
odometer.media_marker_count2
12/16/13 EPL Programming Guide 14245L-003 Rev. A
odometer.media_marker_count2
Description This printer setting refers to the value of the second (count2) 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
This table identifies the commands for this format:
Note • For details on SGD command structure, see Command Structure on page 638.
Commands Details
getvar
This command instructs the printer to return the current value of the
second (count2) user resettable counter in both inches and centimeters.
Format: ! U1 getvar "odometer.media_marker_count2"
setvar
This command instructs the printer to reset the second user resettable
counter.
Format:
! U1 setvar "odometer.media_marker_count2"
"value"
Va lues:
"0" = reset the counter
Default: must be an accepted value or it is ignored
Example • This example shows how to get the second 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_count2"
Something similar to this is shown:
"8516 INCHES, 21632 CENTIMETERS"
2. To reset the these values to 0, type:
! U1 setvar "odometer.media_marker_count2" "0"
3. To confirm these settings were reset, type:
! U1 getvar "odometer.media_marker_count2"
If the resetting was successful, this is shown:
"0 INCHES, 0 CENTIMETERS"