DOWNLOAD Sharp UP-5300 (serv.man2) Service Manual ↓ Size: 17.14 MB | Pages: 74 in PDF or view online for FREE

Model
UP-5300 (serv.man2)
Pages
74
Size
17.14 MB
Type
PDF
Document
Service Manual
Brand
Device
EPOS / UP5300 Internal Printer (UPT80BP) Service Manual
File
up-5300-sm2.pdf
Date

Sharp UP-5300 (serv.man2) Service Manual ▷ View online

[Notes]
1) is the same as ESC i / ESC m.
In case of 2), the paper is cut after being fed to the cut position when
“n” is 0, and is cut after being fed to the position of (cut posi-
tion+[n
×
(basic calculation pitch)]) when “n” is not 0.
Caution:
After this command is executed,
You had better execute one line
feed or one line print to prevent
the Paper Jam.
[Reference]
ESC i:
Paper cut
ESC m:
Paper cut
No.
COMMAND
FUNCTION
CODE
51
GS a n
Enable/disable automatic
status transmission
<1Dh><61h> n
[Range]
à
 n 
à
 255
[Function] 
Selects which status is to be covered by automatic status transmis-
sion.
The meaning of each bit of “n” is as follows.
bit
Status to be covered by automatic status transmission
0
Not defined
1
Online/Offline
1: Enabled 0: Disabled
2
Error state
1: Enabled 0: Disabled
3
Paper detector
1: Enabled 0: Disabled
4
Not defined
5
Not defined
6
Not defined
7
Not defined
If no status is selected, automatic status transmission is disabled. 
If at least one status is selected, automatic status transmission is
enabled and 4-byte data is transmitted each time the selected status
changes.
The data to be transmitted are listed on the next page.
[Notes]
The status is transmitted without checking the DSR signal. 
4 bytes are sent continuously when transmitting the status except for
XOFF.
[Reference]
DLE EOT:
Transmit status in real time
ESC v:
Transmit paper detector status
1st byte (printer information) 
bit
Function
Value 0/1
Select bit
0
Not used
Fixed to 0
1
Not used
Fixed to 1
2
Not defined
3
Online/Offline state
Online/Offline
1
4
Not used
Fixed to 1
5
HEAD UP LEVER
Close/Open
1
6
Paper feed SW
Paper not being fed/
Paper being fed
1
7
Not used
Fixed to 0
2nd byte (error information)
bit
Function
Value 0/1
Select bit
0
Not defined
1
Not defined
2
Not defined
3
Auto cutter error
No error caused/
Error caused
2
4
Not used Fixed to 1
5
Unrecoverable
printer error
No error caused/
Error caused
2
6
Head temperature
rise
No error caused/
Error caused
2
7
Not used
Fixed to 0
3rd byte (paper detector information)
bit
Function
Value 0/1
Select bit
0
Near end detector
Paper is present/
Paper is out
3
1
Not defined
2
Not defined
3
Paper end detector
Paper is present/
Paper is out
3
4
Not used
Fixed to 0
5
Not defined
6
Not defined
7
Not used
Fixed to 0
4th byte: dummy
No.
COMMAND
FUNCTION
CODE
52
GS F n
Select font for HRI
character
<1Dh><66h> n
[Range]
à
 n 
à
 1, 48 
à
 n 
à
 49
[Function] 
Selects the font for HRI characters used when printing the bar code. 
The font selected by “n” is shown below. 
n
Font
0, 48
Font A
1, 49
Font B
[Default]
n = 0
[Reference]
GS H
No.
COMMAND
FUNCTION
CODE
53
GS h n
Select height of bar code
<1Dh><68h> n
[Range]
à
 n 
à
 255
[Function] 
Selects the height of bar code.
“n” specifies the number of dots in the vertical direction. [Default]
[Default] 
n = 162
4 – 14
No.
COMMAND
FUNCTION
CODE
54
1) GS k m [data] k NUL
2) GS k m n [data] k
Print bar code
<1Dh><6Bh> n
[Range]
1
à
 m 6, 1 
à
 k 
à
 255, 32 
à
 data 
à
 126
2
65 
à
 m 
à
 73, 1 
à
 k 
à
 255, 0 
à
 data 
à
 255
[Function] 
Selects the bar code system specified by “m” and prints the bar code.
m
Bar code
system
Number of bar
code data
Range of DATA
1
0
UPC-A
Fixed
(11 
à
 k 
à
 12)
48 
à
 data 
à
 57
1
UPC-E
Fixed 
(11 
à
 k 
à
 12)
48 
à
 data 
à
 57
2
EAN-13
Fixed 
(12 
à
 k 
à
 13)
48 
à
 data 
à
 57
3
EAN-8
Fixed 
(7 
à
 k 
à
 8)
48 
à
 data 
à
 57
4
CODE39
Variable
48 
à
 data 
à
 57, 65
à
 data 
à
 90 
32, 36, 37, 43, 45,
46, 47
data1=data2=42*1
(startcode/endcode)
5
Interleaved 2 of
5 (ITF)
Variable (must
be an even
number)
48 
à
 data 
à
 57
6
CODABAR
(NW-7)
Variable
65 
à
 data 1 
à
 68 *2
48 
à
 data 
à
 57, 36,
43, 45, 46, 47, 58
2
65
UPC-A
Fixed 
(11 
à
 k 
à
 12)
48 
à
 data 
à
 57
66
UPC-E
Fixed 
(11 
à
 k 
à
 12)
48 
à
 data
à
 57
67
EAN-13
Fixed 
(12 
à
 k 
à
 13)
48 
à
 data 
à
 57
68
EAN-8
Fixed 
(7 
à
 k 
à
 8)
48 
à
 data 
à
 57
69
CODE39
Variable
48 
à
 data 
à
 57,65
à
 data 
à
 90
32, 36, 37, 43, 45,
46, 47
data1=data 2=42*1
(startcode/endcode)
70
Interleaved 2 of
5 (ITF)
Variable (must
be an even
number)
48 
à
 data 
à
 57
71
CODABAR
(NW-7)
Variable
65 
à
 data 1 
à
 68 *2
48 
à
 data 
à
  57,
36, 43, 45, 46
47, 58
72
CODE93
Variable
à
 data 
à
 127
73
CODE128
Variable
à
 data 
à
 127 
*1: Start/stop code omissible
*2: Start code,Stop code
Command of 
1
: Ends with [00] code. “data” indicates the character
code to be printed and “k” indicates the number of
characters to be printed.
Command of 
2
: [n] indicates the number of bar code data and “n”
bytes are processed as bar code data starting from
the next data. “k” indicates the number of charac-
ters to be printed.
[Notes]
Common to 
1
 and 
2
In each bar code system, if a code cannot be printed, the printer
prints the processed data and the following data is treated as
normal data.
Bar code printing is inhibited during printing.
In case of 
1
The bar code data of “Interleaved 2 of 5 (ITF)” must be an even
number. If an odd number is entered, character “0” is automat-
ically added to the beginning. 
In case of 
2
The bar code data of “Interleaved 2 of 5 (ITF)” must be an even
number. If an odd number is entered, the command is ignored.
CODE93 bar code
Start character (
k
) is printed at the beginning of the HRI character
string.
Stop character (
k
) is printed at the end of the HRI character
string.
The HRI character of control character is composed of 
 and one
alphabetic character.
Control character
ASCII
Hexadecimal
Decimal
HRI character
NUL
00
 00
U
SOH
01
 01
A
STX
02
 02
B
ETX
03
 03
C
EOT
04
 04
D
ENQ
05
 05
E
ACK
06
 06
F
BEL
07
 07
G
BS
08
 08
H
HT
09
 09
I
LF
0A
 10
J
VT
0B
 11
K
FF
0C
 12
L
CR
0D
 13
M
SO
0E
 14
N
SI
0F
 15
O
DLE
10
 16
P
DC1
11
 17
Q
DC2
12
 18
R
DC3
13
 19
S
DC4
14
 20
T
NAK
15
 21
U
SYN
16
 22
V
ETB
17
 23
W
CAN
18
 24
X
EM
19
 25
Y
SUB
1A
 26
Z
ESC
1B
 27
A
FS
1C
 28
B
GS
1D
 29
C
RS
1E
 30
D
US
1F
 31
E
DEL
7F
127
T
4 – 15
CODE128 bar code
CODE128, which is made by encoding full ASCII 128 characters,
represents different things by using three start codes which are
functions.
CODE A: Able to represent ASCII characters 00H through 5FH.
CODE B: Able to represent ASCII characters 20H through 7FH.
CODE C: Represents 2-digit numbers (00-99) with one character.
1
The start character (CODE A/CODE B/CODE C) must be
selected at the beginning of the bar code data.
2
The special character is specified by “{” plus one character.
ASCII character “{” itself is specified by sending two charac-
ters “{” successively. 
Special
character
Transmit data
ASCII
Hexadecimal
Decimal
SHIFT
{S
7B, 53
123, 83
CODE A
{A
7B, 41
123, 65
CODE B
{B
7B, 42
123, 66
CODE C
{C
7B, 43
123, 67
FNC1
{1
7B, 31
123, 49
FNC2
{2
7B, 32
123, 50
FNC3
{3
7B, 33
123, 51
FNC4
{4
7B, 34
123, 52
{
{ {
7B, 7B
123, 123
The HRI characters of SHIFT / CODE A, B, C / FNC 1, 2, 3 are
not printed.
Characters which can be printed using CODE A 
Character
Transmit data
Hexadecimal
Decimal
NUL
00
0
SOH
01
1
STX
02
2
ETX
03
3
EOT
04
4
ENQ
05
5
ACK
06
6
BEL
07
7
BS
08
8
HT
09
9
LF
0A
10
VT
0B
11
FF
0C
12
CR
0D
13
SO
0E
14
SI
0F
15
DLE
10
16
DC1
11
17
DC2
12
18
DC3
13
19
DC4
14
20
NAK
15
21
SYN
16
22
ETB
17
23
CAN
18
24
EM
19
25
SUB
1A
26
ESC
1B
27
FS
1C
28
GS
1D
29
RS
1E
30
US
1F
31
SP
20
32
!
21
33
22
34
Character
Transmit data
Hexadecimal
Decimal
#
23
35
$
24
36
%
25
37
&
26
38
27
39
(
28
40
)
29
41
*
2A
42
+ 2B
43
, 2C
44
-
2D
45
.
2E
46
/
2F
47
0
30
48
1
31
49
2
32
50
3
33
51
4
34
52
5
35
53
6
36
54
7
37
55
8
38
56
9
39
57
:
3A
58
;
3B
59
<
3C
60
=
3D
61
>
3E
62
?
3F
63
 
@
40
64
A
41
65
B
42
66
C
43
67
D
44
68
E
45
69
Character
Transmit data
Hexadecimal
Decimal
F
46
70
G
47
71
H
48
72
I
49
73
J
4A
74
K
4B
75
L
4C
76
M
4D
77
N
4E
78
O
4F
79
P
50
80
Q
51
81
R
52
82
S
53
83
T
54
84
U
55
85
V
56
86
W
57
87
X
58
88
Y
59
89
Z
5A
90
[
5B
91
\
5C
92
]
5D
93
~
5E
94
_
5F
95
FNC1
7B, 31
123, 49
FNC2
7B, 32
123, 50
FNC3
7B, 33
123, 51
FNC4
7B, 34
123, 52
SHIFT
7B, 53
123, 83
CODE B
7B, 42
123, 66
CODE C
7B, 43
123, 67
4 – 16
Characters which can be printed using CODE B
Character
Transmit data
Hexadecimal
Decimal
SP
20
32
!
21
33
22
34
#
23
35
$
24
36
%
25
37
&
26
38
27
39
(
28
40
)
29
41
*
2A
42
+ 2B
43
2C
44
-
2D
45
.
2E
46
/
2F
47
0
30
48
1
31
49
2
32
50
3
33
51
4
34
52
5
35
53
6
36
54
7
37
55
8
38
56
9
39
57
:
3A
58
;
3B
59
<
3C
60
=
3D
61
>
3E
62
?
3F
63
 
@
40
60
A
41
61
B
42
66
Character
Transmit data
Hexadecimal
Decimal
C
43
67
D
44
68
E
45
69
F
46
70
G
47
71
H
48
72
I
49
73
J
4A
74
K
4B
75
L
4C
76
M
4D
77
N
4E
78
O
4F
79
P
50
80
Q
51
81
R
52
82
S
53
83
T
54
84
U
55
85
V
56
86
W
57
87
X
58
88
Y
59
89
Z
5A
90
[
5B
91
\
5C
92
]
5D
93
~
5E
94
_
5F
95
60
96
a
61
97
b
62
98
c
63
99
d
64
100
e
65
101
Character
Transmit data
Hexadecimal
Decimal
f
66
102
g
67
103
h
68
104
i
69
105
j
6A
106
k
6B
107
l
6C
108
m
6D
109
n
6E
110
o
6F
111
p
70
112
q
71
113 
r
72
114 
s
73
115 
t
74
116 
u
75
117 
v
76
118 
w
77
119 
x
78
120 
y
79
121 
z
7A
122 
{
7B, 7B
123, 123 
|
7C
124 
} 7D
125 
 7E
126 
DEL
7F
127 
FNC1
7B, 31
123, 49 
FNC2
7B, 32
123, 50 
FNC3
7B, 33
123, 51 
FNC4
7B, 34
123, 52 
SHIFT
7B, 53
123, 83 
CODE A
7B, 41
123, 65 
CODE C
7B, 43 
123, 67
4 – 17
Page of 74
Display

Click on the first or last page to see other UP-5300 (serv.man2) service manuals if exist.