Samsung STP-102S, STP-102P User Manual

Page 1
DATE: July. 2001 MANUAL REVISION 2.0
STP-102S / STP-102P
Operator's Manual
Warning - U.S
This equipment has been tested and found to comply with the limits for a Class A digital device pursuant to Part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interface when the equipment is operated in a commercial environment. This equipment generates uses, and can radiate radio frequency energy and, if not installed and uses in accordance with the instruction manual, may cause harmful interference to radio communications. Operation of this equipment in a residential area is likely to cause harmful interference in which case the user will be required to correct the interference at his own expense.
Notice - Canada
This Apparatus complies with class "A" limits for radio interference as specified in the Canadian department of communications radio interference regulations.
Introduction
The STP-102S and STP-102P Roll Printer is designed for use with electric instruments such as system ECR, POS, banking equipment peripheral equipment, etc
.
POWER
ERROR
ELECTRO- MECHANICS
FEED
The main features of the printer are as follows:
1. High speed printing
2. Low noise thermal printing.
3. RS-232 serial interface (STP-102S). Parallel interface (STP-102P).
4. The data buffer allows the unit to receive print data even during printing.
5. Different print densities can be selected by DIP switches.
ON LINE
Please be sure to read the instruction in this manual carefully before using your new STP-102S and STP-102P.
NOTE The socket-outlet shall be near the equipment and it shall be easy
accessible.
TEL : 82-31-210-5620 FAX : 82-31-210-5589
Page 2
Table of Contents
Chapter 1. Unpacking
1-1. Checking the contents of the Printer.
Chapter 1. Unpacking
1-1. Checking the contents of the Printer 1-2. Locating the Printer 1-3. Printer Part names 1-4. Operating Control Panel
Chapter 2. Connecting the cable
2-1. Connecting the AC adapter to your printer 2-2. Connecting the Printer to your computer 8
4 4
4 5 6
7 7
Chapter 3. Installing the Paper Roll 10
Chapter 4. Setting the DIP Switching 11
Chapter 5. Running the Self Test 13
Chapter 6. Code Table 14
The items illustrated below are included with your printer. If any items are damaged or missing, please contact your dealer for assistance.
Roll paper
Printer
Adaptor
Power cord
Cable
Chapter 7. Functions 21
Chapter 8. Control Commands 23
APPENDIX A - Connectors
- Serial Type (STP-102S)
- Parallel Type (STP-102P)
APPENDIX B - Specification
34 34 34 35
1-2. Locating the Printer.
Avoid location in direct sunlight or excessive heat. Avoid or storing the printer in the place subject to excessive moisture. Do not use or store, horizontal surface for the printer. Avoid places subject to intense vibration or shock. Make sure that there is enough space around the printer so that it can be used easily.
3
4
Page 3
1-3. Printer Part Names
1-4. Operating Control Panel
(1) Cover top (2) Case top (3) Case bottom (4) Control panel (5) Roller (6) Power switch (7) Interface connector (male) (8) DC Jack (9) Interface connector (female) (10) Roll paper (11) Detector switch
Rear View
(6) (7) (8)
(2)
(10)
(11)
(4) (3)
(9)
(5)
(1)
Rear View
The control panel has two buttons and two lights.
POWER ERROR FEED ON LINE
Buttons
The control panel buttons perform paper feeding and on line function.
ON LINE
Press the ON LINE button to ready to receive data from the computer.
FEED
Press the FEED button once to advance paper one line. You can also press the FEED button continuously to feed paper continuously. Feed button is valid when ON LINE button is off.
Indicator lights
The control panel lights provide information on printer conditions.
POWER(green)
The POWER light is on when the printer power is on.
Control Panel
POWER ERROR
STP-102S STP-102P
FEED ON LINE
ERROR(red)
1) The error LED blinks fast when paper is out.
2) The error LED blinks when the Near End Sensor triggered.
5
6
Page 4
Chapter 2. Connecting the Cable
2-1. Connecting the AC adapter to your printer
When the printer is used, use te optional AC adapter, AP-1611-UV for your printer.

Using an incorrect power supply may cause fire or electrical.

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
1. Make sure that the printer's power switch is turned off, and that the power supply's power cord is unplugged from the electrical outlet.
2. Check the label on the power supply to make sure that the requird voltage matches that of your electrical outlet.
3. Plug the power supply's DC cable connector into the printer's power connector as shown below.
STP-102S / STP-102P
2-2. Connecting the printer to your Computer
STP-102S
You need an appropriate serial interface cable to connect your computer to the printer's built-in interface.
1. Make sure that both the printer and computer are turned off : then plug the cable connector securely into the printer's interface connector.
2. Tighten the screws on both sides of the cable connector.
25 Pin Male Type
4. Plug the AC adapter's power cord into an electrical outlet.
NOTE To remove the DC cable connector grasp the connector at the arrow and pull it straight out. Make sure that the main unit's power cord is unplugged before you disconnect the DC cable connector.
3. Plug the other end of the cable into the computer
7
8
Page 5
Chapter 3. Installing the Paper Roll
2-2. Connecting the printer to your Computer
STP-102P
You need an appropriate serial interface cable to connect your computer to the printer's built-in interface.
1. Make sure that both the printer and computer are turned off : then plug the cable connector securely into the printer's interface connector.
2. Tighten the screws on both sides of the cable connector.
25 Pin Female Type
Use a paper roll that matches the specifications.
NOTE The printer must be turned off before installing the paper roll.
1. Open the printer cover and remove the used paper roll core if there is one.
2. Insert the paper roll as shown below.
3. Plug the other end of the cable into the computer
3. Pull out the paper roll until the paper comes out from the top of the printer. Then close the printer cover.
4. Turn on the Printer.
9
10
Page 6
Chapter 4. Setting the DIP Switches
CAUTION
DIP switch functions
Turn off the printer while setting the DIP switch to prevent an electrical short, which can damage the printer.
You can change your interface and printer density settings by changing the DIP switch setting.
1. Make sure the printer is turned off.
2. There are a switch. Notice that ON is marked on each set of switches. Use tweezers or another narrow tool to move the switches.
1
No.
1 2 3
4 5
6 7 8
Level 1 2 3 4 5 6 7
Function Density Handshaking Reserved Language Reserved
BPS 2400 4800 9600 19200 38400 57600 115200
Dip Switch
D/W1 ON OFF OFF ON ON OFF ON
ON OFF
Dark Xon/Xoff
­Engish
-
NOTE Dip Switch 7 must be always set to ON condition.
D/W2 OFF ON OFF OFF ON ON ON
Normal DTR/DSR
­Korean
-
S/W3 OFF OFF ON ON OFF ON ON
3. Use the following tables to set the DIP switches.
11 12
Page 7
Chapter 5. Running the Self-test
Chapter 6. Code Table
1. Self-test printing
1) Starting the self test To start printing the self-test on a paper roll, hold down the PAPER FEED button and turn on the printer with the cover closed. The self-test prints the current printer settings, which provide the following information :
- control software version
- dip switch state
2) Standby state After printing the current printer status, the printer prints the message "Please press the FEED BUTTON.". The LED indicator blinks and the printer enter the test printing standby state. Press the FEED BUTTON to start test printing.
2. Ending the self-test After a number of lines are printed, the printer indicates the end of the self-test by printing " ** TEST COMPLETED ** ". If the self-test is completed, then you must reboot your printer. Followings are the self-test results with STP-102S and STP-102P.
The following pages show the character code tables. To find the character corresponding to a hexadecimal number, count across the top of the table for the For example, 4A=J.
13 14
Page 8
PC850 : Multilingual
PC860 : P ortuguese
1615
Page 9
PC863 : Canadian - French
PC865 : Nordic
17 18
Page 10
Space Page
19 20
Page 11
Chapter 7. Functions
The commands listed in the table below are available for control of the printer.
Commands
Command
HT LF ESC SP ESC ! ESC $ ESC % ESC & ESC * ESC ­ESC 2 ESC 3 ESC ? ESC @ ESC D ESC E ESC J ESC R ESC S ESC V
Name
Horizontal tab Print and line feed Set right-side character spacing Select print mode(s) Set absolute print position Select/cancel user-defined character set Define user-defined characters Select bit-image mode Turn under line mode on/off Select 1/6-inch line spacing Set line spacing Cancel user-defined characters Initialize printer Set horizontal tab positions Turn emphasized mode on/off Print and feed paper Select an international character set Select standard mode Turn 90 clockwise rotation mode on/off
Command Classification Executing Setting
Standard
Mode
Command
ESC \ ESC a ESC c5 ESC d ESC { GS $ GS / GS : GS B GS L GS P GS W GS ^ GS h GS k GS w
Set relative print position Select justification Enable/disable panel buttons Print and feed paper n lines Turn upside-down printing mode on/off Select haracter size Define downloaded bit image Start/end macro definition Turn white/black reverse printing mode on/off Set left margin Set vertical and horizontal motion units Set printing area width Execute macro Set bar code height print bar code Set bar code width
Command classification
Executing : Setting : Printer uses flags to make setting, and those setting affect the following data.
Standard mode
Name
Command Classification
Executing Setting
Printer executes the command, which does not affect the following data.
Enagled
:
Enabled only when the command is used at the beginning of a line.
:
( )
Enabled only when data is not present in the buffer.
:
Standard
Mode
( )
( )
21 22
Page 12
Chapter 8. Control Commands
Command Notation
ESC SP n
[Name] [Format]
[Range] [Description]
Set right-side character spacing. ASCII Hex Decimal 0 < n < 255 Sets the character spacing for the right side of the character to n dots.
ESC 1B 27
SP 20 32
n n n
[Name] [Format]
[Range] [Description]
The name of the command. the code sequence. ASCII indicates the ASSCII equivalents. Hex indicates the hexadecimal equivalents. Decimal indicates the decimal equivalents. [ ] k indicates the contents of the [ ] should be repeated k times. Gives the allowable ranges for the arguments. Describes the function of the command.
Explanation of Terms
LSB Least Significant Bit
Control Commands
HT
[Name] [Format]
[Description]
Horizontal tab. ASCII Hex Decimal Moves the print position to the next horizontal tab position.
HT 09 9
LF
[Name] [Format]
[Description]
Print and line feed. ASCII Hex Decimal Prints the data in the print buffer and feeds one line based on the current line spacing.
LF 0A 10
ESC ! n
[Name] [Format]
[Range] [Description]
Bit Off/On Hex Decimal Function
0 2
3 4 5 6
7 1
* Determine the values of n by adding the value of all the characteristics you want to select.
Select print modes. ASCII Hex Decimal 0 < n < 255 Selects print mode(s) using n as follows:
Off On
­Off On Off On Off On
­Off On On
00 01
­00 08 00 10 00 20
­00 80 02
ESC 1B 27
! 21 33
0 1
­0 8 0 16 0 32
­0 128 2
n n n
24 char 42 char Undefined. Emphasized mode not selected. Emphasized mode selected. Double-height mode not selected. Double-height mode selected. Double-width mode not selected. Double-width mode selected. Undefined. Underline mode not selected. Underline mode selected. 32 char
ESC-$ nL nH
[Name] [Format]
[Range] [Description]
Set absolute print position. ASCII Hex Decimal 0 < nL < 255 0 < nH < 255 Set the print starting position from the beginning of the line.
The distance from the beginning of the line to the print position is (nL + nH x 256) dots.
ESC 1B 27
$ 24 36
nL nL nL
nH nH nH
23 24
Page 13
ESC * m nL nH d1...dk
[Name] [Format]
[Range]
[Description]
[Notes]
Select bit-image mode. ASCII Hex Decimal m = 0, 1, 32, 33 0 < nL < 255 0 < nH < 3 0 < d < 255 Selects a bit-image mode using m for the number of dots specified by nL and nH, as follows. Number of data(k) = (nL + nH x 256) x 3
The nL and nH indicate the number of dots of the bit image in the horizontal direction. The number of dots is calculated by (nL + nH x 256). If the bit-image data input exceeds the number of dots to be printed on a line, the excess data is ignored. d indicates the bit-image data. Set a corresponding bit to 1 to print a dot or to 0 to not print a dot.
ESC 1B 27
*
2A 42
ESC - n
[Name] [Format]
[Range] [Description]
n Function
0, 48 1, 49 2, 50
Turn underline mode on/off. ASCII Hex Decimal 0 < n < 2, 48 < n < 50 Turns underline mode on or off, based on the following values of n:
ESC 1B 27
Turns off underline mode. Turns on underline mode (1-dot thick). Turns on underline mode (2-dots thick).
m nL nH d1 ... dk m nL nH d1 ... dk m nL nH d1 ... dk
­2D 45
n n n
ESC 3 n
[Name] [Format]
[Range] [Description]
Set line spacing. ASCII Hex Decimal 0 < n < 255 Sets the line spacing to n dots.
ESC @
[Name] [Format]
[Description]
Initialize printer. ASCII Hex Decimal 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.
ESC D n1...nk NUL
[Name] [Format]
[Range] [Description] [Notes]
Set horizontal tab positions. ASCII Hex Decimal 1 < n < 255 0 < k < 32 Sets horizontal tab position.
n specifies the column number for setting a horizontal tab position from the beginning of the line. k indicates the total number of horizontal tab positions to be set.
ESC 1B 27
ESC 1B 27
ESC 1B 27
3 33 51
@ 40 64
D 44 68
n n n
n1...nk n1...nk n1...nk
NUL 00 0
ESC 2
[Name] [Format]
[Description]
Select default line spacing. ASCII Hex Decimal Set the line spacing to 1/6 inch.
ESC 1B 27
2 32 50
ESC E n
[Name] [Format]
[Range] [Description]
[Notes]
25 26
Turn emphasized mode on/off. ASCII Hex Decimal 0 < n < 255 Turns emphasized mode on or off.
When the LSB is 0, emphasized mode is turned off. When the LSB is 1, emphasized mode is turned on.
ESC 1B 27
E 45 69
n n n
Page 14
ESC J n
[Name] [Format]
[Range] [Description]
Print and feed paper. ASCII Hex Decimal 0 < n < 255 Prints the data in the print buffer and feeds the paper n dots.
ESC 1B 27
J 4A 74
n n n
ESC R n
[Name] [Format]
[Range] [Description]
Select an international character set. ASCII Hex Decimal 0 < n < 10 Selects an international character set n from the following table.
n
0 1 2 3 4
ESC 1B 27
Character set
Germany
Denmark I
R 52 82
U.S.A.
France
U.K.
n n n
n
5 6 7 9
10
Character set
Sweden
Italy
Spain
Norway
Denmark II
ESC V n
[Name] [Format]
[Range] [Description]
n
0, 48 1, 49
[Notes] When underline mode is turned on, the printer does not underline 90
clockwise-rotated characters. Double-width and double-height commands in 90 rotation mode enlarge characters in the opposite directions as from double-height and double-width commands in normal mode. These command has no effect in page mode. If this command is input in page mode, the printer performs only internal flag operations.
ESC 1B 27
Function
V 56 86
n n n
ESC \ nL nH
[Name] [Format]
[Range] [Description]
[Notes]
ESC a n
[Name] [Format]
[Range] [Description]
n
0, 48 1, 49 2, 50
[Notes]
[Default] [Example]
Set relative print position. ASCII Hex Decimal 0 < nL < 255 0 < nH < 32 Set the print starting position based on the current position by using the horizontal or vertical motion unit.
This command sets the distance from the current position to (nL + nH x 256) dots. Any setting that exceeds the printable area is ignored.
Select justification. ASCII Hex Decimal 0 < n < 2, 48 < n < 50 Aligns all the data in one line to the specified position. n selects the type of justification as follows:
The command is enabled only when input at the beginning of the line. Lines are justified within the specified printing area. Spaces set by HT, ESC $, and ESC \ are all justified. n = 0
Left justification Centering Right justification
ESC 1B 27
ESC 1B 27
Justification
Left justification Centering Right justification
ABC ABCD ABCDE
\ 5C 92
a 61 97
1n, nH 1n, nH 1n, nH
n n n
ABC
ABCD
ABCDE
ABC
ABCD
ABCDE
27 28
Page 15
ESC c 5 n
[Name] [Format]
[Range] [Description]
[Notes]
Enable/Disable panel buttons. ASCII Hex Decimal 0 < n < 255 Enables or disables the panel buttons.
When the LSB is 0, the panel buttons are enabled. When the LSB is 1, the panel buttons are disabled.
ESC 1B 27
c 63 99
5 35 53
n n n
GS ! n
[Name] [Format]
[Range] [Description]
Bit
Select character size. ASCII Hex Decimal 0 < n < 255 (1 < vertical number of times < 8, 1 < horizontal number of times < 8) Selects the character height using bits 0 to 1 and selects the character width using bits 4 to 5, as following:
Off/On Hex Decimal Function
GS 1D 29
! 21 33
n n n
ESC d n
[Name] [Format]
[Range] [Description]
ESC { n
[Name] [Format]
[Range] [Description]
[Notes]
Print and feed n lines. ASCII Hex Decimal 0 < n < 255 Prints the data in the print buffer and feeds n lines.
Turn upside-down printing mode on/off. ASCII Hex Decimal 0 < n < 255 Turns upside-down printing mode on or off.
When the LSB is 0, upside-down printing mode is turned off. When the LSB is 1, upside-down printing mode is turned on.
ESC 1B 27
ESC 1B 27
d 64 100
{ 7B 123
n n n
n n n
0 ~ 1 4 ~ 5
Table 1 Character Width Selection
Hex
00 10
Character height selection. See Table 2 Character width selection. See Table 1
Decimal
0 16
GS :
[Name] [Format]
[Description]
Start/End macro definition. ASCII Hex Decimal Starts or ends macro definition.
Width
1(normal) 2(double)
GS 1D 29
: 3A 58
Table 2 Character Height Selection
Hex
00 10
Decimal
0 1
Width
1(normal) 2(double)
29
30
Page 16
GS B n
[Name] [Format]
[Range] [Description]
[Notes]
Turn white/black reverse printing mode on/off. ASCII Hex Decimal 0 < n < 255 Turn on or off white/black reverse printing mode.
When the LSB is 0, white/black reverse printing mode is turned on. When the LSB is 1, white/black reverse printing mode is turned off.
GS 1D 29
B 42 66
n n n
GS W nL nH
[Name] [Format]
[Range] [Description] [Notes]
Set printing area width. ASCII Hex Decimal 0 < nL < 255 0 < nH < 255 Set the printing area width to the area specified by nL and nH.
The printing area width is set to (nL + nH x 256) dots.
GS 1D 29
W 4C 87
nL nH nL nH nL nH
Printable area
GS L nL nH
[Name] [Format]
[Range] [Description] [Notes]
Set left margin. ASCII Hex Decimal 0 < nL < 255 0 < nH < 255 Sets the left margin using nL and nH in standard mode.
The left margin is set to (nL + nH x 256) dots from the beginning of the line. This command is effective only at the beginning of a line.
GS 1D 29
L 4C 76
nL nH nL nH nL nH
Printable area
Printing area widthLeft margin
GS ^ r t m
[Name] [Format]
[Range] [Description] [Notes]
Printing area widthLeft margin
This command is effective only at the beginning of a line. The maximum possible setting for the print range is the same as the maximum setting are rounded down to the maximum setting.
Execute macro. ASCII Hex Decimal 0 < r < 255 0 < t < 255 0 < m < 1
Executes a macro. r specifies the number of times to execute the macro. t specifies the waiting time for exceuting the macro. The waiting time is t x 100m sec for every macro execution. When m = 0 : the macro executes r times continously width interval specified by t. When m = 1 : After waiting for the period specified by t, the PAPER OUT LED indicator blinks and the printer waits for the FEED button to be pressed. After the button is pressed, the printer executes the macro once. The printer repeats the operation r times.
GS 1D 29
^ 5E 92
rtm rtm rtm
31 32
Page 17
GS h n
[Name] [Format]
[Range] [Description]
1
GS k m d1... dk NUL, GS k m n d1... dn
[Name] [Format]
[Range] [Description]
Set bar code height. ASCII Hex Decimal
GS 1D 29
h 68 104
n n
n 1 < n < 255 Set the height of the bar code. n specifies the number of dots in the vertical direction.
2
Print bar code.
1
ASCII Hex Decimal
2
ASCII Hex Decimal 0 < m < 6 (k and d depends on the bar code system used.)
1 2
65 < m < 73 (n and d depends on the bar code system used)
GS 1D 29 GS 1D 29
k 68 104 k 68 104
m m m m m m
Selects a bar code system and prints the bar-code. m selects a bar code system as follows. d indicates the character code to be printed and k indicates the number of characters to be printed.
m
Bar Code System
0
UPC-A
1
UPC-E
2
JAN13(EAN)
3
JAN8(EAN)
4
1
2
CODE39
5
ITF
6
CODABAR
65
UPC-A
66
UPC-E
67
JAN13(EAN)
68
JAN8(EAN)
69
CODE39
70
ITF
71
CODABAR
72
CODE93
73
CODE128
Number of Characters
11 < k < 12 11 < k < 12 12 < k < 13 7 < k < 8 1 < k
1 < k (even number) 1 < k
11 < n < 12 11 < n < 12 12 < n < 13 7 < n < 8 1 < n < 255
1 < n < 255 (even number) 1 < n < 255
1 < n < 255 2 < n < 255
d1...dk d1...dk d1...dk n d1... n d1... n d1...
NUL 00 0 dn dn dn
Remarks
48 < d < 57 48 < d < 57 48 < d < 57 48 < d < 57 48 < d < 57, 65 < d < 90
d = 32,36,37,43,45,46,47 48 < d < 57
48 < d < 57, 65 < d < 68 d = 36,43,45,46,47,58
48 < d < 57 48 < d < 57 48 < d < 57 48 < d < 57 48 < d < 57, 65 < d < 90 d = 32,36,37,43,45,46,47
48 < d < 57 48 < d < 57, 65 < d < 68,
d = 36,43,45,46,47,58 0 < d < 127 0 < d < 127
APPENDIX A: CONNECTORS
SERIAL INTERFACE CONNECTOR (STP-102S)
PRINTER
20 19 21
22~25
18
25 PINE MALE
TXD(O) RXD(I) CTS(I) GND RTS(O)
CONNECT
PARALLEL INTERFACE CONNECTOR (STP-102P)
PRINTER
1 2 3 4 5 6 7 8
9 10 11 12 13 15
16~21 22~25
/STROBE(I/O) DATA0(I/O) DATA1(I/O) DATA2(I/O) DATA3(I/O) DATA4(I/O) DATA5(I/O) DATA6(I/O) DATA7(I/O) /ACK(I) BUSY(I) PE(I) SLCT /ERROR(I) N.C GND
25 PINE FEMALE
HOST
2 3 7 5 8 4 6
9 PINE MALE
HOST
1 2 3 4 5 6 7 8
9 10 11 12 13 15 16
18~25
25 PINE FEMALE
RXD(I) TXD(O) RTS(O) GND CTS(I) DTR(O) DSR(I)
/STROBE(I/O) DATA0(I/O) DATA1(I/O) DATA2(I/O) DATA3(I/O) DATA4(I/O) DATA5(I/O) DATA6(I/O) DATA7(I/O) /ACK(I) BUSY(I) PE(I) SLCT /ERROR(I) /INIT(O) GND
33 34
Page 18
APPENDIX B: Specification
Printing method Dot density Printing width Paper width Characters per line
Printing speed
Receive buffer size
Supply voltage
Environmental conditions
MCBF
Paper
- Paper thickness : 0.06 ~ 0.09mm
- Roll size : 60 ~ 57(w)
- Roll spool diameter
1) Inside : 12mm (0.47")
2) Outside : 18mm (0.71")
Thermal line printing 200 x 200 Dpi (8 dot/mm) 48mm 58mm 42 (Font A)(12x24) ,56(Font B)(9x24) Approximately 1.97 inchs/sec 50 mm/sec at 25°C/printing duty 12.5% 15K bytes
Temperature
Humidity
Mechanical Head
7.5V 2.2A
0 ~ 40°C (operating)
-10 ~ 50°C (storage) 30 ~ 80% RH (operating) 10 ~ 90% RH (storage) 15,000,000 line 50 million pulse (about 50km)
35
JF01-000012
Loading...