Zebra CPCL Programming Manual - Media.Type
Mobile Printer CPCLProgramming Manual
P14-27
media.type
type: getvar; setvar
This parameter refers to the media type that is being
used.
By default, the printer will check for correct media alignment if it encounters the eye-
sense mark (black horizontal bars on back of media) during a print cycle (LABEL
mode). The JOURNAL command can be used to disable this automatic correction
feature. The user’s program is responsible for checking and assuring presence of
paper when the printer is set to JOURNAL mode. Please refer to the status inquiry
command (Get Extended Printer Status) for details on checking for out-of-paper
condition.
getvar result
Current media type.
Example
Description
Get current media type.
Syntax
! U1 getvar “media.type”
Result
“label”
setvar choices
“label”, “journal”
Default
“label”
Example
Description
Set media type to journal.
Syntax
! U1 setvar “media.type” “journal”
Result
Printer will set media type to
journal.