RP-3180
MINI Thermal
Printer
USER'S MANUAL
TVS Electronics Limited
MANUAL REVISION V8.1
INTRODUCTION
Table of Contents
The RP-3180 Thermal Printer is designed for use with electronic instruments
such as system ECR, POS, banking equipment, computer peripheral
equipment, etc.
1
Chapter 1. Setting up the Printer ...............................................
1-1. Unpacking ............................................................................
1-2. Installing theprinter ...............................................................
1-3. Using thePrinter ....................................................................
Chapter 2. Connecting the cables .............................................
2-1. Connecting theAC Cable .......................................................
2-2. Connecting theAC adapter tothe printer ................................
2-3. Connecting InterfaceCable and DrawerCable to theprinter .....
Chapter 3. Installing the roll paper ............................................
3-1. Installing orReplacing the Paper Roll ......................................
3-2. Removing JammedPaper .......................................................
3-3. Cleaning thePrint Head ..........................................................
Chapter 4. The self test ..............................................................
Chapter 5. Hexadecimal Dumping ..............................................
Chapter 6. DIP Switch Functions.................................................
Chapter 7. Interface ....................................................................
Chapter 8. Specification .............................................................
Chapter 9. PRINT CONTROL COMMAND ....................................
9-1 Command List........................................................................
9-2 Descriptions ofEach Item ........................................................
9-3 Control Commands.................................................................
Chapter 10. Printer Driver .........................................................
10-1 How touse Logo DownloadTool ............................................
10-2 Setting PrinterProperties .....................................................
1
1
The main features of theprinter are asfollows:
1. High speed printing: 180mm per second max.
2. Low noise thermal printing.
3. RS-232, Parallel, USB interface Selectable.
4. The data buffer allows the unit to receive print data even during printing.
5. Peripheral units drive circuit enables control of external devices such as
cash drawer.
6. Bar code printing is possible by using a bar code command.
7. Support auto Store Logo or Hello Logo printing.
8. Enable to change some functions by DIP Switch.
2
3
3
3
4
5
5
6
Please be sureto read theinstruction in thismanual carefully before
using your newRP-3180.
6
7
7
8
9
11
12
12
13
13
29
30
32
WARNING
Some semiconductor devices are easily damaged by static
electricity. You should turn the printer"OFF", before you connect or
remove the cables on the rear side, in order to guard the printer
against the static electricity. If the printer is damaged by the static
electricity,you should turn the printer"OFF".
NOTE: The socket-outlet shall benear the equipment and itshall be
easy accessible.
All specifications aresubjected to changewithout notice.
1-3. Using the Printer
Chapter 1. Setting up the Printer
BUTTON
Press the FEEDbutton once to advance paper oneline. You can also hold
1-1. Unpacking
down the FEEDbutton to feed paper continuously.
Panel lights
POWER
Your printer box should include these items. If any items are damaged or
missing, please contact your dealer for assistance.
The POWER light(green)is on wheneverthe printer is on.
ON LINE
This light(green)is on when the printer is on line.
RP-3180
Roll paper
Cable
POWER
ON LINE
Or
FEED
Operator s Manual
AC Adapter
Power cord
1-2. Installing the printer
Avoid locations in direct sunlight or subject to excessive heat.
Avoid using or storing the printer in places subject to excessivemoisture.
Do not use or store the printer in a dusty or dirty area. Avoid places subject
to intense vibration or shock.
Choose a stable and flat place for proper use of the printer.
Make sure that there is enough space around the printer so that it can be
used easily.
RP-3180 USER'SMANUAL
RP-3180 USER'SMANUAL
01
02
2-3. Connecting Interface Cable and Drawer Cable to the printer
Chapter 2. Connecting the cables
2-1. Connecting the AC Cable
NOTE:To remove the DC cable connector, make sure that the power
supply s power cord is unplugged; then grasp the connector at the
arrow and pull it straight out.
Drawer kick-out Cable
Interface Connector Cable
Connect the Host Computer (POS/ECR) tothe printer using an interface cable
that matches the specifications of the printer and theHost computer
(POS/ECR). Be sureto use a drawer that matches the printer s specification.
1). Turn off both the printer andthe Host computer (POS/ECR).
2). Plug the interface cable connector into the printer s interface connector,
then tighten thescrews on both sides of the connector. In case of the
parallel interface, squeezethe wire dipson the printertogether until they
lock in place on both sides of the connector.
2-2. Connecting the AC adapter to the printer
You can connect up the three cablesto the printer. They all connect to the
connector panel on the back of the printer, which is shown below:
3). Plug the drawer cable into the drawer kick-out connector on the back of the
printer next tothe interface connector. Do not connect a telephoneline to
the drawer kick-out connector; otherwise the printer andthe telephone line
may be damaged.
4). Turn on the Printer and Host computer (POS/ECR).
WARNING
When connecting or disconnecting the power supply from the
printer, make sure that the power supply is not plugged into an
electrical outlet. Otherwise you may damage the power supply or
the printer.
Power Connector Cable
If the power supply`s rated voltage and your outlet`s voltage do not
match, contact your dealer for assistance. Do not plug in the power
cord. Otherwise, you may damage the power supply or the printer.
NOTE:Before connecting any of the cables, make sure that both the
printer and the host are turned off.
RP-3180 USER'SMANUAL
RP-3180 USER'SMANUAL
03
04
3-2. Removing Jammed Paper
Chapter 3. Installing the roll paper
1. Turn the printer off and press the cover open button.
2. Remove jammedpaper, reinstall the roll, and close the cover.
3. If paper is caught in the cutter and you cannot open the printer cover, open
the cutter cover as shown in A.
4. Open thecutter cover.
5. Turn the knob (as shown in B). Until the cutter blade to the normal position.
3-1. Installing or Replacing the Paper Roll
1. Make sure that the printer is not receiving data; otherwise, data may be lost.
2. Open thepaper roll cover by pressing the cover-open button.
3. Remove theused paper roll core if there is one.
4. Insert the paper roll as shown.
5. Be sure to note the correct direction that the paper comes off the roll.
6. Pull out a small amount of paper, as shown. Then close the cover.
B
A
C
B
A
6. Close the cutter cover.
7. Open theprinter cover and remove the jammedpaper.
NOTE:Do not touch the print head because it can be very hot after
printing.
Incorrect
Correct
3-3. Cleaning the Print Head
Turn off the printer, open the paper roll cover, and clean the thermal elements
of the print head with a cotton swab moistened with an alcohol solvent
(ethanol, methanol, or IPA).
Recommends cleaning the thermal head periodically (generally every 3
months) to maintain receipt print quality.
NOTE:Be sure touse paper rolls that meet the specifications. Do
not use paperrolls that havethe paper gluedto the corebecause
the printer cannot detect the paper endcorrectly.
NOTE:Do not openthe print coverwhile the printeris operating.
This may damagethe printer.
NOTE:After printing, the print head can be very hot. Be careful not to
touch it and to let it cool before you clean it. Do not damage the print
head by touching it with your fingers or any hard object.
NOTE:When closing thecover, press the centerof printer cover
firmly to preventpaper miss-loading
RP-3180 USER'SMANUAL
RP-3180 USER'SMANUAL
05
06
Chapter 4. The self test
Chapter 6. DIP Switch Functions
The self-test checks whether the printer has any problems. If the printer does
not function properly, contact your dealer.
1. Make sure paper roll has been installed properly.
There is a DIP Switch onthe bottom of printer. It is easyto change some
functions of the printer through setting DIP pins to[On] or [Off].
2. Turn on the power while holding down the FEED button. The self-test begins.
3. The printer is ready to receive data when it completes the self-test.
The default setting for all DIP pins are [ON] Position.
Note: Changes in DIP switch settingsare recognized only when the printer
power is turned on or when the printer is reset by using the interface. Ifthe
DIP switch settingis changed after the printer poweris turned on, the change
does not effect until the printeris turned on again or is reset.
Chapter 5. Hexadecimal Dumping
On Off
No
DIP
1
2
3
4
5
6
7
8
This feature allows experienced users tosee exactly whatdata is coming to
the printer.This can be useful in finding software problems. When you turn on
the hexadecimal dumpfunction, the printer prints all commands and data in
hexadecimal format along with a guidesection to help you find specific
commands.
To use the hexadecimal dump function, follow these steps:
1. Make sure that there is a roll paper in the printer.
2. After you make sure thatthe printer isoff.
3. Turn on thepower while holdingdown the online button,the printerenters
the hexadecimal dumpmode.
4. Run anysoftware program that sends data to the printer. The printerwill
print all thecodes it receivesin a two-column format. The first column
contains the hexadecimalcodes and thesecond column givesthe ASCII
characters that correspond to the codes.
ON/OFF
On & On
On & Off
Off & On
Off & Off
On
DIP No
Function
96000bps
DIP1 & DIP2
19200bps
Baud Rate select
38400bps
115200bps
DIP3
Beeper enable
Beeper disable
Print Density Light
Print Density Dark
Auto-cutter enable
Auto-cutter disable
Font: 12x24
Off
Beeper enable /disable
On
DIP4
Off
Print Density
On
DIP5
Off
Auto-cutter enable / disable
On
DIP6
Off
Default font size select
Font: 9x17
DIP7
DIP8
Reserved
Reserved
RP-3180 USER'SMANUAL
RP-3180 USER'SMANUAL
07
08
Parallel Interface (IEEE-1284)
Chapter 7.Interface
Pin No. Source
Compatibility Mode Nibble Mode
Byte Mode
HostClk
Data0(LSB)
Data1
RS-232C Cable Connection
1
Host
nStrobe
HostClk
PRINTER
SIDE(25P)
HOST
SIDE(9P)
2
Host/Printer Data0(LSB)
Host/Printer Data1
Host/Printer Data2
Host/Printer Data3
Host/Printer Data4
Host/Printer Data5
Host/Printer Data6
Host/Printer Data7(MSB)
-
3
-
(F.G)
1
1
(F.G)
4
-
Data2
5
-
Data3
(TXD)
(RXD)
2
3
3
2
(TXD)
(RXD)
6
-
Data4
7
-
Data5
7
8
(RTS)
(CTS)
8
-
Data6
9
-
Data7(MSB)
PtrClk
(DSR)
6
6
4
(DSR)
(DTR)
(DTR) 20
10
11
12
13
14
15
16
17
18
19~30
31
32
33
34
35
36
Printer
Printer
Printer
Printer
Host
-
nAck
PtrClk
Busy
PtrBusy/Data3,7
PtrBusy
(S.G)
7
5
(S.G)
Perror
Select
nAutoFd
NC
AckDataReq/Data2,6 AckDataReq
Xflag/Data1,5
Xflag
Interface Connector
Serial Interface (RS-232)
HostBusy
HostBusy
NC
NC
-
GND
GND
GND
Pin No. Signal name Direction Function
-
FG
FG
FG
1
FG
-
Frame Ground
Transmit Data
Printer
-
Logic-H
GND
Logic-H
Logic-H
GND
2
TxD
RxD
RTS
CTS
DSR
SG
Output
Input
Output
Input
Input
-
GND
3
Receive Data
Host
Printer
-
nInit
nInit
nInit
4
Ready To Send
Clear To Send
Date Set Ready
Signal Ground
Data Terminal Ready
nFault
GND
nDataAvail/Data0,4
nDataAvail
ND
5
ND
6
Printer
Printer
Host
Dk_status
5V
ND
ND
7
ND
ND
20
DTR
Output
nSelectIn
1284-Active
1284-Active
Drawer Connector
1
6
Pin No.
Signal name
Frame ground
Direction
1
2
3
4
5
6
-
Drawer Kick-out drive signal 1 Output
Drawer open/close signal
+24V
Input
-
Drawer Kick-out drive signal
Signal ground
Output
-
RP-3180 USER'SMANUAL
RP-3180 USER'SMANUAL
09
10
Chapter 7.Specification
Chapter 8.PRINT CONTROL COMMAND
8-1 Command List
Printing method
Dot density
Thermal line printing
203 dpi 203 dpi ( 8 8 dots/mm)
72 mm {2.83"}, 576 dot positions
No. Command Description
Hexadecimal Code
<0A>
Page
13
1
2
3
4
5
6
7
8
9
LF
Printing and paper feed
Back to printing
Printing width
CR
<0D>
13
Characters per line
Character size
48 (default) or 72
1.25 3.00 mm
ESC !
ESC *
ESC 2
ESC 3
ESC 9
ESC @
ESC A
Select print mode
<1B><21><n>
<1B><2A><m><n1><n2>d1...dk
<1B><32>
13
Specifying the bit image mode
Specifying 1/6-inch line feed rate
14
Number of characters
Print speed
Alphanumeric characters: 95
15
Setting line feed rate of minimum pitch <1B><33><n>
15
Approx. 150 mm/s {5.9"/s} max.; 47.2 lps, max.
(3.18 mm {1/8"} feed); 35.5lps, max. (4.23 mm
{1/6"} feed, at 24 V, 28 {82 }, density level 1).
Speed is adjustedautomatically depending on the
voltage applied andheadtemperature.
Approx. 180 mm/s
Generating the specified pulses
Initializing the printer
<1B><39><m><n1><n2>
16
<1B><40>
16
Set line spacing
<1B><41><n>
<1B><44>
16
10 ESC D
11
12 ESC I
Select character Double-height mode
Select character Double-height mode
Select character Double-height mode
Printing and feeding paper in
minimum pitch
16
ESC H
<1B><48><n>
<1B><49>
17
17
Paper feed speed
continuous paper feed
13
<1B><4A><n>
17
ESC J
Line spacing (default)
Character structure
Paper roll (single-ply)
4.23 mm {1/6"}
14 ESC L
15 ESC V
Selecting page mode
<1B><4C>
17
18
12 x 24 o r 9 x 17
Printing bit image
<1B><56><n1><n2>d1...dk
<1B><57><xL><xH><yL><yH>
<dxL><dxH> <dyL><dyH>
<1B><58><n>
Size: Width: 79.5 mm
0.5 mm {3.13" 0.02"}
16
17 ESC X
18
19 ESC I
20
18
19
20
20
20
ESC W
Defining the printarea in pagemode
Maximum outside diameter:83 mm {3.26"}Paper
roll spool diameter: Inside: 12 mm{0.47"};
Outside: 18 mm{0.71"}
Select character Double-width mode
Printing and feeding the paper by
ESC d
<1B><64><n>
<1B><69>
n
lines
Full cut
Interface (compatible)
Receive buffer
Power supply
Life
RS-232C/Bi-directional parallel / USB (OPTION)
28KB
Printing and feeding paper in
minimum pitch
ESC j
<1B><6A><n>
+ 24 VDC 10%
21 ESC m
22 ESC p
Partial cut
<1B><6D>
21
21
21
22
23
23
Mechanism: 15,000,000 lines
Thermal head: 100 million pulses, 100 km
Autocutter: 1,500,000 cuts
360,000 hours
Generating the specified pulses
Select character fonts
Select character size
Defining the download bit image
Printing the downloaded bit image
<1B><70><m><n1><n2>
<1B><4D><n>
23
ESC M
24 GS !
25 GS *
26 GS /
<1D><21><n>
<1D><2A><n1><n2>d1...dk
<1D><2F><m>
MTBF
MCBF
52,000,000 lines
(1)<1D><56><m>
27
28
24
GS V
Cutting the paper
Temperature
Operating: 5 ~ 45 {41 ~113
}
(2)<1D><56><m><n>
<1D><76><30><m><xL><xH>
<yL><yH>d1...dk
Storage: -10 ~ 50 {14 ~122 },
except for paper
25
26
26
GS v 0
Printing of raster bit image
Specifying the height of the bar code
Printing the barcode
29 GS h
30
<1D><68><n>
Humidity
Operating: 10 to 90% RH
(1)<1D><6B><m>d1...dk<NUL>
(2)<1D><6B><m><n>d1...dk
<1C><70><n>
GS k
Storage: 10 to 90% RH, except for paper
145(W) 192(D) 142(H)mm
Approximately:2kg
31 FS p
32 FS q
Print NV bit image
27
28
Overall dimensions
Weight (mass)
Define NV bit image
<1C><71><n>
RP-3180 USER'SMANUAL
RP-3180 USER'SMANUAL
11
12
[Description]
Selects print mode(s)using n asfollows:
8-2 Descriptions of Each Item
[Name]
[Format]
[Range]
[Description]
[Details]
[Default]
[Example]
The name of the command.
The code sequence.
Gives the allowable ranges for the arguments.
Describes the command's function.
Describes the usage of the command in detail.
Gives the defaultvalues, if any, for the command parameters.
Gives examples of how to use the command.
Bit
0
Off/On Hex
Decimal
Function
Default font
Undefined
Undefined
Undefined
1
-
-
-
-
-
-
2
3
-
-
-
00
10
00
20
-
0
Double-height mode notselected
Double-height mode selected
Double-width mode notselected
Double-width mode selected
Undefined
Off
On
Off
On
-
4
5
16
0
Hex indicates the hexadecimal equivalents.
Decimal indicates the decimal equivalents.
32
-
6
7
-
-
Undefined
-
8-3 Control Commands
[Details]
When both double-heightand double-width modesare selected,
quadruple size charactersare printed.
The printer canunderline all characters.
LF
When some charactersin a lineare double ormore height, allthe
characters on theline are alignedat the baseline.
GS ! can also selectcharacter size. However, the settingof the last
received command iseffective.
[Name]
[Format]
Print and line feed
ASCII
Hex
Decimal
LF
0A
10
Emphasized mode iseffective for alphanumericand Kanji. Allprint
modes except emphasizedmode is effectiveonly for alphanumeric.
N = 0
[Description]
Prints the data in the print buffer and feeds one line based on the
current line spacing.
This command sets the print position to the beginning of the line.
ESC 2, ESC3
[Default]
[See Also]
[Details]
[See Also]
GS !
(1)ESC * m n1 n2 d1...dk
CR
[Name]
[Format]
Select bit-image mode
[Name]
[Format]
Print and carriagereturn
ASCII
Hex
Decimal
ESC
1B
27
*
m
m
m
n1
n1
n1
n2
n2
n2
d1...dk
d1...dk
d1...dk
ASCII
Hex
Decimal
CR
0D
13
2A
42
n1
[Range]
[Description]
m = 0, 1, 3 2, 33 , 0
255 , 0
n2
3, 0
d
255
[Description]
When automatic linefeed is enabled, this command functionsthe
same as LF;
When automatic line feed is disabled, this command is ignored.
Sets the print starting position to the beginning of the line.
The automatic line feed is ignored with a serial interface model.
LF
Selects a bit-imagemode using m for the number of dots specified
by (n1 + n2 x 256). Set a bit to 1 to print a dot, or set a bit to 0 to not
print a dot. d indicates the bit image data. The modes selectable by
m are as follows:
[Details]
[See Also]
Vertical Direction
Horizontal Direction
m
Mode
Number Dot Density Dot Density Number of Data
of Dots
(dpi)
60
(dpi)
90
(K)
ESC ! N
8-dot single-density
8-dot double-density
24-dot single-density
24-dot double-density
0
1
8
8
n1 + n2 x 2 56
[Name]
[Format]
Select print mode(s)
60
180
90
n1 + n2 x 2 56
ASCII
Hex
Decimal
ESC
1B
27
!
21
33
n
n
n
32
33
24
24
180
180
(n1 + n2x 256) x3
(n1 + n2x 256) x3
180
[Range]
0
n
255
[dpi: dots per 25.4 mm {1"}]
RP-3180 USER'SMANUAL
RP-3180 USER'SMANUAL
13
14
[Details]
If the valuesof m is out of the specified range, n1 and data
following are processed as normal data.
ESC 9 m n 1 n2
[Name]
[Format]
Generating the specified pulses
The n1 and n2 indicate the number of dots of the bit image in the
horizontal direction.
ASCII
Hex
Decimal
m = 0, 0
ESC
1B
9
39
m
m
m
n2
n1
n1
n1
255
n2
n2
n2
The number of dots is calculated by n1 + n2 x 256.
If the bit-image data input exceeds the numberof dots to be
printed on a line, the excessdata is ignored.
d indicates the bit-image data. Seta corresponding bit to 1 to print
a dot or to 0 to not print a dot.
27
57
255 , 0
[Range]
[Description]
n1
The signals specifiedby n1 and n2 are outputto the connector
pin specified by m .
After printing a bit image, the printer returns to normal data
processing mode.
This command is not affected by print modes (emphasized,
double-strike, underline,character size or white/black reverse
printing), except upside-down printing mode.
ESC @
[Name]
[Format]
Initialize printer
ASCII
Hex
Decimal
ESC
1B
27
@
40
64
ESC 2
[Description]
[Details]
Clears the data in the print buffer and resets the printer mode to the
mode that was in effect when the power was turned on.
The data in the receive buffer is not cleared.
The macro definition is not cleared.
The NV bit image data is not cleared.
The data of the NV user memory is not cleared.
[Name]
[Format]
Select default linespacing
ASCII
Hex
Decimal
ESC
1B
27
2
32
50
[Description]
[Details]
Selects approximately 4.23 mm {1/6"}spacing.
The line spacing can be set independently in standardmode and in
page mode.
ESC 3
[See Also]
ESC A n
[Name]
[Format]
Set line spacing
ASCII
Hex
Decimal
ESC
1B
27
A
41
65
n
n
n
ESC 3 n
[Name]
[Format]
Set line spacing
ASCII
Hex
Decimal
ESC
1B
27
3
33
51
n
n
n
[Range]
[Description]
[Details]
0
n
255
Sets the linespacing to [n x vertical or horizontal motion unit].
The line spacing can be set independently in standard mode and in
page mode.
In standard mode, the vertical motion unit (y) is used.
The maximum paper feed amount is 1016 mm {40"}. Even if a
paper feed amount of more than 1016 mm {40"}is set, the printer
feeds the paper only 1016 mm {40"}.
[Range]
[Description]
[Details]
0
n
255
Sets the linespacing to [n x vertical or horizontal motion unit].
The line spacing can be set independently in standard mode and in
page mode.
In standard mode, the vertical motion unit (y) is used.
The maximum paper feed amount is 1016 mm {40"}. Even if a paper
feed amount of
[Default]
[See Also]
Approx 4.23mm {1/6"}.
ESC 2
more than 1016 mm {40"}is set, the printer feedsthe paper only
1016 mm {40"}.
Approx 4.23mm {1/6"}.
[Default]
[See Also]
ESC D
ESC 2
[Name]
[Format]
Select character Double-height mode
ASCII
Hex
Decimal
ESC
1B
27
D
44
68
[Description]
Select character Double-height mode.
RP-3180 USER'SMANUAL
RP-3180 USER'SMANUAL
16
15
ESC H n
ESC V n1 n2 d1...dk
[Name]
[Format]
Select character Double-height mode
[Name]
[Format]
Printing bit image
ASCII
Hex
Decimal
ESC
1B
27
H
48
72
n
n
n
ASCII
Hex
Decimal
ESC
1B
27
65535
V
n1
n2
n2
n2
d1...dk
d1...dk
d1...dk
56 n1
86 n1
[Range]
[Description]
1
n
Select character Double-height mode.
8
[Range]
[Description]
0
n1, n2: numberof dot linesin the verticaldirection.
n1,n2
n1 represents theleast significant byteand n2 representsthe most
significant byte.
ESC I
Number of dotlines=n2 x 256+n1 Ignored when n1=n2=0.
Enter the imagedata following n1and n2. Theamount of image
data is asfollows:Amount of imagedata=(n2 x 256+n1)x 72 bytes
The data followingn1 and n2is printed outentirely as imagedata.
Enter the datafrom the leftmostof the topdot line tothe bottom
dot line.
[Details]
[Name]
[Format]
Select character Double-height mode
ASCII
Hex
Decimal
ESC
1B
27
I
49
73
[Description]
Select character Double-height mode.
If you specifybit image withoutentering CR orLF after inputting
characters for arangenot exceeding oneline, the charactersof
that line andthe bit imageare overlapped whenprinted out. Atthis
time, all modificationsto characters arevalid. Note thatthe
characters are notnormally printed outwhen overlapped unlessa
value more thanthe character heightis specified byn2 x n1. You
can not overlapbit images withstamps or rulerlines. If youspecify
bit images, thestamp or theruler line issuspended. After thebit
image is complete, the print-out of stamps orruler line restarts.
ESC J n
[Name]
[Format]
Print and feed paper
ASCII ESC J n
Hex 1B 4A n
Decimal 27 74 n
0 = n = 255
Prints the datain the printbuffer and feedthe paper [nx vertical or
horizontal motionunit].
[Range]
[Description]
[Details]
After printing iscompleted, this commandsets the printstarting
position to thebeginning of theline.
The paper feedamount set bythis command doesnot affect the
values set byESC 2 or ESC 3.
In standard mode, the printer uses the vertical motion unit (y).
The maximum linespacing is 1016mm {40"}. When thesetting
value exceeds themaximum, it is converted to themaximum
automatically.
ESC W xLxH yL yH dxL dxH dyLdyH
[Name]
[Format]
Defining the print area in page mode
ASC II
Hex
Decimal
ESC
1B
27
W
xL xH yL yH dxL dxH dyL dyH
57 xL xH yL yH dxL dxH dyL dyH
87 xL xH yL yH dxL dxH dyL dyH
[Range]
0 = xL, xH, yL, yH, dxL, dxH, dyL, dyH = 255
except for dxL= dxH = 0 or dyL = dyH = 0
Defines the location and size of the print area.
Horizontal start point = [(xL +xH x 256) x basic calculation pitch]
inches
[Description]
ESC L
Vertical start point = [(yL + yH x256) x basic calculation pitch]
inches
Horizontal length = [(dxL + dxHx 256) x basic calculation pitch]
inches
Vertical length = [(dyL +dyH x 56) x basic calculation pitch]
inches
When standard mode is selected, this command only executes the
internal flagging of the printer without affecting the printing in
standard mode.
[Name]
[Format]
Select page mode
ASCII
Hex
Decimal
ESC
1B
27
L
4C
76
[Description]
[Details]
Switches from standard mode to page mode.
This command is enabled only whenprocessed at the beginning of
a line in standard mode.
This command has no effect in page mode.
The following command is not available in page mode, Print raster
bit image: GS v 0
[Details]
If the horizontal start point or vertical start point is out of the
printable area, this command is canceled and the nextdata is
handled as normal data.
The printer returns to standard mode when power isturned on, the
printer is reset, or ESC @ is used.
RP-3180 USER'SMANUAL
RP-3180 USER'SMANUAL
17
18
If the horizontal length or vertical length is 0, this command is
canceled and thenext data is handled as normal data.
If the horizontal start point + horizontal length is greater than
the horizontal printable area, the horizontal printable area -
horizontal start point is taken as the horizontal length.
If the vertical start point + vertical length is greater than the
vertical printable area, the ertical printable area vertical start
point is taken as the vertical length.
Fractions resulting fromcalculations are corrected with the
minimum pitch of the mechanism, and the remainder areomitted.
The horizontal start point and horizontal length are calculated with
the basic calculation pitch (x). Thevertical start point and vertical
length are calculated with the basic calculation pitch (y).
When the horizontalstarting position , vertical starting position,
printing area width, and printing area height are definedas X, Y,
Dx,and Dy respectively, the printing area is set as shown in the
figure below.
ESC d n
[Name]
[Format]
Print and feed n lines
ASCII
Hex
Decimal
ESC
1B
27
d
64
n
n
n
100
[Range]
[Description]
[Details]
0
n
255
Prints the datain the printbuffer and feedsn lines.
This command setsthe print startingposition to thebeginning of
the line.
This command doesnot affect theline spacing setby ESC 2
or ESC 3.
The maximum paper feed amount is 1016 mm {40"}. If the paper
feed amount (n x line spacing) of more than 1016 mm {40"} is
specified, the printer feeds the paper only 1016 mm {40"}.
ESC 2, ESC3
[See Also]
(X,Y)
Dx
ESC I
[Name]
[Format]
Full cut
ASCII
Hex
Decimal
ESC
1B
i
69
Dy
Paper Feed Direction
Print area
27
105
[Description]
[Details]
Cut the paperfully.
During cutting, printing and paper feeding is stopped.
This command is valid only whenan auto-cutter is connected.
(X+Dx-1,Y+Dy-1)
ESC j n
This printable area for this printer is approximately 72.2 mm
{512/180"}in the horizontal direction and approximately 117.3 mm
{1662/360"} in the vertical direction.
[Name]
[Format]
Print and feed paper
ASCII
Hex
Decimal
ESC
1B
27
j
n
n
n
[Default]
XL = xH = yL = yH = 0
dxL = 0, dxH = 2, dyL = 126, dyH = 6
6A
106
[Range]
[Description]
0
n
255
Prints the datain the printbuffer and feedthe paper [nx vertical or
horizontal motionunit].
ESC X n
[Details]
After printing iscompleted, this commandsets the printstarting
position to thebeginning of theline.
The paper feedamount set bythis command doesnot affect the
values set byESC 2 or ESC 3.
In standard mode, the printer uses the vertical motion unit (y).
The maximum linespacing is 1016mm {40"}. When the setting
value exceeds themaximum, it is converted to themaximum
automatically.
[Name]
[Format]
Select character Double-width mode
ASCII
Hex
Decimal
ESC
1B
27
X
58
88
n
n
n
[Range]
[Description]
1
Select character Double-width mode.
n
8
RP-3180 USER'SMANUAL
RP-3180 USER'SMANUAL
20
19
ESC m
GS ! N
[Name]
[Format]
Partial cut
ASCII
Hex
Decimal
Cut the paperpartially.
[Name]
[Format]
Select character size
ESC
1B
27
m
6D
109
ASCII
Hex
Decimal
GS
1D
29
!
21
33
n
n
n
[Description]
[Details]
[Range]
0
n
255
During cutting, printing and paper feeding is stopped.
This command is valid only whenan auto-cutter is connected.
(1 vertical number oftimes
times 8)
8, 1 horizontal number of
[Description]
Selects the characterheight using bits0 to 2and selects the
character width usingbits 4 to7, as follows:
ESC p m n 1 n2
Bit
0
Function
Hex Number Decimal Number
[Name]
[Format]
Generating the specified pulses
ASCII
Hex
Decimal
m = 0, 0
ESC
1B
27
p
70
112
255 , 0
m
m
m
n1
n1
n1
n2
n2
n2
1
Character height selection. See Table 2
Character width selection. See Table 1
2
3
[Range]
[Description]
n1
n2
255
4
The signals specified by n1 and n2 are output
to the connector pin specified by
5
m
.
6
7
Table 1 CharacterWidth Selection
Table 2 CharacterHeight Selection
Hex
00
10
20
30
40
50
60
70
Decimal
0
Width
Hex
00
01
02
03
04
05
06
07
Decimal
Width
1 x (Standard)
0
1
2
3
4
5
6
7
1 x (Standard)
16
2 x (Double width)
2 x (Double height)
ESC M n
32
3 x
4 x
5 x
6 x
7 x
8 x
3 x
4 x
5 x
6 x
7 x
8 x
48
[Name]
[Format]
Select character fonts
64
ASCII
Hex
Decimal
ESC
1B
27
M
4D
77
n
n
n
80
96
[Range]
[Description]
n =0,1,48,49
Selects character fonts.
112
[Details]
If n isoutside of thedefined range, thiscommand is ignored.
In standard mode, the vertical directionis the paperfeed direction,
and the horizontaldirection is perpendicularto the paperfeed
direction. However, when characterorientation changes in90.
clockwise-rotation mode, therelationship between verticaland
horizontal directions arereversed.
N
Function
0,48 Character font A (12 x 24) selected.
1,49 Character font B (9 x 17) selected.
[Details]
The ESC ! command can also select the character fonts.
However, the setting of the last receivedcommand is effective.
In page mode, vertical and horizontaldirections are basedon the
character orientation.
When characters areenlarged with differentsizes on oneline, all
the characters onthe line isaligned at thebaseline.
The ESC !command can alsoturn double-width anddouble-height
modes on oroff.However, the setting ofthe last receivedcommand
is effective.
[Default]
[See Also]
n = 0
ESC !
RP-3180 USER'SMANUAL
RP-3180 USER'SMANUAL
22
21
GS
n1 n2 d1...d(n1 x n2 x 8)
Dot Density in
Dot Density in
m
Mode Name
Vertical Direction Horizontal Direction
[Name]
[Format]
Define downloaded bitimage
0,48
1,49
2,50
3,51
NORMAL MODE
203 DPI
203 DPI
101 DPI
101 DPI
203 DPI
101 DPI
203 DPI
101 DPI
ASCII
Hex
Decimal
GS
1D
29
*
n1
n2
n2
n2
d1...d(n1x n2 x8)
d1...d(n1x n2 x8)
d1...d(n1x n2 x8)
DOUBLE WIDTH MODE
DOUBLE HEIGHT MODE
QUADRUPLE SIZE MODE
2A n1
42 n1
[Range]
[Description]
1
n1
255, 1 n2 48, n1 x n2
1536 , 0
d
255
Defines a downloadedbit image usingthe number ofdots
specified by n1and n2
n1 specifies thenumber of dotsin the horizontaldirection.
n2 specifies thenumber of dotsin the verticaldirection.
The number ofdots in thehorizontal direction isn1 x 8, in the
vertical direction itis n2 x8.
If n1 xn2 is outof the specifiedrange, this commandis disabled.
The d indicatesbit-image data. Data(d) specifies abit printed to1
and not printedto 0.
[Details]
When data existin the print buffer, this command is ignored.
When a downloaded bit image has not been defined, this
command is ignored.
A portion of a downloaded bit image exceeding oneline length is
not printed.
A downloaded character and a downloaded bit image cannot be
defined simultaneously.
GS *
[Details]
[See Also]
The downloaded bitimage definition iscleared when:
1. ESC @is executed.
2. Printer isreset or thepower is turnedoff.
The following figureshows the relationshipbetween the
downloaded bit imageand the printeddata.
(1) GS V m
(2) GS V m n
[Name]
[Format]
Select cut mode and cut paper
(1) ASCII
Hex
Decimal
(2) ASCII
Hex
Decimal
(1) m = 1 , 49
(2) m = 66, 0
GS
1D
29
GS
1D
29
V
m
m
m
m
m
m
n1 x 8 dost
56
86
V
56
86
d1
n
n
n
MSB
dn2 + 2
dn2 + 2
dn2 + 2 + 1
dn2 + 2 + 1
d2
[Range]
n
255
n2 x 8 dost
[Description]
Performs the specified paper cutting.
m
Print mode
LSB
1, 49
Partial cut (onepoint left uncut)
dn2
Feeds paper (cuttingposition + [n x (vertical motionunit)]),
and cuts the paper partially (one point left uncut).
66
dn2 x 2
d 2 x n2 x 8
[Details]
For (1) and (1) :
This command is effective only processed at the beginning of a line.
For (1) :
[See Also]
GS /
Only the partial cut is available; there is no full cut.
For (2) :
GS / m
When n =0, the printer feeds the paperto the cutting position and
cuts it.
When n 0, the printer feeds the paperto (cutting position + [n x
vertical motion unit]) and cuts it.
The paper feedamount is calculated using the verticalmotion
unit (y). However, the valuecannot be less than the minimum
horizontal movement amount, and it must be in evenunits of the
minimum horizontal movementamount.
[Name]
[Format]
Print downloaded bitimage
ASCII
Hex
GS
1D
/
m
m
m
51
2F
47
m
Decimal 29
3, 48
[Range]
[Description]
0
m
Prints a downloaded bit image using the mode
specified by m.
Modes that can be selected by
m
are shown below.
RP-3180 USER'SMANUAL
RP-3180 USER'SMANUAL
23
24
GS v 0m xL xHyL yH d1...dk
GS h n
[Name]
[Format]
Printing of rasterbit image
[Name]
[Format]
Define downloaded bitimage
ASC II
Hex
Decimal
GS
1D
v
0
76 30
m
m
m
xL xH yL yH d1...dk
xL xH yL yH d1...dk
xL xH yL yH d1...dk
ASCII
Hex
Decimal
GS
1D
29
h
68
104
n
n
n
29 118 48
3, 48
255, 0 yH
[Range]
0
0
m
yL
m
51, 0 xL
8, 0
255, 0 xH
255,
255,
[Range]
[Description]
1
n
255
Selects the height of the bar code.
d
k=(xL+xH x 256)x (yL+yH x256), however, k
Prints raster bitimages in mode
0
n specifies the number of dots in the vertical direction.
N = 162
GS k
[Description]
m
.
[Details]
[See Also]
Dot Density in
Dot Density in
m
Mode Name
Vertical Direction Horizontal Direction
0,48
1,49
2,50
3,51
NORMAL MODE
203 DPI
203 DPI
101 DPI
101 DPI
203 DPI
101 DPI
203 DPI
101 DPI
(1) GS k m d1...dk NUL
(2) GS k m n d1...dn
DOUBLE WIDTH MODE
DOUBLE HEIGHT MODE
QUADRUPLE SIZE MODE
[Name]
[Format]
Print the bar code
(1) ASCII
Hex
GS
1D
29
GS
1D
29
V
m
m
m
m
m
m
d1...dk
d1...dk
d1...dk
n
n
n
Nul
00
0
d1...dn
d1...dn
d1...dn
6B
107
k
6B
107
xL, xH specify the number ofdata in horizontaldirection of thebit
image to (xL+xHx 256) bytes.
yL, yH specify the number ofdata in verticaldirection of thebit
image to (yL+yHx 256) bytes.
In STANDARD MODE, this command is valid onlywhen there isno
print data inthe print buffer.
Any of theprint modes (Charactersize, emphasis, doublestrike,
inverting, underlining, back-to-white reversing, etc.)does not
affect the rasterbit image.
Decimal
(2) ASCII
Hex
Decimal
m
[Details]
[Range]
(1) 0
(2) 65
6 (k and d depends on the bar code system used)
73 (n and d depends on the bar code system used)
m
[Description]
Selects a bar code system and prints the bar code. m selects a bar
code system as follows:
If the printarea specified byGS L andGS W isnarrower than a
minimum width, theprint area forthat line onlyis extended tothe
minimum width. Theminimum width isone dot inNORMAL
MODE (m=0, 48)and DOUBLE HEIGHTMODE (m=2,50), and2
dots in DOUBLEWIDTH MODE (m=1, 49) and QUADRUPLESIZE
MODE (m=3, 51).
Any part ofdata that isout of theprint area isonly read and
discarded in unitsof dot.
The setting ofESC a (Aligningcharacters) are alsovalid for the
raster bit image.
For (1) :
m
2
Bar Code System Number of Characters Remarks
JAN13 (EAN13)
JAN 8 (EAN8)
12
7
k
k
13
8
48
48
48
d
d
d
57
3
57
57, 65
d
90,
4
CODE39
1
k
32, 36, 37, 43, 45, 46, 47
For (2) :
m
67
68
Bar Code System Number of Characters Remarks
If this commandis executed duringmacro definition, themacro
definition is suspended, and the processingof the command
starts. The macrois left undefined.
JAN13 (EAN13)
JAN 8 (EAN8)
12
7
k
k
13
8
48
48
48
d
d
d
57
57
57, 65
d
90,
69
73
CODE39
1
2
k
255
255
d
1
denotes defined data. Dots to beprinted are specifiedas
and those notto be printedas
32, 36, 37, 43, 45, 46, 47
127
0
.
CODE128
k
0
d
[Example]
When xL+xH x256= 64:
[Details]
For (1):
This command ends with a NUL code.
(XL + xH x 256)x 8 dot=512 dot
1
2
3
62
63
64
When the bar code system used is JAN13 (EAN13), the printer
prints the bar code after receiving 13 bytes bar code data and
processes the following data as normal data.
65
66
67
126 127 128
YL + yH x 256 dot
K-2
K-1
K
When the bar code system used is JAN8 (EAN8), the printer prints
the bar code after receiving 8 bytes bar code data and processes
the following data as normal data.
7
6
5
4
3
2
1
0
MSB
LSB
RP-3180 USER'SMANUAL
RP-3180 USER'SMANUAL
26
25
For (2):
FS q n [xL xH yL yH d1...dk]1...[xL xH yL yH d1...dk]n
n indicates the number of bar code data, and the printer processes
n bytes from the next character data as bar code data.
If n is outside of the specified range, the printer stops command
processing and processes the following data as normal data.
In standard mode:
If d is outside of the specified range, the printer only feeds paper
and processes the following data as normal data.
If the horizontal size exceeds printing area, the printer only feeds
the paper.
This command feeds as much paper as is required to print the bar
code, regardless of the line spacing specified by ESC 2 or ESC 3.
This command is enabled only whenno data exists in the print
buffer. When data existsin the printbuffer, the printer processes
the data following m as normal data.
[Name]
[Format]
Define NV bitimage
ASC II
Hex
Decimal
FS
q
1C 71
n
n
[xLxH yL yDd1...dk]1
[xL xHyL yD d1...dk]1
28 113 n [xL xHyL yD d1...dk]1
[Range]
1
0
n
xL
4
72
xH=0
0
0
0
yL 255
yL 1(when 1 (yL+yH x 256) 288)
255
d
k=(xL + xH x 256) x (yL+yH x 256) x8
Total defined data area = 2M bits (256K bytes)
After printing bar code, this command sets the printposition to the
beginning of the line.
In page mode:
[Description]
Define the NV bit image specified by n..
N specifies the number of the defined NV bit image .
XL, xH specifies (xL+xH x 256) x8 dots in the horizontal direction
for the NV bit image you are defining.
YL, yH specifices (yL+yH x 256) x 8 dots in the vertical direction
for the NV bit image you are defining.
This command develops bar code data in the print buffer, but does
not print it. After processing bar code data, this command moves
the print position to the right side dot of the bar code.
If d is out of the specified range, the printer stops command
processing and processes the following data as normal data. In
this case the data buffer position does not change.
If bar code width exceeds the printing area, the printer does not
print the bar code but moves the data buffer position to the left side
out of the printing area.
[Example]
When xL = 64, xH = 0, yL = 96, yH = 0
FS p n m
[Name]
[Format]
Print NV bitimage
ASC II
Hex
Decimal
FS
1C 70
28 112 n
p
n
n
m
m
m
[Range]
1
0
n
m
4
3, 48
m
51 ,
[Description]
Prints a NV bit image n using the mode specified by m.
Vertical
Dot Density
203 DPI
Horizontal
Dot Density
203 DPI
m
Mode
0,48
1,49
2,50
3,51
Normal
Double-width
Double-heigh
Quadruple
203 DPI
101 DPI
101 DPI
203 DPI
101 DPI
101 DPI
N is the number of the NV bit image .
M specifies the bit image mode.
RP-3180 USER'SMANUAL
RP-3180 USER'SMANUAL
27
28
Chapter 10. Printer Driver
5) Click [downloadbmp], and waitthe printer tosave the data.
6) After theprinter download theimage successfully, you canpreview
the image onthe frame andthe bmp fileinformation as well.
7) Click [PrintBmp] button tocheck the printingeffect.
There are fourPrinting Mode options:Normal, Double-width, Double-
height and Quadruple. The default modeis Normal printing.
8) Select [1]to download thefirst image.
10-1.How to use Logo Download Tool
RP-3180receipt printer supportsStore Logo printing. You can download
max four imagesinto printer andselect which oneto print onreceipt.
1) Install thedriver for LogoDownload Tool on Computer.
2) Run [LogoDownload Tool].
3) Select thecorrect connected portof printer. The defaultport is LTP1.
4) Click [Openfile] to selecta image.
Select [2] to download the secondimage.
Select [3] to download the thirdimage.
NOTE: * The image mustbe Monochrome BMPfile.
Select [4] to download the fourthimage.
* The Size ofMonochrome BMP filemust be lessthan 576x2304
dots.
* The height should be in multipleof 8 dots in Monochrome BMP
file.
* Herewith, strongly recommendto use Microsoft Paint Tool to
edit image file. Otherwise, the printerwill be failedto download orprint.
Note: The imageswill be savedinto the flashmemory of printer.
Any new downloadoperation will overwritethe former image.
Please use RP-3180 printer driverto set theimage printing mode.
RP-3180 USER'SMANUAL
RP-3180 USER'SMANUAL
29
30
2) After install the software successfully, open [Printing Preferences...].
10-2.Setting Printer Properties
The printer driver software can be found from CD disk packaged with
printer.
1) Install the printer driver software.
The printer drivershould be installed according to following steps:
Go to [Printers and Faxes] folder, click [Add a printer];
Click [next] according to the direction of installation;
Click [have disk...], to find & open *.inf file of printer driver.
See Pic 10.2-1
And then start to install the printer software. See Pic 10.2-2
Pic 10.2-3
3) Open [PrintingPreferences...]and [Advance] to go to Advanced Options.
Now, you can reset the Document Optionsby select theright items.
See Pic 10.2-4.
Pic 10.2-1
Pic 10.2-4
Pic 10.2-2
RP-3180 USER'SMANUAL
RP-3180 USER'SMANUAL
31
32
|