Specifications

Mobile Printing Systems
CPCL Programming Manual
Section 14
Configuration/
Control
Commands
pg. 14-65
continued
odometer.media_marker_count
type: getvar; setvar
This parameter refers to the media marker count. The media marker counter keeps track of how many
labels have passed through the printer, (wether or not they have been printed) by counting the bar sense
marks on the back of the media. (Contrast this to the “odometer.user_label_count” parameter below.) The
media marker count can be set to an initial value and is incremented every time a label is printed or fed.
getvar result
This will return the number of bar sense marks that have passed through the
printer
Example
Description This command instructs the printer to respond with the media
marker count
Syntax ! U1 getvar “odometer.media_marker_count
Result “105”
setvar choices
“0” - “65535”
Default “0
Example
Description This command instructs the printer to set the media marker
count to 0
Syntax ! U1 setvar “odometer.media_marker_count” “0”
Result The media marker count odometer will be set to 0