Citizen CMP-20II — информация о статусах и настройках принтера [55/71]

Citizen CMP-20 [55/71] N2 49 data length
- 55 -
Appendix G.
x The status types to be transmitted are shown below:
Paper sensor status ( n = 1, 49):
Bit Off / On Hex Decimal Status for ASB
Off 00 0
0,1
On 03 3
Off 00 0 Paper roll end sensor: paper adequate.
2,3
On (0C) (12) Paper roll end sensor: paper near end.
4 Off 00 0 Not used. Fixed to Off.
5,6 - - - Undefined.
7 Off 00 0 Not used. Fixed to Off.
Bits 2 and 3: When the paper end sensor detects a paper end, the printer
goes off-line and does not execute this command. Therefore, bits 2 and 3
do not transmit the status of paper end.
GS S C
[Name]
Change serial communication option
ASCII GS S C
n0 n1 n2 n3 n4 n5
Hex 1D 53 43
n0 n1 n2 n3 n4 n5
[Format]
Decimal 29 83 67
n0 n1 n2 n3 n4 n5
[Range]
n0 = 1; reserved
48 n1 52; Baud rate
48 n2 49; Data Length
48 n3 50; Parity Bits
n4 = 49, n4 = 51; Stop Bits
48 n5 50; Flow Control
[Description]
Set the serial option of the printer. You can set “ Baud-rate, Data Length,
Parity Bit, Stop Bit, Flow Control etc “.
However, if you use 7bit data, you need to use parity bit. If you set the Parity
bit as “ none ”, it will not work correctly.
n1: Baud-rate
9600 ‘0’ 48
19200 ‘1’ 49
38400 ‘2’ 50
57600 ‘3’ 51
115200 ‘4’ 52

Содержание

Узнайте о статусах сенсоров и настройках последовательной связи принтера. Подробности о скорости передачи данных, длине и других параметрах.

Скачать