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

[Function] 
Enables or disables the panel switch.
Only the lowest bit of “n” is valid. 
When n=*******0, the panel switch is enabled.
When n=*******1, the panel switch is disabled. 
[Notes]
This command is valid for the online key and paper feed key.
[Default]
n = 0
No.
COMMAND
FUNCTION
CODE
32
ESC d n
Print and feed paper “n”
lines
<1Bh><63h>
<35h> n
[Range]
à
 n 
à
 255
[Function] 
Prints the data in the print buffer and feed the paper for “n” lines.
[Default] 
n = 0 
No.
COMMAND
FUNCTION
CODE
33
ESC i
Full cut
<1Bh><69h>
[Function]
Executes a full cut of the paper.
[Notes]
Valid only at the beginning of a line
Caution:
After this command is executed, 
You had better execute one line
feed or one line print to prevent
the Paper Jam.
No.
COMMAND
FUNCTION
CODE
34
ESC m
Partial cut
<1Bh><6Dh>
[Function]
Executes a partial cut of the paper.
[Notes]
Valid only at the beginning of a line
Caution:
After this command is executed,
You had better execute one line
feed or one line print to prevent
the Paper Jam.
No.
COMMAND
FUNCTION
CODE
35
ESC o
Print stamp
<1Bh><6Fh>
[Function]
Stamp printing of MAX 30 mm in vertical size is performed.
UP-T80BP has 2 stamp data area, and can set or print each of them.
In this command, print stamp No. 0.
This command acts same as following command;
GS o <00h>
[Notes]
Valid only at the beginning of a line.
6-dot feed is performed regardless of the line feed pitch setting before
the stamp data is printed.
[Reference]
ESC 4 n:
Set logo stamp
ESC 6 m n: Set logo stamp (select stamp No.)
GS o m:
Print logo stamp (select stamp No.)
[Reference]
A distance of 14.5 mm is provided between the cutter position and
thermal head position. In printing the stamp between them, vertical
size of 13.5 mm can be used.
The following methods are used to print the stamp data between the
cut position and print position.
1) Execution of print stamp command (ESC o)
2) Execution of cut command (ESC I)
Stamp printing in this case is for the next receipt. 
No.
COMMAND
FUNCTION
CODE
36
GS o m
Print stamp
<1Dh><6Fh> m
[Range]
à
 m 
à
 1: Printing stamp No.
[Function]
Stamp printing of MAX 30 mm in vertical size is performed.
UP-T80BP has 2 stamp data area, and can set or print each of them.
Select stamp No. by "m".
[Note]
Valid only at the beginning of a line.
6-dot feed is performed regardless of the line feed pitch setting before
the stamp data is printed.
[Reference]
ESC 4 n:
Set logo stamp
ESC 6 m n: Set logo stamp (select stamp No.)
ESC o:
Print logo stamp
[Reference]
A distance of 14.5 mm is provided between the cutter position and
thermal head position. In printing the stamp between them, vertical
size of 13.5 mm can be used.
The following methods are used to print the stamp data between the
cut position and print position.
1) Execution of print stamp command (ESC o)
2) Execution of cut command (GS V 1)
Stamp printing in this case of for the next receipt.
No.
COMMAND
FUNCTION
CODE
37
ESC q n
Set power failure mark
<1Bh><71h>n
14.5mm
13.5mm
Cutter position
Print position
(Thermal head
position)
Stamp
14.5mm
13.5mm
Cutter position
Print position
(Thermal head
position)
Stamp
4 – 10
[Range]
à
 n 
à
 255
DATA: ASCII code
[Function] 
Prints the mark of interrupted printing when power failure is caused
during printing.
Sets this mark.
Performs on-line printing of this character when power failure is
caused during printing. 
[Default]
DATA : “=” (3Dh)
No.
COMMAND
FUNCTION
CODE
38
ESC t n
Select character code table
<1Bh><74h> n
[Range]
à
 n 
à
 27
254 
à
 n 
à
 255
[Function] 
Selects the character listed on page “n” of the character code table.
Page
Character type
0
PC437: U.S.A., Standard Europe
1
PC932: Japanese
2
PC850: Multilingual
3
PC860: Portuguese
4
PC863: Canadian-French
5
PC865: Nordic
6
PC869: Greece
7
PC852: Slavic
254
Original
255
Blank page
[Default]
n = 0
No.
COMMAND
FUNCTION
CODE
39
ESC v
Transmit paper detector status
<1Bh><76h>
[Function]
Transmits the status of the paper detector when the command is
executed. 
The status to be transmitted is as shown below.
bit
Function
Value 0/1
0
Near-end detector
Paper is present/Paper is out
1
Not defined
2
Not defined
3
Paper end
Paper is present/Paper is out
4
Not used
Fixed to 0
5
Not defined
6
Not defined
7
Not used
Fixed to 0
[Notes]
When DTR/DSR control is selected, the status is transmitted after the
printer confirms that the host computer is ready to receive data (DSR
signal is ON). If the host computer is not ready to receive data (DSR
signal is OFF), the printer waits until the computer is ready.
When XON/XOFF control is selected, one byte is transmitted without
checking if is ready to receive data. 
This command is executed during receive buffer expansion.  There-
fore, if there is other data in the receive buffer, some delay may be
caused between command receiving and status transmitting.
[Reference]
DLE EOT:
Transmit status in real time
GS a:
Transmit automatic status 
GS r:
Transmit status 
No.
COMMAND
FUNCTION
CODE
40
ESC { n
Set/cancel upside-down
character printing
<1Bh><7Bh> n
[Range]
à
 n 
à
 255
[Function] 
Sets or cancels upside-down character printing.
Only the lowest bit of “n” is valid. 
When bit 0 is equal to 0, upside-down character printing is can-
celed.
When bit 0 is equal to 1, upside-down character printing is set. 
[Notes]
Valid only when entered at the beginning of a line.
[Default]
n = 0
No.
COMMAND
FUNCTION
CODE
41
GS ! n
Select character size
<1Dh><21h> n
[Range]
à
 n 
à
 255
[Function] 
Selects the character size of Normal/Double/Quadruple (Height and
Width).
bit
Function
0
Height
000 : Normal
1
001 : Double
2
011 : Quadruple
3
4
Width
000 : Normal
5
001 : Double
6
011 : Quadruple
7
[Notes]
Height represents the vertical direction; width represents the horizon-
tal direction. When 90° cw rotated character printing is set, height and
width are reversed. Double-height/double-width selected using ESC !
is disabled by this command.
[Default]
n = 0
[Reference]
[ESC] !: Set character mode
No.
COMMAND
FUNCTION
CODE
42
GS * n1 n2 [data]
(n1 
×
 n2 
×
 8)
Set image data
<1Dh><2Ah> ...
[Range]
à
 n1 
à
 72: Horizontal size
à
 n2 
à
 255: Vertical size
n1 
×
 n2 
à
 2880
à
 data 
à
 255
4 – 11
[Function] 
Defines the image data with the number of dots specified by n1 and
n2.
The number of dots in the horizontal direction is n1
×
8, and in the
vertical direction is n2 
×
 8.
“data” specifies the bit image data.
Black printing is 1; white printing is 0.
[Notes]
The set user-defined character data is not cleared until the
MASTER RESET and ESC @ commands are received.
If the above-mentioned data is out of the range, the setting is
disabled.
Image data memory structure
 
No.
COMMAND
FUNCTION
CODE
43
GS / n
Print image data
<1Dh><2Fh> n
[Range]
à
 n 
à
 3, 48 
à
 n  
à
 51
[Function] 
Prints the image data using the print mode specified by “m”. The dot
density selected by “m” is shown below.
m
Print mode
0, 48
Normal mode
1, 49
Double-width mode
2, 50
Double-height mode
3, 51
Quadruple mode
[Notes]
Image data printing is ignored while printing is performed. 
If the image data exceeds one line, the excess data is not printed.
6-dot feed is performed regardless of the line feed pitch setting before
the stamp data is printed.
[Reference]
[GS] *: Set image data 
No.
COMMAND
FUNCTION
CODE
44
GS:
Set starting/ending
position of macro definition
<1Dh><3Ah>
[Function]
Specifies the starting or ending position of the macro definition. 
If this command is received while defining the macro, it ends the
definition.
[Notes]
The macro range can be set up to 2048 bytes. 
Even if ESC @ is executed, the macro definition is not cleared. 
Normal printing operation is possible while defining the macro.
[Reference]
[GS] ^: Execute macro 
No.
COMMAND
FUNCTION
CODE
45
GS ^ r t m
Execute macro
<1Dh><5Eh> ...
[Function]
Executes the macro definition. 
r: Specifies the number of times to execute the macro. 
t:
Specifies the waiting time for executing the macro. 
Waiting time of t
×
100 msec is required for one execution:
Specifies the macro executing mode. 
m = 0 Continuous macro execution.
Executes “r” times continuously at the interval specified by
“t”. 
m = 1 Executes the macro by pressing the paper feed key.
After waiting the period specified by “t”, the ERROR LED
blinks and the printer waits for the receipt paper feed key
to be pressed. After the paper feed key is pressed, the
printer executes the macro once. The printer repeats this
operation “r” times.
[Notes]
If this command is received while defining the macro, the macro
definition is aborted. 
If the macro is not defined or if “r” is 0, nothing is executed. 
Paper cannot be fed with the receipt paper feed key while executing
the macro when “m” is 1. 
[Reference]
[GS]: Set starting/ending position of macro definition 
No.
COMMAND
FUNCTION
CODE
46
GS E n
Select print dendity
<1Dh><45h> n
[Range]
à
 n 
à
 99
[Function] 
Selects the print density. 
n = 00: 70% of standard density
n = 62: Standard density
n = 99: 118 % of standard density
n1x8-dots
n2
x8
d1
dn2
+1
d(n2)x2+1
d2
dn2
+2
dn2
d(n)x2
2
dn2 xn1 x8
MSB
LSB
Bit image
4 – 12
[Default]
Print density selection
Default "n"
Level 1
0
Level 2
17
Level 3
33
Level 4
50
Level 5
62
Level 6
75
Level 7
87
Level 8
99
No.
COMMAND
FUNCTION
CODE
47
GS H n
Select printing position of
HRI character
<1Dh><48h> n
[Range]
à
 n 
à
 3, 48 
à
 n 
à
 51
[Function] 
Selects the HRI character printing position of HRI characters when
printing the bar code.
The printing position selected by “n” is shown below.
n
Printing position
0, 48
Not printed
1, 49
Above the bar code
2, 50
Below the bar code
3, 51
Both above and below the bar code
[Notes]
HRI characters are printed using the font specified by GS f.[Default]
[Default]
n = 0
[Reference]
GS f:: Select font for HRI character
No.
COMMAND
FUNCTION
CODE
48
GS I n
Transmit printer ID
<1Dh><49h> n
[Range]
à
 n 
à
 3, 49 
à
 n 
à
 51
[Function] 
Transmits the printer ID shown below according to “n” when execut-
ing the command.
n
Type
Details
Data
1, 49
Model
UP-T80BP
02h
2, 50
Set ID
See the table below
3, 51
ROM version
ROM version
Ex) 1Ah
bit
Description
0
Ready for kanji character   Yes/No 1/0
1
Not defined
2
Not defined
3
Not defined
4
Fixed to 0
5
Not defined
6
Fixed to 0
7
Fixed to 0
[Notes]
When DTR/DSR control is selected, the status is transmitted after the
printer confirms that the host computer is ready to receive data (DSR
signal is ON). If the host computer is not ready to receive data (DSR
signal is OFF), the printer waits until the computer is ready.
When XON/XOFF control is selected, one byte is transmitted without
checking if is ready to receive data.
This command is executed during receive buffer expansion. There-
fore, if there is other data in the receive buffer, some delay may be
caused between command receiving and status transmitting.
The ROM version is changed each time the ROM is changed.
 
No.
COMMAND
FUNCTION
CODE
49
GSP n1n2
Set basic line feed pitch
<1Dh><50h> ...
[Range]
à
 n1 
à
 203, 0 
à
 n2 
à
 203
[Function] 
The basic calculation pitch in the horizontal direction is (1/n1) inch;
the basic calculation pitch in the vertical direction is (1/n2) inch.
Returns to the initial value (n1=203, n2=203) when n1 is 0 and n2 is
0.
[Notes]
Even if this command is executed, the other settings used currently
are not changed. That is, the other set data are changed only when
the corresponding setting is made after the basic line feed pitch is
changed.
The result of calculation combined with other commands for paper
feed amount setting, etc. is corrected with the minimum pitch (1/203)
and the remainder is discarded. 
[Default]
n1 = n2 = 203
[Reference]
ESC SP: Set character right-side spacing 
ESC $:
Set absolute position
ESC 3:
Set line feed amount 
ESC J:
Print and feed paper 
ESC \:
Set relative position
GS V:
Cut paper
No.
COMMAND
FUNCTION
CODE
50
1) GS V m
2) GS V m n
Cut paper
<1Dh><56h>
[Range]
1) 0 
à
 m 
à
 1, 48 
à
 m 
à
 49
2) 65 
à
 m 
à
 66, 0 
à
 n 
à
 255
[Function] 
Executes a cut of the paper as specified by “m”.
1) m = 0, 1, 48, 49: Paper cut
2) m = 65, 66 :
Paper feed for (cut position+[n
×
(basic calculation pitch)]) and
paper cut 
4 – 13
Page of 74
Display

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