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

Programming Manual - Page 266

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-40
continued
media.width_sense.enable
type: getvar; setvar
This parameter turns the Media Width Sensing option “on” or “off. This parameter only applies to
printers equipped with the Media Width Sensing option, others will ignore this command.
getvar result “on”, “off
Example
Description Get current status of media width sensing option
Syntax
! U1 getvar “media.width_sense.enable”
Result “on’
setvar choices
on,off
Default off
Example
Description Change the media width sense enable status
Syntax ! U1 setvar “media.width_sense.enable” “on”
Result Media width sensing is enabled
media.width_sense.in_mm
type: getvar
This parameter returns the current media width installed in the printer measured in millimeters. The
media.width_sense.enable” parameter must be set to “on”.
Note: The media width sensing mechanism has a tolerance of ± 2.5 mm
getvar result Media width as measured in millimeters
Example
Description Get width of installed media
Syntax
! U1 getvar “media.width_sense.in_mm”
Result 104.0
Loading ...
Loading ...
Loading ...