4-14
4.3 HEX DUMP MODE
This function can be used to check whether the host device transmits data to the printer correctly. Perform
the following steps.
(a) Be sure that the thermal paper is installed to the printer and the printer is turned off.
(b) Keep on pressing the POWER and FEED switches in six seconds.
(c) Release the POWER and FEED switches after blinking the POWER and ERROR lamps.
(d) Press the POWER switch after printing the message below.
(e) After printing the message below, the printer enters a HEX dump mode.
The example of printing using BASIC is shown below:
Input data from host computer. The data input through the printer interface is printed as hexadecimal
code, 8 bytes at a time. If the input buffer contains less than 8 bytes of data, it is printed when the FEED
switch is pressed.
8 bytes
Input PRINT#1,"abcdef" to the host computer and press the Return key.
The printer prints 'abcdef' in hexadecimal number and two control codes (0DH and 0AH).
Less than 8 bytes
Input PRINT#1,"abc" to the host computer, press the Return key, and then press the FEED switch.
The printer prints 'abc' in hexadecimal number and two control codes (0DH and 0AH).
61 62 63 0D 0A
OK
PRINT #1
,"
abc
"
[HEX DUMP MODE]
Printer
Host device
61 62 63 64 65 66 0D 0A
OK
PRINT #1
,"
abcdef ”
[HEX DUMP MODE]
Printer
Host device
[HEX DUMP MODE]
Select Function
Setting Mode: Feed SW
HEX Dump Mode: Power SW
Содержание DPU-S245
Страница 1: ...DPU S245 SERIES THERMAL PRINTER TECHNICAL REFERENCE U00117152801 ...
Страница 12: ...2 2 Dimensions 83 130 45 1 3 63 5 75 2 9 7 38 Unit mm Figure 2 1 Dimensions Paper Outlet ...
Страница 87: ...6 42 Figure 6 10 Print Sample 5 ...
Страница 97: ...6 52 Figure 6 12 Print Sample 6 ...
Страница 122: ...6 77 Figure 6 24 Print Sample 12 ...
Страница 125: ...6 80 Figure 6 28 Print Sample 14 ...
Страница 168: ...A 3 A 2 INTERNATIONAL CHARACTER SETS The following codes differ depending on the international character set selected ...
Страница 170: ...A 5 A 4 KANJI QUARTER SIZE CHARACTER SET ...