Mobile Printing Systems
CPCL Programming Manual
Section 14
Configuration/
Control
Commands
pg. 14-24
continued
device.languages
type: getvar; setvar
NOTE: This command is only valid with RW, QL Plus and MZ series (SH3 based) printers.
This parameter sets the programming language recognized by the printer. (Refer to the programming
languages topics in Section 1 for more information) Please note that CPCL is ALWAYS active and that
line_print is ONLY active when selected.
getvar result The programming language currently used by the printer
Example
Description Retrieve the current programming language used by the printer
Syntax ! U1 getvar ”device.languages”
Result
Printer will respond with the current language in use, for
example:”ZPL”
setvar choices
EPL, ZPL, epl_zpl, opl
1
, line_print
Default line_print
Example
Description Set language to ZPL
Syntax ! U1 setvar “device.languages” “ZPL”
Result programming language set to ZPL
NOTE 1: Selecting “opl” (O’Neil emulation) will disable most other languages: e.g. CPCL line print and ESC * modes, ZPL, EPL, etc
device.reset
type: do
Instructs the printer to perform a soft reset.
do parameters None
Example
Description Perform a soft reset
Syntax ! U1 do “device.reset” “”
Result The printer will perform a soft reset
Comments to this Manuals