Specifications

Mobile Printing Systems
CPCL Programming Manual
Section 14
Configuration/
Control
Commands
pg. 14-42
continued
media.width_sense.in_inches
type: getvar
This parameter returns the current media width installed in the printer measured in inches. The “media.
width_sense.enable” parameter must be set to “on”.
Note: The media width sensing mechanism has a tolerance of ± .1.
getvar result Media width as measured in inches
Example
Description Get width of installed media
Syntax ! U1 getvar
“media.width_sense.in_inches
Result 4.098