6-81
6.5.21 Routine Commands
The routine commands put character strings and commands in memory and prints data in routine formats.
They are a type of macro processes.
The routine commands begin with DC2 'E' m and are divided into four types according to the value of m.
Only the two low-order bits of m are valid.
m = 0: Set routine format.
m = 1: Set routine parameter data.
m = 2: Execute routine format.
m = 3: Delete all routine data.
DC2 'E' 0 n dl dh {DATA}
Set Routine Format
Code
12H 45H 00H n dl dh {d1 d2•••dk}
0
n
127
0
dl
65525
Function Creates and registers a print format combining ruled lines and character print position.
n is a routine format number. 128 types can be registered (00H to 7FH). If n is not in the above
range, DC2 'E' 0 n is ignored and the subsequent data is processed as normal data.
dl and dh indicate the number of bytes of the routine format data.
d indicates routine format data, and dl bytes of command data are sent.
Only the following commands can be set in routine formats. If commands other than those listed
below are registered, they are ignored when executing the routine format.
'A'
NAME
: Selects ruled line A.
FUNCTION
: Selects ruled line buffer A. (Same function as DC3 'A')
'B'
NAME
: Selects ruled line B.
FUNCTION : Selects ruled line buffer B. (Same function as DC3 'B')
'C'
NAME
: Clears ruled line
FUNCTION : Clears the currently selected ruled line buffer. (Same function as DC3 'C')
'L' ml mh nl nh
NAME
: Sets routine line
FUNCTION : Sets the dot from the start point to the end point of the selected buffer to 1.
(Same function as DC3 'L' sl sh el eh)
(ml)= Line start point
(nl) = Line end point
'D' nl nh
NAME
: Sets routine dot (Same function as DC3 'D' nl nh)
FUNCTION : Sets the specified dot of the selected ruled line buffer to 1.
(nl)=dot
position
'F' n1 n2
NAME
: Sets routine pattern (Same function as DC3 'F' nl nh)
n1, n2: Repetitive pattern data
FUNCTION : Places a repetitive pattern of bit images (2-byte data) of the specified code
in the selected ruled line buffer.
Содержание 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 ...