Star Micronics DP8340 User Manual page 21

Parallel interface
Hide thumbs Also See for DP8340:
Table of Contents

Advertisement

Data
Binary
m
10100000 A0
1
m
10100000 A0
2
m
10111110 BE
3
m
10100000 A0
4
m
10100000 A0
5
DATA TRANS -
MISSION
PRINT SAMPLE
CODE
FUNCTION
OUTLINE
CODE
FUNCTION
OUTLINE
If the position into which the download character is written
(the character code) is defined as (21)
we have n
= (21)
1
character pattern data and the print head assigns the 9 pin as
unused. Therefore, m
If data m
to m
1
18
follows.
Data
Hex.
m
10011000
1
m
11100100 E4
2
m
10000010
3
m
11100100 E4
4
m
10011000
5
(1) Difine download (1B)
(2) Select download (1B)
(3) Character code
(4) Cancel download (1B)
(5) Character code
ESC a n
(1B)
(61)
n
H
H
n-line feed
After printing the data in the current line, n lines are fed by this
code. The value of n ranges from 1 to 120.
ESC C n
(1B)
(43)
n
H
H
Sets page length in lines
This code sets the length of a page to n lines. The value of n
ranges from 1 to 120. On initialization, the page length
default condition will be 42 lines. The line feed pitch is one-
sixth inch.
, n
= (23)
2
H
H
= (80)
.
0
H
is converted to hexadecimal, it appears as
Binary
Hex.
98
82
98
(26)
H
(A0)
(A0)
H
(80)
(98)
H
(80)
(FF)
H
(FF)
H
(25)
H
(21)
(22)
H
(25)
H
(21)
(22)
H
– 17 –
, (22)
, (23)
H
H
The relation between the
Data
Binary
m
11111111 FF
1
m
10000011
2
m
10111101 BD
3
m
11000001 C1
4
m
11111111 FF
5
(00)
(21)
(23)
H
H
H
(BE)
(A0)
(A0)
H
H
H
(E4)
(82)
(E4)
H
H
H
(83)
(BD)
(C1)
H
H
H
(01)
H
H
(23)
(A0)
H
H
H
(00)
H
H
(23)
(0A)
H
H
H
, then
H
Hex.
83
(80)
H
H
H
(98)
H
H
H

Advertisement

Table of Contents
loading

Table of Contents