ZEBRA MZ 320 3" 4mb Direct Mobile Thermal Receipt Printer With Bluetooth

Programming Manual - Page 267

For MZ 320.

PDF File Manual, 497 pages, Read Online | Download pdf file

MZ 320 photo
Loading ...
Loading ...
Loading ...
Mobile Printing Systems
CPCL Programming Manual
Section 14
Configuration/
Control
Commands
pg. 14-41
continued
media.width_sense.in_cm
type: getvar
This parameter returns the current media width installed in the printer measured in centimeters. The “media.
width_sense.enable parameter must be set to on.
Note: The media width sensing mechanism has a tolerance of ± .25 cm
getvar result Media width as measured in centimeters
Example
Description Get width of installed media
Syntax
! U1 getvar “media.width_sense.in_cm”
Result 10.4
media.width_sense.in_dots
type: getvar
This parameter returns the current media width installed in the printer measured in dots. The “media.
width_sense.enable” parameter must be set to “on”.
Note: The media width sensing mechanism has a tolerance of ± 21 dots (at the standard resolution of 200 d.p.i.)
getvar result Media width as measured in dots
Example
Description Get width of installed media
Syntax
! U1 getvar “media.width_sense.in_dots
Result 832
Loading ...
Loading ...
Loading ...