Specifications

6-94
DC2 'v' Send V
P
Voltage
Code 12H 76H
Function Measures the V
P
voltage (head and motor operating voltage) in the printer and sends it.
The voltage is transmitted as a 3-bytes code consisting of a 1-digit integer part, a decimal point,
and a 1-digit decimal.
Example: 7.2 V -> 37H 2EH 32H
6.5 V -> 36H 2EH 35H
If the voltage is out of the V
P
voltage permissible range (6.50 to 9.75 V), an error status is
generated, and no commands or data can be input. If the voltage becomes 9.75 V or higher,
feeding with the switch is inhibited.
If the printer is powered by a battery, the print density may become low or a voltage error may
occur due to a drop in battery voltage. This command can be used for the host to detect the V
P
voltage and issue a warning.
DC2 'q' Send External RAM Checksum
Code 12H 71H
Function Outputs the external RAM checksum.
The memory checksum is calculated and a 4-bytes hexadecimal number is transmitted.
DC2 'l' Send SWDIP Switch Settings
Code 12H 6CH
Function Sends the states of the SWDIP switches 1 to 4.
8 bytes of '1'(31H) or '0'(30H) are sent as a SWDIP switch setting status.
The data is sent from the most significant bit of SWDIP switch 1 to the least significant bit of
SWDIP switch 4.
','(2CH) is placed between the states of SWDIP switches 1 and 2 and SWDIP switches 2 and 3
and DIP switches 3 and 4. Therefore, a total of 35 bytes are transmitted.
Example: SWDIP switch 1: 11001011
SWDIP switch 2: 01111111
SWDIP switch 3: 00000001
SWDIP switch 4: 00111111
If the states of the SWDIP switches are as shown above, the following character codes are sent.
31H 31H 30H 30H 31H 30H 31H
31H 2CH
30H 31H 31H 31H 31H
31H 31H 31H 2CH
30H 30H
30H 30H 30H 30H 30H 31H 2CH
30H 30H 31H 31H 31H
31H 31H 31H