6-106
Note
Using much of this command may cause the FLASH memory damage. It is recommended that
this command be used 10 times/day.
DC2 'i' m {DATA}
Set Default/Set Test Print Header
Code
12H 69H m {Data}
Function Set default and test print header. Moreover, can be set various settings for Bluetooth.
m Function
Data
30H
Initializing of the test print header
None
31H
Reading test print header
None
32H
Writing test print header
0
data<96 bytes+NULL
33H
Initializing Bluetooth device name
None
34H
Reading Bluetooth device name
None
35H
Writing Bluetooth device name
2
data<32 bytes+NULL
36H
Canceling Bluetooth PIN code
None
38H
Writing Bluetooth PIN code
4
data<16 bytes+NULL
40H
Initializing default value
None
41H
Reading default value
None
42H
Line spacing
1 byte (00H
data
FFH)
43H
Character spacing
1 byte (00H
data
7FH)
44H
Kanji left-side spacing
1 byte (00H
data
7FH)
45H
Kanji right-side spacing
1 byte (00H
data
7FH)
46H
International character
1 byte (00H
data
0CH)
47H
Left margin
1 byte (00H
data
FFH)
48H
Right margin
1 byte (00H
data
FFH)
49H
Automatic power-off time
1 byte (00H
data
FFH)
4AH
Paper length to mark
2 bytes (00H
data
03E8H)
60H
Reading each default values
1 byte (42H
data
4BH)
Up to 96 bytes character strings can be set for the test print header.
Writing test print header is completed when data exceeds 96 bytes or the NULL character is
detected. When data exceeds 96 bytes, the printer uses 97th as NULL check code and
processes the following data as the command or 1 byte data.
Only LF(0AH) and CR(0DH) control codes can be used.
Control codes under 1FH except LF and CR are ignored and are not counted as data.
All 20H to FFH codes are processed as 1 byte code. 24-dot fonts are used for printing.
(Example)
Data: 'Portable Printer' + 0DH
Print: Portable Printer
***********************
*DIP SWITCH 1*
.
.
.
Содержание 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 ...