Samsung Printer STP 103P User Guide

USER’S MANUAL  
STP-103  
THERMAL PRINTER  
KN04-00003A  
Rev. 2.6  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Warning – U.S  
Introduction  
This equipment has been tasted 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 interference 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.  
The STP-103 and STP-103P Roll Printer are designed for use with electronic  
instruments such as system ECR, POS, banking equipment peripheral equipment,  
etc.  
The main features of the printer are as follows:  
1. High speed printing.  
2. Low noise thermal printing.  
3. RS-232 serial interface (STP-103S), Parallel interface (STP-103P).  
4. The data buffer allows the unit to receive print data even during printing.  
5. Different print densities can be selected by DIP switches.  
This equipment has been tasted and found to comply with the limits for a Class B  
digital device, pursuant to Part 15 of the FCC Rules. These limits are designed to  
provide reasonable protection against harmful interference in a residential  
installation. This equipment generates, uses and can radiate radio frequency energy  
and, if not installed and used in accordance with the instructions, may cause  
harmful interference to radio communications. However, there is no guarantee that  
interference will not occur in a particular installation. If this equipment does cause  
harmful interference to radio or television reception, which can be determined by  
turning the equipment off and on, the user is encouraged to try to correct the  
interference by one or more of the following measures:  
Please be sure to read the instruction in this manual carefully before using your new  
STP-103S and STP-103P.  
NOTE  
The socket-outlet shall be near the equipment and it shall be easy accessible.  
- Reorient or relocate the receiving antenna.  
- Increase the separation between the equipment and receiver.  
- Connect the equipment into an outlet on a circuit different from that to which  
the receiver is connected.  
- Consult the dealer or an experienced radio/TV technician for help.  
Notice - Canada  
This Apparatus complies with class "A" limits for radio interference as specified in  
the Canadian department of communications radio interference regulations.  
Download from Www.Somanuals.com. All Manuals Search And Download.  
4
5
Table of Contents  
Chapter 1. Unpacking  
1-1. Checking the contents of the Printer  
...........................................................7  
The items illustrated below are included with your printer.  
If any items are damaged or missing, please contact your dealer for assistance.  
Chapter 1. Unpacking  
........................................................7  
1-1. Checking the contents of the Printer  
Unpacking  
..................................................................................7  
...................................................................................8  
1-2. Locating the Printer  
1-3. Printer Part names  
1-4. Operating Control Panel  
...........................................................................9  
........................................10  
Chapter 2. Connecting the cable  
Roll paper  
Power cord  
.............................................10  
2-1. Connecting the AC adapter to your printer  
...............................................11  
2-2. Connecting the Printer to your computer  
...................................13  
................................14  
Chapter 3. Installing the Paper Roll  
Adaptor  
Chapter 4. Setting the DIP Switching  
Printer  
.......................................16  
.....................................17  
Chapter 5. Running the Self Test  
Chapter 6. Hexadecimal Dumping  
Cable  
1-2. Locating the Printer  
........................................................18  
..........................................................27  
Chapter 7. Code Table  
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.  
Chapter 8. Functions  
Make sure that there is enough space around the printer so that it can be used  
easily.  
..........................................29  
Chapter 9. Control Commands  
..........................................................................51  
APPENDIX A - Connectors  
- Serial Type (STP-103S)  
- Parallel Type (STP-103P)  
........................................................51  
......................................................51  
.........................................................................52  
APPENDIX B - Specification  
........................................................53  
Option : STP-103DK  
Download from Www.Somanuals.com. All Manuals Search And Download.  
6
7
1-3. Printer Part Names  
1-4. Operating Control Panel  
The control panel has two buttons and two lights.  
(10)  
(1) Cover top  
(2) Case top  
(5)  
(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  
(1)  
POWER ERROR  
FEED  
ON LINE  
Rear View  
(11)  
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.  
(2)  
(4)  
(3)  
Indicator Lights  
The control panel lights provide information on printer conditions.  
Rear View  
POWER (green)  
The POWER light is on when the printer power is on.  
(9)  
(6)  
(7)  
(8)  
ERROR (red)  
1) The error LED blinks fast when paper is out.  
2) The error LED blinks when the Near End Sensor triggered.  
STP-103S  
STP-103P  
Control Panel  
POWER ERROR  
FEED  
ON LINE  
Download from Www.Somanuals.com. All Manuals Search And Download.  
8
9
2-2. Connecting the printer to your Computer  
Chapter 2. Connecting the Cable  
STP-103S  
2-1. Connecting the AC adapter to your printer  
You need an appropriate serial interface cable to connect your computer to the  
printer's built-in interface.  
When the printer is used, use the optional AC adapter, NH36-240150-I1 for your  
printer.  
1. Make sure that both the printer and computer are turned off :  
then plug the cable connector securely into the printer's interface connector.  
WARNING  
Using an incorrect power supply may cause fire or electrical.  
2. Tighten the screws on both sides of the cable connector.  
CAUTION  
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.  
25 Pin Female Type  
2. Check the label on the power supply to make sure that the required 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-103S / STP-103P  
3. Plug the other end of the cable into the computer.  
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.  
Download from Www.Somanuals.com. All Manuals Search And Download.  
10  
11  
2-2. Connecting the printer to your Computer  
Chapter 3. Installing the Paper Roll  
STP-103P  
Use a paper roll that matches the specifications.  
You need an appropriate parallel interface cable to connect your computer to the  
printer's built-in interface.  
NOTE  
The printer must be turned off before installing the paper roll.  
1. Make sure that both the printer and computer are turned off :  
then plug the cable connector securely into the printer's interface connector.  
1. Open the printer cover and remove the used paper roll core if there is one.  
2. Insert the paper roll as shown below.  
2. Tighten the screws on both sides of the cable connector.  
25 Pin Female Type  
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.  
Download from Www.Somanuals.com. All Manuals Search And Download.  
12  
13  
DIP Switch Functions  
Chapter 4. Setting the DIP Switches  
BPS  
SW1  
On  
Off  
Off  
On  
On  
Off  
On  
SW2  
Off  
On  
Off  
Off  
On  
On  
On  
SW3  
Off  
Off  
On  
On  
Off  
On  
On  
Default  
9600  
CAUTION  
2400 bps  
4800 bps  
9600 bps  
19200 bps  
38400 bps  
57600 bps  
115200 bps  
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.  
Function  
Density  
Handshaking  
On  
Dark  
Xon/Xoff  
Off  
Normal  
RTS/CTS  
Default  
Normal  
RTS/CTS  
SW  
SW4  
SW5  
(DTR/DSR)  
Firmware  
Download  
SW8  
Download  
Printing  
Printing  
SW7  
SW6  
CPL  
Default  
Language  
On  
Off  
On  
Off  
24  
32  
Johap  
Wansung  
On  
Off  
English  
Korean  
English  
32CPL  
1
3. Use the following tables to set the DIP switches.  
Download from Www.Somanuals.com. All Manuals Search And Download.  
14  
15  
Chapter 5. Running the Self-test  
Chapter 6. Hexadecimal Dumping  
1. Self-test printing  
This feature allows experienced users to see exactly what data is coming to the  
printer. This can be useful in finding software problems. When you turn on the  
hexadecimal dump function, the printer prints all commands and data in  
hexadecimal format along with a guide section to help you find specific commands.  
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 :  
To use the hexadecimal dump function, follow these steps:  
1. After you make sure that the printer is off. Close the cover.  
2. Turn on the printer, while holding down the FEED button and ONLINE button.  
3. Then the printer enters the hexadecimal dump mode.  
- control software version  
- dip switch state  
2) Standby state  
4. Run any software program that sends data to the printer. The printer will print all  
the codes it receives in a two-column format. The first column contains the  
hexadecimal codes and the second column gives the ASCII characters that  
corresponds to the codes.  
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.  
1B 21 00 1B 26 02 40 40  
1B 25 01 1B 63 34 00 1B  
41 42 43 44 45 46 47 48  
. ! . . & . @ @  
. % . . c4 . .  
ABCDEFGH  
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 not completed, then you must reboot your printer.  
• A period (.) is printed for each code that has no ASCII equivalent.  
• During the hex dumping, any commands other than DEL EOT and DLE ENQ  
do not function.  
5. When the printing finishes, turn off the printer.  
6. Turn on the printer and then the hexadecimal mode is off.  
Download from Www.Somanuals.com. All Manuals Search And Download.  
16  
17  
Chapter 7. Code Table  
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.  
#
Page1 : KATAKANA  
PC437 : USA, Standard Europe  
Download from Www.Somanuals.com. All Manuals Search And Download.  
18  
19  
PC860 : Portuguese  
PC850 : Multilingual  
Download from Www.Somanuals.com. All Manuals Search And Download.  
20  
21  
PC863 : Canadian – French  
PC865 : Nordic  
Download from Www.Somanuals.com. All Manuals Search And Download.  
22  
23  
SP  
PC858: Euro  
Space Page  
Download from Www.Somanuals.com. All Manuals Search And Download.  
24  
25  
Chapter 8. Functions  
The commands listed in the table below are available for control of the printer.  
Commands  
Command Classification Standard  
Command  
Name  
Mode  
Execution  
Setting  
HT  
LF  
CR  
Horizontal tab  
Print and line feed  
Print and carriage return  
DLE EOT Real-tine status transmission  
DLE ENQ Real-time request to printer  
ESC SP  
ESC !  
ESC $  
ESC %  
ESC &  
ESC *  
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 underline mode on/off  
Select 1/6-inch line spacing  
Set line spacing  
Select peripheral device  
Cancel user-defined characters  
Initialize printer  
Set horizontal tab positions  
Turn emphasized mode on/off  
Print and feed paper  
Select an international character set  
Turn 90 clockwise rotation mode on/off  
Set relative print position  
Select justification  
ESC -  
ESC 2  
ESC 3  
ESC =  
ESC ?  
ESC @  
ESC D  
ESC E  
ESC J  
ESC R  
ESC V  
ESC  
ESC a  
Download from Www.Somanuals.com. All Manuals Search And Download.  
26  
27  
Chapter 9. Control Commands  
Command Notation  
XXXX Command  
[Name]  
[Format]  
The name of the command.  
The code sequence.  
Command Classification Standard  
Command  
Name  
Mode  
0
0
Execution  
Setting  
0
ASCII indicates the ASCII equivalents.  
Hex indicates hexadecimal equivalents.  
Decimal indicates the decimal equivalent.  
[ ]k indicates the contents of the [ ] should be repeated k times.  
Gives the allowable ranges for the parameters.  
Esc c 5  
Esc d  
Esc t  
Esc {  
FS p  
FS q  
GS !  
Enable/disable panel FEED buttons  
Print and feed paper n lines  
Select character code table  
Turn upside-down printing mode on/off  
Print non-volatile bit image  
Define non-volatile bit image  
Select character size  
0
0
0
0
0
[Range]  
0
0
[Description] Describes the function of the command.  
[Notes]  
0
0
Provides important information on setting and using the printer  
command, it necessary.  
Gives the default values, if any, for the command parameters.  
0
0
0
0
(0)  
GS *  
GS /  
GS :  
Define downloaded bit image  
Print downloaded bit image  
Start/end macro definition  
Turn white/black reverse printing mode  
on/off  
[Default]  
[Reference] Lists related commands.  
[Example]  
The numbers followed by H are hexadecimal  
The numbers followed by B are binary.  
The numbers denoted by ( ) are decimal.  
0
0
0
0
0
Provides examples using the command.  
GS B  
GS H  
GS I  
Select printing position of HRI characters  
Transmit print ID  
0
0
0
GS L  
GS P  
Set let margin  
Set vertical and horizontal motion unite  
0
0
(0)  
0
GS W  
Set printing area width  
0
(0)  
Explanation of Terms  
GS ^  
GS a  
GS b  
GS f  
GS h  
GS k  
GS v  
GS w  
Execute macro  
0
0
0
0
0
0
0
0
0
0
0
(
Enable/disable Automatic Status Back  
Turn smoothing mode on/off  
Select font for HRI characters  
Set bar code height  
Print bar code  
Print raster bit image  
LSB  
Least Significant Bit  
0
0
Control Commands  
HT  
0
0
Set bar code width  
0
[Name]  
Horizontal tab  
[Format]  
ASCII  
Hex  
Decimal  
HT  
09  
9
Command classification  
Executing : Printer executes the command, which does not affect the  
following data.  
[Description] Moves the print position to the next horizontal tab position.  
LF  
[Name]  
[Format]  
Setting  
: Printer uses flags to make setting, and those setting affect  
the following data.  
Print and line feed  
ASCII  
Hex  
Decimal  
LF  
0A  
10  
Standard mode  
: Enabled  
[Description] Prints the data in the print buffer and feeds one line based on the  
current line spacing.  
() : Enabled only when the command is used at the beginning of a line.  
X
: Enabled only when data is not present in the buffer.  
: Disable  
Download from Www.Somanuals.com. All Manuals Search And Download.  
28  
29  
CR  
n=3 : Error status  
[Name]  
[Format]  
Print and carriage return.  
Bit  
0
1
Off/On  
Off  
On  
-
Hex  
00  
02  
-
decimal Function  
ASCII  
Hex  
HT  
0D  
13  
0
2
Not used. Fixed to Off.  
Not used. Fixed to On.  
Undefined.  
Decimal  
2
-
[Description] When automatic line feed is enabled, this command functions the  
same as LF; when automatic line feed is disabled, this command  
is ignored.  
3
4
5
6
Off  
On  
Off  
Off  
Off  
00  
10  
00  
00  
00  
0
16  
0
0
0
Not used. Fixed to Off.  
Not used. Fixed to On.  
Not used. Fixed to Off.  
Not used. Fixed to Off.  
Not used. Fixed to Off.  
DLE EOT n  
7
[Name]  
Real-time status transmission.  
[Format]  
ASCII  
HEX  
Decimal  
1 n 4  
DLE  
10  
16  
EOT  
04  
4
n
n
n
n=4 : Continuous paper sensor status  
Bit  
0
1
Off/On  
Off  
On  
Hex Decimal Function  
00  
02  
0
2
Not used. Fixed to Off.  
Not used. Fixed to On.  
[Range]  
[Description] Transmits the selected printer status specified by n in real time,  
according to the following parameters:  
n=1 : Transmit printer status.  
2,3 Off,Off  
On,On  
00  
0C  
10  
00  
60  
00  
0
12  
16  
0
96  
0
Paper roll near-end sensor is Off.  
Paper roll near-end sensor is On.  
Not used. Fixed to On.  
Paper roll sensor. Paper present.  
Paper roll end detected by paper roll sensor  
Not used. Fixed to Off.  
4
On  
Off  
On  
Off  
n=2 : Transmit off-line status.  
n=3 : Transmit error status.  
n=4 : transmit paper roll sensor status.  
5,6  
7
n=1 : printers status.  
Bit  
0
1
2
3
Off/On  
Off  
On  
Off  
Off  
On  
On  
-
Hex Decimal Function  
DLE ENQ n  
[Name]  
[Format]  
Real time request to printer  
00  
02  
00  
00  
08  
10  
-
0
2
0
0
8
Not used. Fixed to Off  
Not used. Fixed to On  
Not used.  
On-line  
Off-line  
ASCII  
HEX  
DLE  
10  
ENQ  
05  
n
n
n
DECIMAL  
16  
5
[Range]  
1n 2  
[Description] Respond to a request from the host computer. n specifies the  
requests as follows  
4
5-6  
7
16  
-
Not used. Fixed to On  
Undefined  
n
1
2
Request  
Off  
00  
0
Not used. Fixed to Off  
Recover from an error and restart printing from the line where the error occurred  
Recover from an error after clearing the receive and print buffers  
n=2 : Off-line status  
Bit  
0
1
Off/On  
Off  
On  
Off  
On  
Off  
On  
On  
Off  
Hex Decimal Function  
ESC SP n  
[Name]  
[Format]  
00  
02  
00  
04  
00  
08  
10  
00  
00  
00  
0
2
0
4
0
8
16  
0
0
0
Not used. Fixed to off.  
Not used. Fixed to on.  
Cover is closed.  
Cover is open.  
Paper is not being fed by using the PAPER FEED button.  
Paper is being fed by the PAPER FEED button.  
Not used. Fixed to on.  
Not used. Fixed to off.  
Not used. Fixed to off.  
Set right-side character spacing  
ASCII  
Hex  
ESC  
1B  
SP  
20  
n
n
n
2
Decimal  
0 n 255  
27  
32  
3
[Range]  
[Description] Sets the character spacing for the right side of the character to  
[n × horizontal or vertical motion units].  
4
5
6
7
Off  
Off  
Not used. Fixed to off.  
Download from Www.Somanuals.com. All Manuals Search And Download.  
30  
31  
ESC ! n  
[Name]  
[Format]  
ESC & y c1 c2 [x1 d1… d(y X x1)]…[xk d1…d(y X xk)]  
Select print mode(s)  
[Name]  
Define user-defined characters  
ASCII  
Hex  
ESC  
1B  
!
21  
33  
n
n
n
ASCII  
Hex  
Decimal 27 38  
y = 3  
ESC  
1B 26  
&
y
y
y
c1 c2 [x1 d1… d(y X x1)]…[xk d1…d(y X xk)]  
c1 c2 [x1 d1… d(y X x1)]…[xk d1…d(y X xk)]  
c1 c2 [x1 d1… d(y X x1)]…[xk d1…d(y X xk)]  
Decimal  
0 n 255  
27  
[Range]  
[Range]  
[Description] Selects print mode(s) using n as following table in next page.  
32 c1 c2 126  
0 x 12 (Font A (12×24))  
0 x 9 (Font B ( 9×24))  
0 d1… d(y × xk) 255  
Bit  
0
Off/On  
Off  
On  
Off  
On  
-
Off  
On  
Off  
On  
Off  
On  
-
Hex Decimal Function  
00  
01  
00  
02  
-
0
1
0
2
-
24 character (font A : 12 ×24)  
42 character (font B : 9 ×24)  
Undefined  
32 character (font A : 12 ×24)  
Undefined  
[Description] Defines user-defined characters. y specifies the number of bytes in  
the vertical direction. C1 specifies the beginning character code for  
the definition, and c2 Specifies the final code. x specifies the  
beginning character code for the definition, and c2 specifies the final  
code.  
1
2
3
00  
08  
00  
10  
00  
20  
-
0
8
0
16  
0
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.  
ESC * m nL nH d1... dk  
4
5
[Name]  
[Format]  
Select bit-image mode  
ASCII  
Hex  
Decimal  
ESC  
1B  
27  
*
2A  
42  
m
m
m
nL nH d1... dk  
nL nH d1... dk  
nL nH d1... dk  
32  
-
6
7
[Range]  
m = 0, 1, 32, 33  
0 nL 255 , 0 nH 3 , 0 d 255  
Off  
On  
00  
80  
0
128  
Underline mode not selected.  
Underline mode selected.  
[Description] Selects a bit-image mode using m for the number of dots specified  
by nL and nH, as follows:  
ESC $ nL nH  
[Name]  
[Format]  
Set absolute print position  
Vertical Direction  
Number Dots  
of Dots Density Density  
Horizontal Direction(*1)  
ASCII  
Hex  
ESC  
1B  
$
24  
36  
nL  
nL  
nL  
nH  
nH  
nH  
m
Mode  
Dots  
Number of Data (k)  
Decimal  
0 nL 255  
0 nH 255  
27  
0
1
32  
33  
8-dot single-density  
8-dot double-density  
24-dot single-density  
24-dot double-density  
8
8
24  
24  
67 DPI 100 DPI  
67 DPI 200 DPI  
200 DPI 100 DPI  
200 DPI 200 DPI  
nL + nH × 256  
nL + nH × 256  
(nL + nH × 256) × 3  
(nL + nH × 256) × 3  
[Range]  
[Description] Sets the distance from the beginning of the line to the position at  
which subsequent characters are to be printed.  
The distance from the beginning of the line to the print position  
is [(nL + nH ×256)×(vertical or horizontal motion unit)] inches.  
ESC - n  
[Name]  
Turn underline mode on/off  
ASCII  
Hex  
Decimal  
ESC  
1B  
27  
-
2D  
45  
n
n
n
ESC % n  
[Name]  
Select/cancel user-defined character set  
ASCII  
Hex  
Decimal  
0 n 255  
ESC  
1B  
27  
%
25  
37  
n
n
n
[Range]  
0 n 2, 48 n 50  
[Description] Turns underline mode on or off, based on the following values of n:  
[Range]  
n
Function  
0,48 Turns off underline mode  
1,49 Turns off underline mode(1-dot thick)  
2,50 Turns off underline mode(2-dot thick)  
[Description] Selects or cancels the user-defined character set.  
When the Least Significant Bit(LSB) of n is 0, the user-defined  
Character set is canceled.  
When the LSB of n is 1, the user-defined character set is selected.  
Download from Www.Somanuals.com. All Manuals Search And Download.  
32  
33  
ESC 2  
[Name]  
[Format]  
ESC @  
[Name]  
[Format]  
Select 1/6-inch line spacing  
Initialize printer  
ASCII  
Hex  
ESC  
1B  
2
32  
50  
ASCII  
Hex  
Decimal  
ESC  
1B  
27  
@
40  
64  
Decimal  
27  
[Description] Selects 1/6-inch line spacing.  
[Description] 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 3 n  
ESC D n1...nk NUL  
[Name]  
Set line spacing  
[Format]  
ASCII  
Hex  
Decimal  
ESC  
1B  
27  
3
33  
51  
n
n
n
[name]  
[Format]  
Set horizontal tab positions  
ASCII  
ESC  
1B  
D
44  
68  
n1...nk  
n1...nk  
n1...nk  
NUL  
00  
0
Hex  
[Range]  
Sets the line spacing to [n X (vertical or horizontal motion unit)]  
inches.  
Decimal  
1 n 255  
0 k 32  
27  
[Range]  
[Description] 0 n 255  
[Description] Sets horizontal tab positions.  
n specifies the column number for setting a horizontal tab  
position from the beginning of the line.  
ESC = n  
[Name]  
Select peripheral device  
k indicates the total number of horizontal tab positions to be set.  
[Format]  
ASCII  
Hex  
Decimal  
0 n 255  
ESC  
1B  
27  
=
3D  
61  
n
n
n
ESC E n  
[Name]  
[Range]  
Turn emphasized mode on/off  
[Description] Selects the device to which the host computer sends data, using n  
as follows:  
[Format]  
ASCII  
Hex  
Decimal  
0 n 255  
ESC  
1B  
27  
E
45  
69  
n
n
n
[Range]  
Bit  
0
Off/On  
Off  
On  
Hex  
Decimal  
Function  
Printer disabled.  
Printer enabled.  
Undefined.  
[Description] Turns emphasized mode on or off.  
When the LSB of n is 0, emphasized mode is turned off.  
00  
01  
-
0
1
-
When the LSB of n is 1, emphasized mode is turned on.  
1
2
3
4
5
6
7
-
-
-
-
-
-
-
-
-
Undefined.  
ESC J n  
[Name]  
[Format]  
-
-
Undefined.  
Print and feed paper  
ASCII  
Hex  
Decimal 27  
0 n 255  
-
-
Undefined.  
ESC  
1B  
J
4A  
74  
n
n
n
-
-
Undefined.  
-
-
Undefined.  
-
-
Undefined.  
[Range]  
[Description] Prints the data in the print buffer and feeds the paper [n X  
(vertical or horizontal motion unit)] inches.  
ESC ? n  
[Name]  
Cancel user-defined characters  
[Format]  
ASCII  
Hex  
Decimal  
32 n 126  
ESC  
1B  
27  
?
3F  
63  
n
n
n
[Range]  
[Description] Cancels user-defined characters.  
Download from Www.Somanuals.com. All Manuals Search And Download.  
34  
35  
ESC R n  
[Name]  
ESC V n  
[Name]  
Select an international character set  
Turn 90° clockwise rotation mode on/off  
[Format]  
ASCII  
Hex  
Decimal  
0 n 10  
ESC  
1B  
27  
R
52  
82  
n
n
n
[Format]  
ASCII  
Hex  
Decimal  
ESC  
1B  
27  
V
56  
86  
n
n
n
[Range]  
[Range]  
0 n 1, 48 n 49  
[Description] Selects an international character set n from the following table:  
[Description] Turns 90° clockwise rotation mode on off.  
N is used follows:  
n
0
Character set  
U.S.A.  
n
Function  
0,48  
1,49  
Turn off 90°clockwise rotation mode  
Turns on 90°clockwise rotation mode  
1
2
3
France  
Germany  
U.K  
ESC nL nH  
[Name]  
4
5
6
7
8
9
10  
Denmark  
Sweden  
Italy  
Spain  
Japan  
Set relative print position  
[Format]  
ASCII  
ESC  
nL  
5C nL  
92 nL  
nH  
nH  
nH  
Hex  
1B  
Decimal  
0 nL 255  
0 nL 255  
27  
[Range]  
Norway  
Denmark Ⅱ  
[Description] Sets the print starting 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)X(horizontal or vertical motion unit)].  
ESC a n  
[Name]  
Select justification  
[Format]  
ASCII  
Hex  
Decimal  
ESC  
1B  
27  
a
61  
97  
n
n
n
[Range]  
0 n 2, 48 n 50  
[Description] Aligns all the data in one line to the specified position.  
N selects the type of justification as follows:  
n
Justification  
0,48  
1,49  
2,50  
Left justification  
Centering  
Right justification  
Download from Www.Somanuals.com. All Manuals Search And Download.  
36  
37  
ESC c 5 n  
[Name]  
[Format]  
ESC { n  
[Name]  
[Format]  
Enable/disable panel FEED buttons  
Turns upside-down printing mode on/off  
ASCII  
Hex  
ESC  
1B  
c
63  
99  
5
35  
53  
n
n
n
ASCII  
Hex  
ESC  
1B  
{
n
n
7B  
123  
Decimal  
0 n 255  
27  
Decimal  
0 n 255  
27  
n
[Range]  
[Range]  
[Description] Enables or disables the panel buttons.  
When the LSB of n is 0, the panel FEED buttons are enabled.  
[Description] Turns upside-down printing mode on or off.  
When the LSB of n is 0, upside-down printing mode is turned off.  
When the LSB of n is 1, the panel FEED buttons are disabled.  
When the LSB of n is 1, upside-down printing mode is turned on.  
ESC d n  
[Name]  
FS p n m  
[Name]  
Print and feed paper n lines  
Print non-volatile bit image  
[Format]  
ASCII  
Hex  
Decimal  
0 n 255  
ESC  
1B  
27  
D
64  
100  
n
n
n
[Format]  
ASCII  
Hex  
Decimal  
FS  
1C  
28  
p
70  
112  
n
n
n
m
m
m
[Range]  
[Range]  
1 n 255 , 0 m 3 , 48 m 51  
[Description] Prints the data in the print buffer and feeds the paper n line.  
This command sets the print starting position to the beginning  
of the line.  
[Description] Prints a non-volatile bit image n using the mode specified by m  
m
Mode  
Vertical dot density  
Horizontal dot density  
This command does cot affect the line spacing set by ESC 2 or  
ESC 3.  
The maximum paper feed amount is 40 inches. Even if a paper  
feed amount of more than 40 inches is set, the printer feeds the  
paper only 40 inches.  
0,48  
1,49  
2,50  
3,51  
Normal  
180  
180  
90  
180  
90  
180  
90  
Double-width  
Double-height  
Quadruple  
90  
When label mode is selected and a paper feed amount that  
exceeds the length of one label is set, the printer feeds the  
label paper to the next print starting position.  
n is the number of the non-volatile bit image.  
(defined using the FS q command)  
m specifies the bit image mode.  
ESC t n  
[Name]  
[Format]  
FS q n [xL xH yH d1 …dk]1…[xL xH yL yH d1…dk]n  
Select character code table.  
[Name]  
Define non-volatile bit image  
ASCII  
Hex  
Decimal  
ESC  
1B  
27  
t
n
n
n
[Format]  
ASCII  
Hex  
Decimal  
1 n 255  
0 nL 255  
FS  
1C 71  
28 113  
q
n
n
n
[xL xH yH d1 …dk]1…[xL xH yL yH d1…dk]n  
[xL xH yH d1 …dk]1…[xL xH yL yH d1…dk]n  
[xL xH yH d1 …dk]1…[xL xH yL yH d1…dk]n  
74  
116  
[Range]  
0 n 5, n = 11, 255  
[Range]  
[Description] Selects a page n from the character code table.  
0 xH 3 (when 1 xL+xH×2561023)  
0 yL 1 (when 1yL+yH×256288)  
0 d 255  
k = (xL+xH×256) × (yL+yH×256)×8  
Total defined data area=2M bits(256K bytes)  
n
0
1
2
3
4
5
11  
255  
Page  
0 : PC437 [U.S.A., standard Europe]  
1 : Katakana  
2 : PC850 [Multilingual]  
3 : PC860 [Portuguese]  
4 : PC863 [Canadian-French]  
5 : PC865 [Nordic]  
11 : PC858 [Euro]  
[Description] Define the non-volatile bit image specified by n  
n specifies the number of the defined non-volatile bit image  
xL, xH specifies(xL + xH×256)×8 dots in the horizontal direction  
for the non-volatile bit image you are defining.  
yL, yH specifies (yL + yH×256)x8 dots in the vertical direction for  
the non-volatile bit image you are defining.  
Space page  
[Default] n = 0  
Download from Www.Somanuals.com. All Manuals Search And Download.  
38  
39  
GS ! n  
[Name]  
[Format]  
GS / m  
[Name]  
[Format]  
Select character size  
Print downloaded bit image  
ASCII  
GS  
1D  
29  
!
n
n
n
ASCII  
Hex  
Decimal  
GS  
1D  
29  
/
m
m
m
Hex  
21  
33  
2F  
47  
Decimal  
0 n 255  
[Range]  
[Range]  
0 m 3,48 m 51  
Where 1 Number of times of character height 2  
[Description] Prints downloaded bit image in mode m.  
1 Number of times of character width 2  
The modes selectable by m as follows:  
[Description] Selects the character height using bits 0 to 1 and selects the  
character width using bits 4 to 7, as follows:  
m
Mode  
Normal  
Double-width  
Double-height  
Quadruple  
Vertical Dot Density  
200 DPI  
Horizontal Dot Density  
200 DPI  
0,48  
1,49  
2,50  
3,51  
200 DPI  
100 DPI  
100 DPI  
100 DPI  
200 DPI  
100 DPI  
Bit  
0
Off/On  
Hex  
Decimal  
Function  
1
2
Character height selection. See Table 2.  
GS :  
[Name]  
[Format]  
3
4
Start or ends macro definition.  
ASCII  
Hex  
GS  
1D  
29  
:
5
6
7
Character width selection. See Table 1  
Table 2  
3A  
58  
Decimal  
[Description] Starts or ends macro definition.  
Table 1  
GS B n  
[Name]  
[Format]  
Character width Selection  
Character height Selection  
Turn white/black reverse printing mode on/off  
ASCII  
Hex  
Decimal  
0 n 255  
Hex Decimal  
Width  
Hex Decimal  
Height  
GS  
1D  
29  
B
n
42  
66  
n
n
00  
10  
0
16  
1 (normal)  
2 (double-width)  
00  
01  
0
1
1 (normal)  
2 (double-height)  
[Range]  
[Description] Turns white/black reverse printing mode on or off.  
When the LSB of n is 0, white/black reverse printing mode is  
turned off.  
GS * x y d1...d (x X y X 8)  
[Name]  
Define downloaded bit image  
[Format]  
ASCII  
GS  
1D  
29  
*
2A  
42  
x
x
x
y
y
y
d1...d (x X y X 8)  
d1...d (x X y X 8)  
d1...d (x X y X 8)  
When the LSB of n is 1, white/black reverse printing mode is  
turned on.  
Hex  
Decimal  
1 x 255  
1 y 48  
0 d 255  
[Range]  
GS H n  
where, x X y 1536  
[Name]  
Select printing position of HRI characters  
[Format]  
ASCII  
Hex  
Decimal  
ESC  
1D  
29  
H
48  
72  
n
n
n
[Description] Defines a downloaded bit image using the dots specified by x and y.  
x indicates the number of dots in the horizontal direction.  
y indicates the number of dots in the vertical direction.  
[Range]  
0 n 3 , 48 n 51  
[Description] Selects the printing position of HRI characters when printing  
bar code.  
Download from Www.Somanuals.com. All Manuals Search And Download.  
40  
41  
n selects the printing position as follows:  
GS P x y  
[Name]  
Set horizontal and vertical motion units  
N
Printing position  
Not printed  
Above bar code  
Below bar code  
[Format]  
ASCII  
Hex  
Decimal  
0 x 255  
0 y 255  
GS  
1D  
29  
P
50  
80  
x
x
x
y
y
y
0,48  
1,49  
2,50  
3,51  
[Range]  
Both above and below the bar code  
[Description] Sets the horizontal and vertical motion units to 1/x inch, respectively.  
When x is set to 0, the default setting value is used.  
HRI indicates Human Readable interpretation.  
n = 0  
When y is set to 0, the default setting value is used.  
[Default]  
GS W nL nH  
[Name]  
[Format]  
GS I n  
[Name]  
[Format]  
Set printing area width  
Transmit printer ID  
ASCII  
Hex  
Decimal  
0 nL 255  
0 nH 255  
GS  
1D  
29  
W
57  
87  
nL  
nL  
nL  
nH  
nH  
nH  
ASCII  
Hex  
ESC  
1D  
I
n
n
n
49  
73  
Decimal  
29  
[Range]  
[Range]  
1 n 3 , 49 n 51  
[Description] Transmits the printer ID specified by n as follows:  
[Description] Sets the printing area width to the area specified by nL and nH.  
The printing area width is set to [(nL + 256 X nH) X horizontal  
motion unit] inches.  
n
Printer ID  
Printer model ID  
Type ID  
Specification  
STP-103S / STP-103P  
ID(hexadecimal)  
1,49  
2,50  
3,51  
30  
02  
10  
Printable area  
ROM version ID  
Depends on ROM version  
GS L nL nH  
[Name]  
[Format]  
Set left margin  
Left Margin  
Printing area width  
ASCII  
GS  
L
nL  
nH  
nH  
nH  
Hex  
1D  
29  
4C nL  
76 nL  
GS ^ r t m  
[Name]  
[Format]  
Decimal  
0 nL 255  
0 nH 255  
Execute macro  
ASCII  
Hex  
Decimal  
0 r 255  
0 t 255  
0 m 1  
[Range]  
GS  
1D  
29  
^
5E  
94  
r
t
m
m
m
r
r
t
t
[Description] Sets the left margin using nL and nH.  
The left margin is set to [(nL + nH X 256) X (horizontal motion  
unit6)] inches.  
[Range]  
Printable area  
[Description] Executes a macro.  
r specifies the number of times to execute the macro.  
t specifies the waiting time for executing the macro.  
The waiting time is t X 100 msec for every macro execution.  
m specifies macro executing mode.  
Left Margin  
Printing area width  
When the LSB of m = 0:  
The macro executes r times continuously at the interval  
specified by t.  
Download from Www.Somanuals.com. All Manuals Search And Download.  
42  
43  
When the LSB of m = 1:  
Second byte (printer information)  
After waiting for the period specified by t, the LED indicator  
blinks and the printer waits for the PAPER FEED button to be  
pressed. After the button is pressed, the printer executes the  
macro once, The printer repeats the operation r times.  
Bit  
0
1
Off/On  
Hex Decimal Status for ASB  
-
-
-
-
-
-
-
Undefined  
Undefined  
2
-
-
Undefined  
3
4
5
6
Off  
Off  
Off  
Off  
Off  
00  
00  
00  
00  
00  
0
0
0
0
0
Not used. Fixed to off  
Not used. Fixed to off  
Not used. Fixed to off  
Not used. Fixed to off  
Not used. Fixed to off  
GS a n  
[Name]  
[Format]  
Enabled/disable Automatic Status Back(ASB)  
ASCII  
Hex  
Decimal  
0 ( n ( 255  
GS  
1D  
29  
a
61  
97  
n
n
n
7
[Range]  
Third bytes (paper sensor information  
Bit  
0,1  
[Description] Enables or disables ASB and specifies the status items to include,  
using n as follows:  
Off/On  
Off, Off  
Hex Decimal Status for ASB  
00  
0
Paper roll near-end sensor: paper  
adequate  
Paper roll near-end sensor: paper near end  
Paper roll end sensor: paper present  
Paper roll end sensor: paper not present  
Not used. Fixed to off  
Bit  
0
1
Off/On  
Off  
Off  
On  
Off  
On  
Off  
On  
-
Hex Decimal Status for ASB  
On, On  
Off, Off  
On, On  
Off  
-
Off  
03  
00  
0C  
00  
-
3
0
12  
0
-
0
00  
00  
02  
00  
04  
00  
08  
-
0
0
2
0
4
0
8
-
Not used.  
2,3  
On-line/off-line status disabled  
On-line/off-line status enabled  
Error status disabled  
4
5,6  
7
2
3
Undefined  
Not used. Fixed to off  
Error status enabled  
00  
Paper roll sensor status disabled  
Paper roll sensor status enabled  
Undefined  
Fourth byte (paper sensor information)  
4~7  
Bit  
0~3  
4
5,6  
7
Off/on  
Hex Decimal Status for ASB  
-
00  
-
00  
-
off  
-
-
0
-
Undefined  
Not used. Fixed to off  
Undefined  
First byte (printer information)  
Bit  
0
1
2
3
Off/On  
Off  
Hex Decimal Status for ASB  
00  
00  
00  
00  
08  
10  
00  
20  
00  
0
0
0
0
8
16  
0
32  
0
Not used. Fixed to off  
Not used. Fixed to off  
Not used.  
On-line  
Off-line  
Not used. Fixed to on  
Cover is closed  
Cover is open  
Paper is not being fed by using the paper  
feed button  
Off  
0
Not used. Fixed to off  
Off  
Off  
Off  
On  
On  
Off  
On  
Off  
[Default]  
n=0  
GS b n  
[Name]  
[Format]  
4
5
Turns smoothing mode on/off  
ASCII  
GS  
1D  
29  
b
n
Hex  
62  
98  
n
n
6
Decimal  
0 n 255  
[Range]  
On  
Off  
40  
00  
64  
0
Paper is being fed by using the paper feed  
button  
Not used. Fixed to off  
[Description] Turns smoothing mode on or off.  
When the LSB of n is 0, smoothing mode is turned off.  
7
When the LSB of n is 1, smoothing mode is turned on.  
Download from Www.Somanuals.com. All Manuals Search And Download.  
44  
45  
GS f n  
[Name]  
[Format]  
m
Bar Code System Number of Characters  
Remarks  
48d57  
Select font for Human Readable interpretation (HRI) characters.  
65 UPC-A  
11n12  
ASCII  
Hex  
Decimal  
GS  
1D  
29  
f
n
n
n
66  
66  
102  
67 JAN13(EAN)  
68 JAN8(EAN)  
12n13  
7n8  
48d57  
48d57  
48d57,65d90,32,  
36,37,43,45,46,47  
[Range]  
n = 0, 1, 48, 49  
[Description] Selects a font for the HRI characters used when printing a bar code.  
n selects a font from the following table:  
69 CODE39  
70 ITF  
1n255  
1n255  
(even number)  
48d57  
n
0,48  
1,49  
Font  
Font A (12 * 24)  
Font B (9 * 24)  
48d57,65d168  
36,43,45,47,58  
0d127  
71 CODABAR  
1n255  
72 CODE93  
73 CODE128  
1n255  
2n255  
0d127  
GS h n  
[Name]  
[Format]  
Set bar code height  
[When CODE93 (m=72) is used :]  
The printer prints an HRI character () as start character at the beginning of  
the HRI character string.  
The printer prints an HRI character () as a stop character at the end of  
the HRI character string.  
The printer prints HRI characters (+ an alphabetic character) as a control  
character (<00>H to <1F>H and <7F>H) :  
ASCII  
GS  
1D  
29  
h
68  
104  
n
n
n
Hex  
Decimal  
1 n 255  
[Range]  
[Description] Sets the height of the bar code.  
n specifies the number of dots in the vertical direction.  
n = 162  
[Default]  
Control character  
ASCII Hex Decimal  
HRI  
character  
U  
Control character  
ASCII Hex Decimal  
HRI  
character  
P  
GS k m d1...dk NUL GS k m n d1...dn  
[Name]  
Print bar code  
NUL  
SOH  
STX  
ETX  
EOT  
ENQ  
ACK  
BEL  
BS  
HT  
LF  
VT  
FF  
00  
01  
02  
03  
04  
05  
06  
07  
08  
09  
0A  
0B  
0C  
0D  
0E  
0F  
0
1
2
3
4
5
6
7
8
DLE  
DC1  
DC2  
DC3  
DC4  
NAK  
SYN  
ETB  
CAN  
EM  
SUB  
ESC  
FS  
GS  
RS  
10  
11  
16  
17  
18  
19  
20  
21  
22  
23  
24  
25  
26  
27  
28  
29  
30  
31  
127  
[Format]  
ASCII  
Hex  
Decimal  
ASCII  
Hex  
GS  
1D  
29  
GS  
1D  
29  
k
6B  
107  
k
6B  
107  
m
m
m
m
m
m
d1...dk  
d1...dk  
d1...dk  
n
n
n
NUL  
00  
A  
B  
C  
D  
E  
F  
G  
H  
I  
J  
K  
L  
M  
N  
O  
Q  
R  
S  
T  
U  
V  
W  
X  
Y  
Z  
A  
B  
C  
D  
E  
T  
12  
13  
14  
15  
16  
17  
18  
19  
1A  
1B  
1C  
1D  
1E  
1F  
7F  
0
d1...dn  
d1...dn  
d1...dn  
Decimal  
0 m 6  
[Range]  
(k and d depends on the bar code system used)  
65 m 73 (n and d depends on the bar code system used)  
[Description] Selects a bar code system and prints the bar code.  
M selects a bar bode system as follows:  
9
10  
11  
12  
13  
14  
15  
m
Bar Code System Number of Characters  
Remarks  
48d57  
0
1
2
3
UPC-A  
11k12  
CR  
SO  
SI  
JAN 13(EAN)  
JAN8(EAN)  
12k13  
7k8  
48d57  
48d57  
48d57,65d90,32,  
36,37,43,45,46,47  
48d57  
48d57,65d168,  
36,43,45,46,47,58  
US  
DEL  
4
5
6
CODE39  
ITF  
1k  
1k (even number)  
CODABAR  
1k  
Download from Www.Somanuals.com. All Manuals Search And Download.  
46  
47  
<Example> Printing GS k 72  
7
67 111 100 101 13 57 51  
Special characters are defined by combining two characters “{“ and one  
character. The ASCII character “{“ is defined by transmitting “{“ twice  
consecutively.  
Transmit data  
Specific character  
ASCII  
{S  
{A  
{B  
{C  
{1  
{2  
{3  
{4  
{{  
Hex  
Decimal  
123,83  
123,65  
123,66  
123,67  
123,49  
123,50  
123,51  
123,52  
123,123  
SHIFT  
CODE A  
CODE B  
CODE C  
FNC1  
FNC2  
FNC3  
FNC4  
“{“  
7B,53  
7B,41  
7B,42  
7B,43  
7B,31  
7B,32  
7B,33  
7B,34  
7B,7B  
[When CODE128 (m=73) is used :]  
Refer to Appendix J for the information of the CODE128 bar code and  
its code table.  
When using the CODE128 in this printer, take the following points into account  
for data transmission :  
The top of the bar code data string must be code set selection character  
(any of CODE A, CODE B OR CODE C) which selects the first code set.  
Description of the CODE128 Bar Code  
<Example> Example data for printing “No. 123456”  
In CODE128 bar code system, it is possible to represent 128 ASCII  
characters and 2-digit numerals using one bar code character that is  
defined by combining one of the 103 bar code characters and 3 code  
sets. Each code set is used for representing the following characters :  
* Code set A : ASCII characters 00H to 5FH  
In this example, the printer first prints “No.” using CODE B, then  
prints the following numbers using CODE C.  
GS k 73 10 123 66 78 111 46 123 67 12 34 56  
* Code set B : ASCII characters 20H to 7FH  
* Code set C : 2-digit numeral characters using one character  
(100 numerals from 00 to 99)  
The following special characters are also available in CODE128 :  
* SHIFT characters  
In code set A, the character just after SHFIT is processed as a  
character for code set B. In code set B, the character just after  
SHIFT is processed as the character for code set A. SHIFT  
characters cannot be used in code set C.  
* Code set selection character (CODE A, CODE B, CODE C)  
This character switches the following code set to code set A, B, or C.  
* Function character (FNC1, FNC2, FNC3, FNC4)  
The usage of function characters depends on the application  
software. In code set C, only FNC 1 is available.  
* If the top of the bar code data is not the code set selection character,  
the printer stops command processing and processes the following  
data as normal data.  
* If combination of “{“ and the following character does not apply any  
special character, the printer stops command processing and  
processes the following data as normal data.  
* The printer does not print HRI characters that correspond to the shift  
characters or code set selection characters.  
* HRI character for the function character is space.  
* HRI characters for the control character  
(<00>H to <1F>H and <7F>H) are space.  
<Others> Be sure to keep spaces on both right and left sides of a bar code.  
(Spaces are different depending on the types of the bar code.)  
Download from Www.Somanuals.com. All Manuals Search And Download.  
48  
49  
APPENDIX A : CONNECTORS  
GS  
v
0
xL xH yL yH dl…dk  
[Name]  
Print raster bit image  
[Format]  
ASCII  
Hex  
Decimal  
GS  
v
0
m
m
m
xL xH  
xL xH  
xL xH  
yL yH  
yL yH  
yL yH  
dl…dk  
dl…dk  
dl…dk  
Serial Interface Connector (STP-103S)  
1D 76 30  
29 118 48  
PRINTER  
HOST  
RXD (I)  
[Range]  
0 m 3 , 48 m 51  
0xL 255 , 0 xH 255 , 0 yL 255  
0 d 255  
k = (xL+xH×256) × (yL+yH×256) (k=0)  
20  
19  
21  
22~25  
18  
TXD (O)  
RXD (I)  
CTS (I)  
GND  
---------------------  
---------------------  
---------------------  
---------------------  
---------------------  
2
3
7
5
8
4
6
TXD (O)  
RTS (O)  
GND  
CTS (I)  
DTR (O)  
DSR (I)  
[Description] Selects raster bit-image mode.  
RTS (O)  
The value of m selects the mode, as follows :  
FGND  
25 PINE MALE  
CONNECT  
m
Mode  
Normal  
Double-width  
Double-height  
Quadruple  
Vertical dot density  
200dpi  
Horizontal dot density  
200dpi  
FGND  
9 PINE FEMALE  
0,48  
1,49  
2,50  
3,51  
200dpi  
100dpi  
100dpi  
100dpi  
200dpi  
100dpi  
xL, xH, selects the number of data bits(xL+xH×256)in the  
horizontal direction for the bit image.  
Parallel Interface Connector (STP-103P)  
yL, yH, selects the number of data bits (yL+yH×256)in the  
vertical direction for the bit image.  
PRINTER  
HOST  
/STROBE (I/O)  
1
2
3
4
5
6
7
8
9
/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  
1
2
3
4
5
6
7
8
9
GS w n  
[Name]  
[Format]  
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)  
Set bar code width  
ASCII  
Hex  
Decimal  
2 n 6  
GS  
1D  
29  
w
77  
119  
n
n
n
[Range]  
[Description] Set the horizontal size of the bar code.  
n specifies the bar code width as follows:  
10  
11  
10  
11  
12  
13  
15  
16  
18~25  
Bi-level Bar Code  
Module width (mm) for  
Multi-level Bar Code  
N
Thin element width  
(mm)  
Thick element width  
12  
13  
15  
16~21  
22~25  
(mm)  
0.706  
1.129  
1.411  
1.834  
2.258  
2
3
4
5
6
0.282  
0.423  
0.564  
0.706  
0.847  
0.282  
0.423  
0.564  
0.706  
GND  
FGND  
25 PINE MALE  
GND  
FGND  
25 PINE MALE  
0.847  
Multi-level bar codes are as follows:  
UPC-A, UPC-E, JAN13, CODE93, CODE128  
Bi-level bar codes are as follows: CODE39, ITF, CODABAR  
[Default]  
n = 3  
Download from Www.Somanuals.com. All Manuals Search And Download.  
50  
51  
APPENDIX B : Specification  
Option : STP-103DK  
Printing method  
Dot density  
Printing width  
Paper width  
Thermal line printing  
200 x 200 Dpi (8 dot/mm)  
48mm  
1) Serial Interface Connector Specification  
58mm  
Characters per line  
32 (Font A) (12x24) , 42 (Font B) (9x24)  
Approximately 1.97 inchs / sec  
50 mm/sec  
at 25/printing duty 12.5%  
15K bytes  
PRINTER  
HOST  
TXD (O)  
Printing Speed  
19  
20  
18  
21  
RXD (I)  
TXD (O)  
RTS (O)  
CTS (I)  
-----------------------------------  
-----------------------------------  
-----------------------------------  
-----------------------------------  
3
2
8
7
RXD (I)  
CTS (I)  
RTS (O)  
Receive buffer size  
Supply voltage  
DC  
24V 1.5A  
0 ~ 40(operating)  
-10 ~ 50(storage)  
30 ~ 80% RH (operating)  
10 ~ 90% RH (storage)  
15,000,000 line  
Temperature  
Environmental  
conditions  
4
6
DTR (O)  
DSR (I)  
Humidity  
CONNECT  
Mechanical  
Head  
MCBF  
FGND  
FGND  
50 million pulse (about 50km)  
22~25  
SG  
-----------------------------------  
5
SG  
9 PINE FEMALE  
Paper  
- Paper thickness : 0.06 ~ 0.09mm  
- Roll size : Ø60 ~ 57 (w)  
- Roll spool diameter  
* RJ11 6P  
6
1) Inside : Ø12mm (0.47”)  
2) Outside : Ø18mm (0.71”)  
22  
14  
16  
17  
SG  
SOL1  
----  
----  
----  
----  
1
2
3
4
5
6
GND  
SOL1  
COMPS/W  
SLCT  
COMPS/W  
SLCT  
NC  
22  
SG  
----  
GND  
1
25 PINE MALE  
Download from Www.Somanuals.com. All Manuals Search And Download.  
52  
53  
2) Parallel Interface Connector Specification  
3) Control Command  
ESC p  
[Name]  
[Format]  
m
t1 t2  
Generate pulse.  
PRINTER  
HOST  
1
2
/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)  
1
2
/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)  
ASCII  
Hex  
ESC  
1B  
p
70  
112  
m
m
m
t1  
t1  
t1  
t2  
t2  
t2  
Decimal  
m = 0, 48  
27  
3
3
[Range]  
4
4
0 t1 255, 0 t2 255  
[Description] Outputs the pulse specified by t1 and t2 to connector pin m  
as follows :  
5
5
6
6
m=0 Connector pin : Drawer kick-out connector pin 2.  
The pulse ON time is [t1*2ms] and the OFF time is [t2*2ms].  
If t2 t1, the OFF time is [t2*2ms].  
[Details]  
7
7
8
8
[Reference] DLE DC4  
9
9
DLE DC4 n m t  
[Name]  
[Format]  
10  
11  
12  
13  
15  
10  
11  
12  
13  
15  
16  
18~25  
Generate pulse at real-time.  
BUSY (I)  
BUSY (I)  
ASCII  
Hex  
DLE  
10  
DC4  
14  
20  
n
n
n
m
m
m
t
t
t
PE (I)  
PE (I)  
Decimal  
n=1, m=0  
1 t 8  
16  
SLCT  
SLCT  
[Range]  
/ERROR (I)  
/ERROR (I)  
/INIT (O)  
[Description] Outputs the pulse specified by t to connector pin m as follows :  
m=0 Connector pin : Drawer kick-out connector pin 2.  
The pulse ON time is [t*100ms] and the OFF time is [t*100ms].  
[Reference] ESC p  
22~25  
GND  
GND  
FGND  
FGND  
Bell n  
25 PINE MALE  
[Name]  
Select bell on time.  
[Format]  
ASCII  
Hex  
Decimal  
t = 1~30  
Bell  
07  
07  
t
t
t
(1e t)  
(30 t)  
* RJ11 6P  
GND  
6
22  
14  
16  
17  
SG  
SOL1  
----  
----  
----  
----  
1
2
3
4
5
6
[Range]  
SOL1  
[Description] The pulse ON time is [t*100ms] and the OFF time is [t*100ms].  
COMPS/W  
SLCT  
COMPS/W  
SLCT  
NC  
22  
SG  
----  
GND  
25 PINE MALE  
1
Download from Www.Somanuals.com. All Manuals Search And Download.  
54  
55  

RF Link Technology Network Router WRT330N User Guide
Rosewill Switch RGS 1024 User Guide
Royal Leisure Camping Equipment WINDSOR 390 User Guide
Ruby Tech Switch GS 5124C User Guide
Salton Coffeemaker FCM12SS User Guide
Samsung Air Conditioner MH026FNCA User Guide
Samsung Computer Monitor 151X User Guide
Samsung DVD Player AK68 01808C User Guide
Scientific Atlanta Network Router EPR2320 User Guide
Sears Air Compressor 919152920 User Guide