Citizen CMP-30II [41/48] Cmp 30 command manual
![Citizen CMP-30II [41/48] Cmp 30 command manual](/views2/1842783/page41/bg29.png)
41
CMP-30 Command Manual
10. Printer Escape Commands
A. 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.
Set CCL Code
ESC(0x1b) ‘}’(0x7d) ‘W’(0x57) ‘1’(0x31) <new CCL code>
Where {new CCL code} is a one-bye character representing the new CCL code.
Once the CCL Code is changed, all CCL session should be stared with the new CCL code.
The printer will retain the new CCL code for as long as it remains powered.
Follow 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.
PRINTER ESCAPE COMMANDS FORMAT
Format
{escape} {command} [parameters]
Command & option
{escape}
The ESC characte (0x1b)
{command}
Choose from the escape commands in this section
[parameters]
Parameters for the escape commands
☞ NOTE: The escape commands should not be used while in a control/utility session
(“! UTILITIES … PRINT” or ! 0 … PRINT”)
B. STATUS/INFORMATION
1. Get Printer Status
ESC (0x1b) ‘f’(0x68)
This command requests a status byte form the printer. It should be called before loading or
printing a label in order to make sure that the host software is synchronized with the printer. A
status byte from the printer is as follows
Bit0 Status(0: ready, 1: busy)
Bit1 Paper(0: present, 1: out of paper)
Bit2 Latch(0: closed, 1: open)
Bit3 Battery Level(0: OK, 1: Low)
Bit4 ~ 7 Reserved
Bit8 ~ 11 Contrast(0 ~ 3)
Bit12 ~ 15 Reserved
Содержание
- Cmp 30 1
- Cpcl command manual 1
- Cmp 30 command manual 2
- Table of contents 2
- Advanced commands 3
- Cmp 30 command manual 3
- Line print mode 3
- Advanced utilities 35 4
- Cmp 30 command manual 4
- Configuration control commands 4
- Others 4
- Printer escape commands 4
- Cmp 30 command manual 5
- Getting printer information 5
- Labelmaker 5
- Programming introduction 5
- A printer commands 6
- Cmp 30 command manual 6
- Printer commands 6
- B print command 7
- C form command 7
- Cmp 30 command manual 7
- D journal command 7
- Cmp 30 command manual 8
- E units command 8
- Cmp 30 command manual 9
- F using comments 9
- A text commands 10
- Cmp 30 command manual 10
- B font group fg command 11
- Cmp 30 command manual 11
- C text concatenation command 12
- Cmp 30 command manual 12
- Cmp 30 command manual 13
- D multiline ml command 13
- Cmp 30 command manual 14
- E count command 14
- F setmag command 14
- A barcode command 15
- Cmp 30 command manual 15
- Linear bar codes 15
- Standard bar codes 15
- B barcode text command 16
- Cmp 30 command manual 16
- A pdf417 portable data file 17
- Cmp 30 command manual 17
- Two dimensional bar codes 17
- B maxicode 18
- Cmp 30 command manual 18
- Cmp 30 command manual 19
- A box command 20
- B line commands 20
- Cmp 30 command manual 20
- Graphics 20
- C inverse line commands 21
- Cmp 30 command manual 21
- D pattern command 21
- Cmp 30 command manual 22
- E graphics commands 22
- Cmp 30 command manual 23
- F pcx commands 23
- A contrast command 24
- Advanced commands 24
- B tone command 24
- C justification commands 24
- Cmp 30 command manual 24
- Cmp 30 command manual 25
- D page width command 25
- Cmp 30 command manual 26
- E pace command 26
- F no pace command 26
- G wait command 26
- Cmp 30 command manual 27
- H speed command 27
- I setsp command 27
- J on out of paper command 27
- Cmp 30 command manual 28
- K on feed command 28
- L prefeed command 28
- Cmp 30 command manual 29
- M postfeed command 29
- N country code page command 29
- Cmp 30 command manual 30
- O using format files 30
- P beep command 30
- A setlp command 31
- B setlf command 31
- Cmp 30 command manual 31
- Line print mode 31
- C moving with x and y coordinates 32
- Cmp 30 command manual 32
- D lmargin command 32
- E setbold command 32
- F setsp command 32
- Cmp 30 command manual 33
- G page width command 33
- H page height command 33
- I special ascii characters 33
- J setff command 33
- Cmp 30 command manual 34
- K set tof command 34
- L setlp timeout 34
- A version utility 35
- Advanced utilities 35
- B checksum utility 35
- C del utility 35
- Cmp 30 command manual 35
- D dir utility 35
- Cmp 30 command manual 36
- E define file df utility 36
- F type utility 36
- G baud utility 36
- Cmp 30 command manual 37
- H timeout utility 37
- I on low battery command 37
- J lt command 37
- Cmp 30 command manual 38
- K set time utility 38
- L get time utility 38
- M set date utility 38
- Cmp 30 command manual 39
- N get date utility 39
- O printing a time stamp 39
- P printing a date stamp 39
- Cmp 30 command manual 40
- Q paper jam utility 40
- A set and read code command 41
- B status information 41
- Cmp 30 command manual 41
- Get printer status 41
- Printer escape commands 41
- C power off command 42
- Cmp 30 command manual 42
- Get printer information 42
- Get user label count 42
- Off command 42
- Reset user label count 42
- Timeout command 42
- A command format 43
- B commands parameters 43
- Cmp 30 command manual 43
- Configuration control commands 43
- Do command 43
- Getvar command 43
- Setvar command 43
- Cmp 30 command manual 44
- Cmp 30 command manual 45
- Cmp 30 command manual 46
- Cmp 30 command manual 47
- Cmp 30 command manual 48
- Gap sense bar sense commands 48
- Gap sense command example 48
Похожие устройства
- Citizen CMP-30II ESC Command Manual
- Citizen CMP-30II Руководство по эксплуатации
- Citizen CL-E300 Техническое описание
- Citizen CL-E300 Command Reference ZPL
- Citizen CL-E300 Command Reference DMX
- Citizen CL-E300 Утилита для печати этикеток
- Citizen CL-E300 Руководство по эксплуатации
- Citizen CL-E303 Техническое описание
- Citizen CL-E303 Command Reference ZPL
- Citizen CL-E303 Command Reference DMX
- Citizen CL-E303 Утилита для печати этикеток
- Citizen CL-E303 Руководство по эксплуатации
- Citizen CL-E321 Техническое описание
- Citizen CL-E321 Утилита для печати этикеток
- Citizen CL-E321 Command Reference ZPL
- Citizen CL-E321 Command Reference DMX
- Citizen CL-E321 Руководство по эксплуатации
- Citizen CL-E331 Техническое описание
- Citizen CL-E331 Утилита для печати этикеток
- Citizen CL-E331 Command Reference ZPL