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

When the image data is to be printed, the corresponding bit is 1;
otherwise it is 0.
The image modes selectable by “m” are as follows. 
m
Mode
Number of
dots in vertical
direction
Maximum number of
dots in horizontal
direction
0
8-dot single-density
8
288
1
8-dot double-density
8
576
32
24-dot single-density
24
288
33
24-dot double-density
24
576
[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. 
Bit image data print example) 
8-dot bit image 
24-dot bit image
d1 d2 d3
MSB
LSB
Bit image data
d1
d2
d3
Print data
means 1 dot
Single-density
Double-density
d1 d4 d7
MSB
LSB
Bit image data
d2 d5 d8
d3 d6 d9
d1
d2
d3
d4
d5
d6
d7
d8
d9
Print data
means 1 dot
Single-density
Double-density
4 – 6
No.
COMMAND
FUNCTION
CODE
15
ESC - n
Select/cancel underline
<1Bh><2Dh> n
[Range]
à
 n 
à
 2
48 
à
 n 
à
 50
[Function] 
Selects or cancels the underline. 
When n=0 or 48, the underline is canceled. 
When n=1 or 49, the 2-dot-wide underline is selected. 
When n=2 or 50, the 3-dot-wide underline is selected. 
[Notes] 
No underline is provided in the following cases. 
1) Laterally-turned character 
2) Blank portions specified by set absolute position/set relative
position 
The same processing as “select/cancel underline” using ESC ! is
performed. 
[Default] 
n = 0 
[Reference] 
ESC ! 
No.
COMMAND
FUNCTION
CODE
16
ESC 2
Set 30/203 inch line feed
amount
<1Bh><32h> 
[Function]
Sets the distance for one line feed to 30/203 inch. 
The line spacing is 6 dots.
Caution
In case of double-height, the line spacing is 0 dots. 
If the line spacing is less than 6 dots, 
printing may be disturbed when printing is started
from the printer stop state. 
In this case, printing must be made with the printer
in the operating state 
(continuous printing from the previous line).
[Reference]
ESC 3: Set line feed amount 
No.
COMMAND
FUNCTION
CODE
17
ESC 3 n
Set line feed amount
<1Bh><33h>
[Range]
à
 n 
à
 255
[Function]
Sets the distance for one line feed to [n 
×
(basic calculation pitch)]
inch. 
Caution
If the line spacing is less than 6 dots, 
printing may be disturbed 
when printing is started from the printer stop state.
In this case, printing must be made with the printer
in the operating state 
(continuous printing from the previous line). 
[Default]
n = 30 (30/203 inch) 
[Reference] 
ESC 2: Set 30/203 inch line feed amount 
No.
COMMAND
FUNCTION
CODE
18
ESC 4 n [DATA]
(72xn)
Set logo stamp
<1Bh><34h> n ...
[Range]
à
 n 
à
 240: Number of dots in vertical direction 
[Function] 
Sets the logo stamp. 
Setting is made with side slice. 
Stamp setting of MAX 30 mm in vertical size is possible. 
UP-T80BP has 2 stamp data area, and can set or print each of them.
In this command, data is set for stamp No. 0.
This command acts same as following command;
ESC 6 <00h> n ...
[Notes]
In printing the logo between the print position and cut position, verti-
cal size of 14.5 mm can be used.
This size can be set by using n = 108.
6-dot feed is performed before the logo stamp data is printed. 
[Default]
n = 160 (30/203 inch) 
DATA = Default stamp data
[Reference]
ESC 6 m n: Set logo stamp (select stamp No.)
ESC o: Print logo stamp 
GS o m: Print logo stamp (select stamp No.)
[Notice]
The UP-T80BP can not receive data while writing the logo stamp data
in internal memory.
The UP-T80BP inform it to host by sending XOFF character or turn-
ing off DTR signal.
When you turn off the UP-T80BP or execute a Master Reset,this data
remains.
When this command execute, the image setting data is cleared.
No.
COMMAND
FUNCTION
CODE
19
ESC 6 m n
[DATA] (72xn)
Set logo stamp
<1Bh><36h> m n ...
[Range]
à
 m 
à
 1: Setting stamp No.
à
 n 
à
 240: Number of dots in vertical direction
[Function]
Sets the logo stamp.
Setting is made with side slice.
Stamp setting of MAX 30 mm in vertical size is possible.
UP-T80BP has 2 stamp data area, and can set or print each of them.
Select stamp No. by "m".
[Notes]
In printing the logo between the print position and cut position, verti-
cal size of 14.5 mm can be used.
This size can be set by using n=108.
6-dot  feed is performed before the logo stamp data is printed.
4 – 7
[Default]
n = 160 (30/203 inch)
DATA = Default stamp data
[Reference]
ESC4n:
Set logo stamp
ESC0:
Print logo stamp
GS o m: Print logo stamp (select stamp No.)
[Notice]
UP-T80BP can not receive a data during writing the logo stamp data
in internal memory.
UP-T80BP inform it to host by sending XOFF charater or turning off
DTR signal.
When you turn off UP-T80BP or you execute Master Reset, this data
is remained. So you need not to execute it frequenfly.
When this command execute, the image setting data is cleared.
No.
COMMAND
FUNCTION
CODE
20
ESC = n
Set peripheral device
<1Bh><3Dh> n
[Range]
à
 n 
à
 255 
[Function] 
Sets the operation of the peripheral devices.
bit
Peripheral device
1/0
0
Printer
Valid/Disabled
[Default]
n = 1
 
No.
COMMAND
FUNCTION
CODE
21
ESC ? n
Delete user-defined
character
<1Bh><3Fh> n
[Range]
32 
à
 n 
à
 126
[Function] 
Deletes the user-defined character for the specified code. 
[Notes] 
The specified code is set to the normal character. 
[Reference]
ESC &: Set user-defined character 
ESC %: Select user-defined character 
No.
COMMAND
FUNCTION
CODE
22
ESC @
Initialize printer
<1Bh><40h>
[Function]
Initializes the printer setting data.
[Notes]
The following data are not initialized.
Macro setting data
Receive buffer data
Stamp data
No.
COMMAND
FUNCTION
CODE
23
ESC J n
Print and feed paper
<1Bh><4Ah>
[Range]
à
 n 
à
 255
[Function] 
Prints the data in the print buffer and feeds the paper for “n 
×
 (basic
calculation pitch)”. 
No.
COMMAND
FUNCTION
CODE
24
ESC L
Select page mode
<1Bh><4Ch>
[Function]
Switches from the standard mode to the page mode.
[Notes]
This command is valid only when entered at the beginning of a line.
[Reference]
FF: Prints the page data
No.
COMMAND
FUNCTION
CODE
25
ESC Rn
Select international character
<1Bh><52h>
[Range]
à
 n 
à
 10
[Function] 
Selects a character set among those shown in the table below ac-
cording to the value of “n”. 
n
Character set
0
U.S.A.
1
France
2
Germany
3
U.K.
4
Denmark I
5
Sweden
6
Italy
7
Spain
8
Japan
9
Norway
10
Denmark II
[Notes]
If “n” is out of the range, this command is ignored.
[Default]
n = 0 
No.
COMMAND
FUNCTION
CODE
26
ESC S
Select standard mode
<1Bh><53h>
[Function]
Switches from the page mode to the standard mode.
[Notes]
This command is valid only when entered at the beginning of a line.
[Reference]
ESC L: Select page mode 
No.
COMMAND
FUNCTION
CODE
27
ESC V n
Set/cancel 90clockwise
rotated character printing
<1Bh><56h> n
[Range]
à
 n 
à
 1   48 
à
 n 
à
 49
[Function] 
Sets or cancels 90° cw (clockwise) rotated character printing accord-
ing to the value of “n”. 
4 – 8
n
Function
0, 48
Cancels 90° cw rotated character printing
1, 49
Sets 90° cw rotated character printing
[Notes]
No underline is provided for 90° cw (clockwise) rotated characters.
Double-width/double-height setting is reversed.
If “n” is out of the range, this command is ignored. 
[Default] 
n = 0
[Reference] 
ESC SP: Right margin setting valid
ESC !:
No underline is printed. 
Double-width/double-height setting is reversed. 
No.
COMMAND
FUNCTION
CODE
28
ESC \ n1n2
Set relative position
<1Bh><5Ch> mn
[Range]
à
 n1 
à
 255
à
 n2 
à
 255
[Function] 
Based on the current position, sets the print starting position through
calculation using the basic calculation pitch. 
A positive number specifies the print starting position to the right of
the current position; a negative number to the left.
Negative numbers are specified using the supplement of N. 
The print starting position is determined through the following calcula-
tion. 
To the right 
n1 + n2 
×
 256 = N
Example 
1 dot to the right:
n1=1, n2=0 
2 dots to the right:
n1=2, n2=0 
3 dots to the right:
n1=3, n2=0 
        :
576 dots to the right: n1=64, n2=2 
        :
To the left 
n1 + n2 
×
 256 = 65536 – N 
Example
1 dot to the left:
n1=255, n2=255 
2 dots to the left:
n1=254, n2=255 
3 dots to the left:
n1=253, n2=255 
        :
360 dots to the left: n1=192, n2=253 
        :
The distance between the print starting position and the beginning of
the line is as follows. 
×
 (basic calculation pitch) 
[Notes]
Any specification that exceeds the end of the line is ignored.
This calculation is made based on the basic pitch in the horizontal
direction.
In case of overlapping with the print data expanded currently, over-
printing is performed. 
[Reference] 
ESC $: Set absolute position
No.
COMMAND
FUNCTION
CODE
29
ESC a n
Align positions
<1Bh><61h> n
[Range]
à
 n 
à
 2 
48 
à
 n 
à
 50
[Function] 
Aligns all the data in one line to the specified position. 
The value of “n” specifies the alignment as follows. 
n
Position
0, 48
Align left
1, 49
Align center
2, 50
Align right
[Notes]
This command is valid only when set at the beginning of a line. Blank
portions specified by set absolute position/set relative position are
also covered by this command. 
[Default] 
n = 0 
[Print example] 
Align left 
Align center
Align right
 ABC
 ABCD
 ABCDE
      ABC
     ABCD
    ABCDE
           ABC
         ABCD
       ABCDE
No.
COMMAND
FUNCTION
CODE
30
ESC c 4 n
Select paper-end
detector to stop
printing
<1Bh><63h><34h> n
[Range]
à
 n 
à
 255
[Function] 
Selects which paper-end detector causes the printer to stop printing. 
When printing is stopped, the line being printed is completed. 
Even if printing stop is invalid, the printer stops printing and the print
data is discarded when the paper is out. 
The meaning of each bit of “n” is as follows. 
bit
Description
0/1
0
Near-end detector
Invalid/Valid
1
2
3
Receipt end detector
Invalid/Valid
4
5
6
7
[Notes]
Whether the printer goes OFF-LINE or not depends on the setting of
the dip switch.
[Default]
n = 0
No.
COMMAND
FUNCTION
CODE
31
ESC c 5 n
Enable/disable
panel switch
<1Bh><63h><35h> n
[Range]
à
 n 
à
 255
4 – 9
Page of 74
Display

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