SPRT SP-RMDIIID User manual

SPRT®
SP-RMDIIID/SP-RMDIVD
MINI THERMAL PRINTER
User Manual
(VER 1.03)
Beijing Spirit Technology Development Co., Ltd
www.sprt-priner.com

Contents
Brief Instruction........................................................................................................................................ 1
Chapter 1 Characteristics and performance....................................................................................... 1
1.1 Main Features................................................................................................................................... 1
1.2 Print Performance.............................................................................................................................2
Chapter 2 Install Instruction............................................................................................................ 4
2.1 Outer appearance.............................................................................................................................4
2.2 Outer dimension................................................................................................................................5
2.3 Paper install....................................................................................................................................... 6
Chapter 3 Operating Instructions....................................................................................................... 7
3.1 Interface connection......................................................................................................................... 7
3.1.1 Serial connection...................................................................................................................7
3.1.2 Parallel interface connection............................................................................................... 9
3.1.3 The printer parameter setting............................................................................................10
3.2 Light and button operation............................................................................................................ 13
3.3 Self-test and HEX........................................................................................................................... 14
3.4 Printer initialization......................................................................................................................... 16
Chapter 4 Printing commands.............................................................................................................17
4.1 Summary..........................................................................................................................................17
4.2 Commands Description................................................................................................................. 17
Chapter 5 Using and Maintenance..................................................................................................... 44
5.1 Printing Head Maintenance...........................................................................................................44
5.2 Other................................................................................................................................................. 44
Chapter 6 Printer Using under Windows........................................................................................... 45
Appendix 1 Valid Codes Form under ANK printing..........................................................................45
Appendix 2 Valid Codes Form under Chinese printing................................................................... 48
Appendix 3 Printing Commands Form............................................................................................... 49
Appendix 4 Single chip microcomputer interface example..........................................................51

1
Brief Instruction
RMDIIID, RMDIVD series mini printer is a intelligent dot printer toward the 21th
century belong to SPRT. The machine adopt new machine with single chip computer, with
small volume, light weight, fully functional, high speed, high-definition, beautiful
appearance, simple operation, convenient connection. RMDIIID, RMDIVD series mini
printer with full product line, standard installation size, it is the best product to match with
medical equipment, fire control station, industrial control and other instruments and for
upgrading.
RMDIIID, RMDIVD thermal printer is mode with the same character set 1 and set 2
RMDIII, according to the characters in the Chinese manner of lattice can print 24 different
lattice high 12 * 24 half-width characters, 8 16 * 16 dot high half-width characters, Chinese
characters have 24 * 24, 16 * 16dots, secondary character selection, as well as a large
number of mathematical symbols, special symbols, graphics, curve. Can change through
the command to print and character spacing characters, you can customize the size of the
part code has since detection function.
RMDIIID, RMDIVD printers have Windows driver, able to directly under PC for
printing all kinds of characters, Chinese characters and graphics.
Chapter 1 Characteristics and performance
1.1 Main Features
◇Using thermal line printing
◇Integrating the print head and circuit with one body, easy to installed
◇Comes with a single chip processor, with standard parallel interface and serial
interface, facilitate with various computer or online using intelligent instruments
◇With the command of real-time print for Chinese characters, characters and graphics,
Instruction set is compatible with the traditional printer.
◇Support multiple international code page and pre-store bitmap print

2
◇With self-test function, print all code, high HD characters and beautiful font
◇Have enough receive buffer 3 k
◇Thermal paper was 57.5 + / - 0.5 mm wide
◇Paper Type: 57.5ר40mm(MAX)
◇Power supply command:
SP-RMDIIID S/Q/PH, SP-RMDIVD S/Q/PH voltage input: DC5V~8.5V
electric current: 3A
SP-RMDIIID VS/VQ/VPH, SP-RMDIVD VS/VQ/VPH voltage input: DC9V~24V
electric current: 3A
◇Operating Temp/Humidity: 0~50℃
◇Can be used under DOS and Windows desktop
◇8dots/mm, 384 dots/line
◇Print speed: 30mm/s
◇THP: 50KM
◇DIIID/DIVD installation size: 103.5mm×57.5mm(W×H) Depth: 61mm
◇DIIID/DIVD outer dimension: 110mm×64mm×72.5mm(W×H×D).
◇Printing characters:
Chinese: GB18030: 16*16, 24*24
English: ASCII 5*7, 12*24, 8*16
Graphic: support dot matrix graphics, curves and download graphics printing
1.2 Print Performance
◇Printing methods: Thermal type printing
◇Interface: Parallel interface (CENTRONICS compatible) or serial interface
(RS - 232 or TTL)
◇interface connector :
Serial: IDC10 pin socket
Parallel: IDC26 pin socket
◇Control code general ESC, FS, GS control code
◇Button SEL for self-test and on-line control, SEL lamp for error alarm and
status indication. Usually the lamp is off. Flicker frequency of different has

3
the different meaning. The details can refer to the third chapter 3.2. Button
LF is paper feeding button and LF lamp is power light. The combination of
Button SEL and LF can modify printer parameters. Refer to Chapter 3.1.3.
◇Printing paper: thermal paper, width 57.5±0.5mm
◇MCBF: MCBF (Mean Cycles Between Failure)(5~15)× 106
◇Working Temp: 0~50℃, Humidity 10~80%
◇Saving Temp: -20~60℃, Humidity 10~90%

4
Chapter 2 Install Instruction
2.1 Outer appearance
2-1
1, Open Button 2, Self Button, Error
3, Lf Button, Power indicator 4, Paper roll

5
2.2 Outer dimension
2-2 SP- RMDIIID model picture

6
2-2 SP- RMDIVD model picture
2.3 Paper install
Press the button to open the door. After loading the paper roll, close the door.

7
Chapter 3 Operating Instructions
3.1 Interface connection
3.1.1 Serial connection
RMDIIID, RMDIVD Serial interface is RS - 232 serial interface and 485 serial
interface.
1. RS-232
232 interface levels for both EIA and TTL, support RTS/CTS and XON/XOFF
handshaking protocol, the interface type is IDC10 PIN socket and 5 PIN SIL, each types of
socket cords number are defined as follows:
IDC10 pin number definition shown as figure 3--1:
1 9
210
3-1 Serial interface IDC10 pin
5PIN SIL pin number shown as figure 3-2:
3-2 5PIN SIL pin number
Serial interface each pin number definition shown as figure 3-1:
Signal
Name
IDC10
socket cords
number
5PIN socket
cords number
Source
Instruction
RXD
3
3
PCB board
Printer receive data from computer

8
TXD
2
2
printer
Printer send data to computer,
when use X-ON/X-OFF
handshaking protocol, the printer
will send control code
X-ON/X-OFF to computer
CTS
8
4
printer
When the signal show “MARK”, it
is means the printer is busy and
can not receive data, when the
signal show “ SPACE”, it is means
the printer get ready and can
receive data.
DSR
6
1
Printer
when the signal show “ SPACE” it
is mean the printer online
GND
5
5
-
Signal ground
DCD
1
Printer
Same as CTS
3-1 Serial interface pin number definition
Mark: ①”Source” means the source for the signal
②The signal logic is divided into EIA and TTL level due to insert different sockets;
Under the serial interface connect, the baud rate and data structure can be set with button
or software, Before out of factory the product has been set to 9600bps, 8 data bits, no
calibration and a stop bit; two types of handshaking protocol agreement can be chosen.
One is mark control way, other is X-ON/X-OFF agreement, two kinds of handshaking
protocol agreement’s instructions shown as figure 3--2:
Type of
handshaking
protocol
agreement
Data direction
RS-232C interface signal
mark control
Data allowable
Signal line 1 and 8 are show Space
Data disallowed
Signal line 1 and 8 are show Mark

9
3-2 Tow types of handshaking protocol
2. 485 Serial interface
485 interface is IDC10 pin socket, pin number refer to figure of 3--1, each pin
definition is different with interface RS-232. 485 interface’s effective socket is IDC10 pin
socket which next to power supply, the pin definition is as below:
Signal
IDC10 pin socket cords number
A
7
B
9
3-3 485 interface pin definition
3.1.2 Parallel interface connection
SP–D10 printer’s parallel interface is compatible with CENIRONICS, whose interface
socket is 26 lines flat cable or replace model. Parallel interface pin number shown as
below:
12 5
2 6
2
3-3 Parallel interface pin number
Parallel interface pin number definition shown as below:
Cords No.
Signal
Direction
Instruction
1
/STB
input
Gate trigger, rising along the read data.
3
5
7
DATA1
DATA2
DATA3
Input
Input
Input
Those signals represent the message from
1 to 8, when the logic is “1” of each signal,it
is high level, logic show”0”mean low level.
X-ON/
X-OFF control
Data allowable
Send X-ON code 11H on signal line 2
Data disallowed
Send X-ON code 13H on signal line 2

10
9
11
13
15
17
DATA4
DATA5
DATA6
DATA7
DATA8
Input
Input
Input
Input
input
19
/ACK
output
Pulse reply,” low” level mean the date has
been received and printer already to receive
next date.
21
BUSY
output
“high” level mean printer is “ busy” can not
receive data
23
/PE
output
Via resistance drop down to “ low” level
mean have paper
25
SEL
---
Via resistance pull up to “ high” level mean
printer online
4
/ERR
output
Via resistance pull up to “ high” level mean
no trouble
2, 6, 8
NC
---
Not connected
10, 12, 14, 16,
18, 20, 22, 24
GND
---
Ground connect, logic”0” level
3-4 Parallel interface cords define
Mark: ①”input” mean enter into printer, ”output” mean output from printer.
②The signal’s logic level is TTL level.
3.1.3 The printer parameter setting
Printer parameter can be set via two ways:
1. Via software to set
You can download the software set tool, instruction refer to setting tool.
2.Via SEL and LF Combination set
Enter the parameter setting: press on 【LF】button and connect the power. At this

11
time, red indicator will flash once one second. Release 【LF】button within three flashes.
The printer enters into setting status and print related message. Choose the setting item
through 【SEL】button. Press 【SEL】button once, the setting item will go to the next and
print out the setting value of this item. Choose the setting value of item through 【LF】
button. Press 【LF】button once, the setting item will go to the next.
Exit the parameter Settings: press the 【LF】button, then press【SEL】button, release
【LF】button and 【SEL】button, print out “Exit Set Mode” notice message. Now the set
parameters have been saved. Exit the setting mode and enter into normal working. If you
close the power supply of printer directly, the setting parameter will lose.
Summary setting(when Parallel interface there is no baud rate and Serial interface
format setting items) :
1, Baud Rate:
2, Data bit / Handshaking / Parity:
Instructions:
Data Bit: 8bit or 7

12
Handshaking: RTS/CTS or XON/XOFF
Parity: None or Odd or Even
3, Language Status:
Description:
1. GB12345 with national standard secondary character GB2312 corresponding
traditional character.
2. The standard model 24 models only support interface secondary character GB2312 a
pattern, 16 point models sup interface BIG5 and traditional GB12345 choice.
4, Printing Font:
Description: characters font is only effective in Chinese character mode, English mode
only 6 * 8.
5. Printing Density:
6. Paper Sensor Setting:
7, Power Level:
8, Printing Direction:
9, Command System:

13
10, Dot Matrix Printer Compatible:
This setting can be used for dot matrix printer models alternatively:
1. After selecting this setting, power consumption level still can be chosen.
2. After selecting this setting, the function of selecting font size for characters and Chinese
characters will be not supported.
3.1.4 Power supply connection
SP-RMDIIID S/Q/PH, SP-RMDIVD S/Q/PH voltage input DC5V~8.5V
Electric current: 3A
SP-RMDIIID VS/VQ/VPH, SP-RMDIVD VS/VQ/VPH voltage input: DC9V ~24V
Electric current: 3A
3.2 Light and button operation
The function of each button is different according to the different working
mode. Refer the detailed to 3.1.3. The normal working mode is as below,
SEL
Online status switching button. Under online status, the interface printing
is valid. Under offline status, 【LF】button is valid. The default is online status
when printer is power on.
LF
When printer is power on, this button is online status. At this time, pressing
【SEL】button to be offline status and press LF button to feed paper. Press
again to stop paper feeding. During online status, this button is valid.

14
Power indicator (green)
Indicates on/off status of power.
Errors and busy status alarm light(red)
Light status
Instruction
off
Normal working
Blink once, off 1
second
Lack of paper, waiting for has
returned to normal after the paper
work.
Blink twice, off 1
second
The nose too warm, waiting for the
nose temperature is reduced,
automatic recovery.
Flashing 3 times, off
1 second
The nose heating plate damage,
irreversible, need to repair
Mark: When the printer is in a state of busy, red light will light up.
3.3 Self-test and HEX
Self-test can test whether the printer is working properly or not. If the
self-test receipt can be printed correctly, it means the printer is normal except
the interface with the host. Otherwise, the printer will need to be repaired.
Self-test receipt and analysis
In self-test receipt, software version, interface forms, characters and other
configuration information are printed. Self-test receipt shown in the figure
below:

15
3-4self-test receipt
In the figure, the left one is self-test receipt for serial interface model and
the right one is for parallel interface model. The printing sequence is from the
below to above.
Mark:
1, Due to that the default configuration item may be different when the
printer is out of factory, the font size of self-test receipt and the content of each
configuration is according to the actual content of printed receipt. The above
picture is just for reference.
2, The specific content of each item set can reference "3.1.3 printer
parameters setting" section. After setting manually each time, it can be test
whether the setting is successfully through printing self-test receipt.
Self-test method:
1, Hold down the "SEL" button and turn on the printer, then loosen the
button, the printer will print out the self-test list.
2, Under normal working mode, click SEL button once, then hold down the

16
LF button, at the same time, click the SEL button, the printer will print self-test
list.
Hex printing method
Hold the [LF] button and connect the power. At this time, the red indicator
light will flash once one second. After three flashes of indicator, loosen 【LF】
button. The red indicator will continue to flash. After flashing three times again,
the flashing stops. The printer will print out “Hexadecimal Dump”. Now the
printer enters into the hex printing mode.
3.4 Printer initialization
There are two methods for the printer initialization. One is to use the control
code ESC @, by the host sends a command to the printer, through which using
software initialization. The second is to restart the printer.

17
Chapter 4 Printing commands
4.1 Summary
All the printing commands of SP-RMDIIID, SP-RMDIVD are fully compatible with traditional
ESC printing commands. The description form of each command is as following,
Command name Function
Format: ASCII: the standard ASCII character sequence
Decimal: the Decimal number sequence
Hexadecimal: the Hexadecimal number sequence
Explanation: the function of command and usage method
Example: some examples are listed to illustrate the command for better understanding.
The following is the description of each command according to the function of each
command.
4.2 Commands Description
4.2.1 Paper Feeding Commands
LF Feed Line
Format: ASCII: LF
Decimal: 10
Hexadecimal: 0A
Explanation: The printer prints the current line and feeds paper forwards one line.
Remark: One line means the current character line.
ESC J n Dot Line Feed
Format: ASCII: ESC J n
Decimal: 27 74 n
Hexadecimal: 1B 4A n

18
Explanation:
The printer feeds paper n dot lines. n=1~255.
This command doesn’t send carriage return and feed line. It won’t influence the later feed
line command.
If you need to feed paper immediately but no carriage return, can use ESC J command.
Line spacing will be enlarged automatically when using commands ESC V, ESC W and FS
W for enlarging characters.
ESC 1 Set n Dot-line Spacing
Format: ASCII: ESC 1 n
Decimal: 27 49 n
Hexadecimal: 1B 31 n
Explanation:
The n dot-line spacing is set for future Line Feed command. n=0~255
Default setting n=3 for text printing, n=0 for bitmap printing when using ESC K command.
The BASIC programs for observing the effect of this command are as below:
FOR I=1 TO 11 STEP 2
LPRINT CHR$(27);CHR$(49);CHR$(I); ’ ESC 1 set line spacing
LPRINT “RMWD TEST” ’ Print character string and feed line
NEXT I
The print result of the above is as following:
4.2.2 Format Setting Commands
ESC B Set Vertical Tab Value
Format: ASCII: ESC B n1 n2 n3…NUL
This manual suits for next models
1
Table of contents
Other SPRT Printer manuals