Hs (host status) – Compuprint 6314 CZL User Manual
Page 43

CZL – Programmer Manual
43
n
l
n
l
n
l
n
l
is the number of free Kbytes for saving graphic images, etc. taken from n
d
n
d
n
d
n
d
of those
already used.
Obviously, n
t
n
t
n
t
n
t
> n
d
n
d
n
d
n
d
> n
l
n
l
n
l
n
l
.
The first two values are set through configuration of the machine, or the inserted expander cards; the
third value changes “dynamically” upon saving the graphic images and/or other objects.
~HS (Host Status)
The printer reports the status through three strings, where each begins with the character <STX> and
ends with the sequence
reading.
The format of the first one of these is:
aaa: is a base 8 number that describes the communication parameters of the serial port. aaa is the
octal representation of the binary number a
8
a
7
a
6
a
5
a
4
a
3
a
2
a
1
a
0
.
a
8
, together with a
2
a
1
a
0
indicates the baud rate.
0 001 = 300 baud
0 010 = 600 baud
0 011 = 1,200 baud
0 100 = 2,400 baud
0 101 = 4,800 baud
0 110 = 9,600 baud
0 111 = 19,200 baud
1 001 = 38,400 baud
a
7
indicates the handshake protocol. XON/XOFF when it is low (0), hardware when it is high (1).
a
6
indicates the parity. Odd when it is low (0), even when it is high (1).
a
5
indicates whether parity has been enabled. It has not when it is low (0), and it has when it is
high (1).
a
4
indicates the number of stop bits. Two when it is low (0), one when it is high (1).
a
3
indicates the number of data bits. Seven when it is low (0), eight when it is high (1).
b: is 1 when the machine is out of paper, 0 in other cases.
c: is 1 when the printer is in pause, 0 in other cases.
dddd: is a whole number of four digits that indicates the length of the current label, expressed in
dots.
eee: is the whole number of three digits that indicates the number of labels in the reception buffer.
f: is 1 when the memory buffer is full. 0 in other cases.
g: is 1 when the communications diagnostic mode is enabled. 0 in other cases.
h: is 1 when the current label is being processed. 0 in other cases.
iii: is always 000.
j: is 1 when the RAM is “corrupted.” 0 in other cases.
k: is 1 when the head is too cold. 0 in other cases.
l: is 1 when the head is too hot. 0 in other cases.
The format of the second of these strings is: