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

Programming Manual - Page 203

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 11
Printer Escape
Commands
pg. 11-1
continued
PRINTER ESCAPE COMMANDS
SET AND READ CODE COMMAND
Printer command sessions normally start with the ‘!’ character. When the printer is used in Generic Text
Mode (or Line-Print Mode) and if the user expects to print the ‘!’ character in that mode, then the CCL code
must be changed. This is done via the Redefine CCL Code command.
Send the following sequence to redefine the code:
Set CCL Code:
ESC (0x1b) ‘}’ (0x7D) ‘W (0x57) ‘1’ (0x31) <new code>
Where <new code> is a one-byte character representing the new CCL code.
Once the CCL Code is changed, all CCL sessions should be started with the new CCL code. For example,
if CCL code is changed to ‘~, then instead of issuing a ‘! UTILITIES’ command to the printer, ‘~ UTILITIES’
should be issued.
The printer will retain the new CCL code for as long as it remains powered. If the printer is powered off
and back on again, it will revert back to normal operations and will expect ‘!’ as the CCL code.
Send the following sequence to read the CCL code:
Read CCL Code:
ESC (0x1b) ‘}’ (0x7D) ‘R (0x52) ‘1’ (0x31)
After the above command is issued, the printer will return the one-character CCL code.
Loading ...
Loading ...
Loading ...