Zebra Technologies 14245L-003 Pet Fence User Manual


 
SGD Printer Settings
odometer.media_marker_count1
210
14245L-003 Rev. A EPL Programming Guide 12/16/13
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
This table identifies the commands for this format:
Note • For details on the command structure of SGD commands, see Command Structure
on page 638.
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"
Va lues:
"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"