12. BAR CODE TABLE.................................................................................................................... 208
13. DRAWING OF BAR CODE DATA.............................................................................................. 221
14. AUTOMATIC ADDING OF START/STOP CODE...................................................................... 242
iii
1. SCOPE
This specification applies to the external equipment interface for use with the Model B-SV4D generalpurpose thermal label/tag printers.
2. GENERAL DESCRIPTION
The external equipment interfac e connects a printer to the hos t com puter through a s erial interf ace ( RS232C), parallel interface (Centronics), or a network for making various settings and printing labels.
This specification describes how to use the external equipment interface.
The model configuration is described below.
B-SV4D
Flash ROM 1 MB
Memory DRAM 2 MB
Interface
Option LAN adapter
Strip module Option
Standard RS-232C
Centronics
USB
Full cut Cutter
Partial cut (option)
- 1 -
3. INTERFACE
3.1 SERIAL INTERFACE
(1) Type : Conforming to RS-232C
(2) Mode of Communication : Full duplex
(3) Transmission Speed : 2400 BPS
4800 BPS
9600 BPS
19200 BPS
38400 BPS
57600 BPS
(4) Synchronization Method : Start-stop synchronization
(5) Start Bit : 1 bit
(6) Stop Bit : 1 bit
z When initialized after power on, this printer becomes ready to receive data and sends an
XON code (11H). (Transmission or non-transmission of the XON code is selectable by
means of the parameter setting.)
z The printer sends an XOFF code (13H) when the blank positions in the receive buffer
become 1K bytes or less.
z The printer sends an XON c ode ( 11H) when the blank pos itions in the rec eive buf f er are 2K
bytes or more.
z W hen there are no blank positions in the receive buffer, the printer discards data received
exceeding the receive buffer capacity, without storing it in the buffer. (After detecting the
XOFF code, the host computer must stop transmission before the printer receive buffer
becomes full.)
z The printer sends an XOFF code (13H) when the power is off. (Transmission or non-
transmission of the XOFF code is selectable by means of the parameter setting.)
d
READY/BUSY (DTR) Protocol
z W hen initialized after power on, this printer becomes ready to receive data and turns the
DTR signal to “High” level (READY).
z The printer turns the DTR signal to “Low” level (BUSY) when the blank positions in the
receive buffer are 1K bytes or less.
z The printer turns the DTR signal to “High” level (READY) when the blank positions in the
receive buffer are 2K bytes or more.
z W hen there are no blank positions in the receive buffer, the printer discards data received
exceeding the receive buffer capacity, without storing it in the buffer. (After detecting the
BUSY signal, the host computer mus t stop transmission before the printer receive buff er
becomes full.)
z W hen initialized after power on, this printer becomes ready to receive data and turns the
DTR signal to “High” level (READY). The printer also sends an XON code (11H).
z W hen the blank positions in the receive buff er are 1K bytes or less, the printer turns the
DTR signal to “Low” level (BUSY) and sends an XOFF code (13H).
z When the blank positions in the receive buffer are 2K bytes or mor e, the printer turns the
DTR signal to “High” level (READY) and sends an XON code (11H).
z W hen there are no blank positions in the receive buffer, the printer discards data received
exceeding the receive buffer capacity, without storing it in the buffer. (After detecting the
XOFF code or BUSY signal, the host computer must s top transmission before the printer
receive buffer becomes full.)
z The printer sends an XOFF code (13H) when the power is off.
z The RTS signal is always “High”.
f
RTS Protocol
z When initialized after the power is turned on, this printer turns the RTS signal to “High”
(READY).
z The printer turns the RTS signal to “Low” (BUSY) when the blank positions in the receive
buffer are 1K bytes or less.
z T he printer turns the RTS signal to “High” (READY) when the blank positions in the r eceive
buffer are 2K bytes or more.
z W hen there are no blank positions in the receive buffer, the printer discards data received
exceeding the receive buffer capacity, without storing it in the buffer. (After detecting the
BUSY signal, the host computer mus t stop transmission before the printer receive buff er
becomes full.)
z The DTR signal is always “High” (READY).
(15) Connector Pin Assignment and Signal Description
Pin No.
1 +5V Provide the power of 5V
2 TxD Transmit data Printer →
3 RxD Receive data ← Host
4 DSR Data set ready ← Host
5 GND General Ground
6 RDY Printer ready Printer →
7 N/C Not connected
8 RDY Printer ready Printer →
9 +5V Provide the power of 5V
Signal
Name
Function Signal Direction
- 5 -
3.2 PARALLEL INTERFACE
(1) Type : Centronics
(2) Mode : Conforms to IEEE1284 compatible mode
(3) Data Input Method : Parallel 8 bits (DATA1 ~ 8)
(4) Control Signals : ACK, BUSY, SELECT, DATA • STB, FAULT, PE, INIT (Not used),
AUTOFD (Not used), SELECTIN (Not used)
(5) Data Input Code : ASCII code
European character set 8 bit code
Graphics 8 bit code
(6) Receive Buffer : 515K bytes
(7) Connector : Printer
Amp. Japan 552742-1 or equivalent
DDK 57RE-40360-73B or equivalent
Cable
Amp. Japan 552470-1 or equivalent
DDK 57E-30360 or equivalent
- 6 -
(8) Connector Pin Diagram:
Pin No. Signal Name Pin No. Signal Name
1 DATA • STB 19 TWISTED PAIR GND (PIN1)
2 DATA 1 20 TWISTED PAIR GND (PIN2)
3 DATA 2 21 TWISTED PAIR GND (PIN3)
4 DATA 3 22 TWISTED PAIR GND (PIN4)
5 DATA 4 23 TWISTED PAIR GND (PIN5)
6 DATA 5 24 TWISTED PAIR GND (PIN6)
7 DATA 6 25 TWISTED PAIR GND (PIN7)
8 DATA 7 26 TWISTED PAIR GND (PIN8)
There are 6 LED light indications with following sequence.
(1) Solid orange indicates the printer has entered into system mode
(2) Green and red alternate
(3) Flashing orange
(4) Green and orange alternate
(5) Orange and red alternate
(6) Solid green
4.1.1 Firmware downloading mode
1) Release FEED key at LED light sequence (2) and push again immediately.
2) Copy the firmware file to printer parallel port by the following command is MS-DOS pr ompt
mode.
C:\>COPY XXXXXX.NEW /B LPT1:
3) The LED will change to green color and blinking every one-second. When firmware update is
completed, printer will reset automatically.
4.1.2 Auto call cancellation
1) Release FEED key at LED light sequence (3).
2) The printer will cancel Auto Call execution. (Refer to 6.3.24)
4.1.3 Parameter clearance
1) Release FEED key at LED light sequence (4).
2) The printer will restore to manufacturer’s default setting and reset automatically.
4.1.4 Sensor calibration
1) Install a label/tag roll with the sensor located at proper position.
2) Release FEED key at LED light sequence (5).
3) The printer will set the sensor property for the installed media and measures label length.
4.1.5 Self-test / Dump mode
1) Release FEED key at LED light sequence (6).
2) The printer will print self-test then enter the dump mode.
- 8 -
[Self-test printing]
a. Printing program version & check sum
b. Printing various parameters
Parameter Initial value
Print density fine adjustment 0
Print position fine adjustment 0 mm
Amount for finely the cut position 0 mm
Type of character code PC-850
Font of zero 0 (without slash)
Communication speed 9600 bps
Data length 8 bits
Stop bit length 1 bit
Parity NONE
Transmission control 2
Forward feed wait ON
Control code AUTO
Feed key function FEED
Euro code B0 H
X-coordinate adjustment 0 mm
Sensor selection Transmissive
4.2 ONLINE MODE FUNCTIONS
The online mode provides the following functions for issuing labels.
(1) Issuing labels (by external equipment interface commands)
(2) Paper feed (by the [FEED] key)
(3) Error indication
(4) Sensor selection
Transmissive sensor, reflective sensor and non-sensor mode are available.
To select the sensor f or the media, turn on power to let printer online mode. Open printer cover,
the LED will be turned off. Press FEED k ey for over 5 seconds , and then releas e the button, the n
printer will enter sensor selection mode.
In sensor selection mode, if LED is changed to green color and press FEED key again, then
reflective sensor is selected.
If LED is changed to orange color and press FEED key again, then non-sensor is selected.
If LED is changed to red color and press FEED key again, then transmissive sensor is selected.
- 9 -
5. TRANSMISSION SEQUENCE
This section describes the outline of the transmission sequence.
5.1 INITIALIZATION
Writable characters, logo, and PC interface commands must be stored before the label issue
operation.
(1) Storing writable characters and logo
(Add/change)
No
z
Storing PC interface commands
z
Label issue operation
Power ON
No
<New>
Yes
Memory board
Format Command
Bit Map Writable
Character Command
Completion of storing
all characters
Yes
[ESC] J1: Formats the flash memory on the
memory board.
[ESC] XD: Stores writable characters or a
logo on the flash memory board.
NOTES: (1) The storage of PC commands is only performed if it is required.
(2) When the flash memory board is used, and the Memory board Format Command is not
sent before storing already stored writable characters or logos, memory will be taken up
with every such storing.
(3) When the flash memory board is used, and another operation (storing PC interface
commands or label issue operation) is performed after storing writable characters or
logos, the image buffer will be cleared automatically.
(4) If another storing operation does not take place after storing writable characters or
logos, the printer automatically enters the online mode (label issue operation) after
about 10 seconds. In this case, when the flash memory board is used, the image buffer
will be cleared automatically.
- 10 -
(2) Storing PC interface commands
(Add/change)
Power ON
No
<New>
Yes
Memory board
Format Command
Save Start Command
Label Size Set Command
Position Fine
Adjust Command
Print Density Fine
Adjust Command
Image Buffer Clear Command
[ESC] J1: Formats the flash memory board.
[ESC] XO: Declares the start of saving PC interface
commands.
[ESC] D: Sets the label size.
[ESC] AX: Adjusts the feed length, cut position, and
back feed length.
[ESC] AY: Adjusts the print density.
[ESC] C: Clears the image buffer.
zz
Line Format Command
Bit Map Font Format Command
Outline Font Format Command
Bar Code Format Command
Bit Map Font Data Command
Save Terminate Command
No
Storing writable characters or logos
Label issue operation
Completion of
all storing
Yes
[ESC] LC: Sets the line format and draws it.
[ESC] PC: Sets the bit map font format.
[ESC] PV: Sets the outline font format.
[ESC] XB: Sets the bar code format.
[ESC] RC: Draws data of the bit map font.
[ESC] XP: Declares the termination of saving PC
interface commands.
NOTES: (1) The storage of PC commands is only performed if it is required.
(2) When the flash memory card is used, and the Memory board Format Command is not
sent before storing already stored PC interfac e commands, memory will be taken up with
every such storing.
(3) When the flash memory board is used, and another operation (storing writable char acters
or logos, label issue operation) is performed after storing PC interface commands, the
image buffer will be cleared automatically.
(4) Select commands to be stored as the occasion demands.
(5) If another storing operation does not take place after storing PC interface commands, the
printer enters the online mode (label issue operation) after about 10 seconds. In this
case, when the flash memory board is used, the image buffer will be cleared
automatically.
- 11 -
5.2 LABEL ISSUE OPERATION
j
j
An example of the label issue operation is described below.
(1) Where the Saved Data Call Command is not used:
Label Size Set Command
Image Buffer Clear Command
Bit Map Font Format Command
Outline Font Format Command
Bar Code Format Command
Power ON
Place paper
Position Fine
Ad
ust Command
Print Density Fine
Ad
ust Command
Feed Command
Line Format Command
[ESC] D: Sets the label size.
[ESC] AX: Adjusts the feed length, cut position, and
back feed length.
[ESC] AY: Adjusts the print density.
[ESC] T: Feeds one sheet of paper and aligns it
with the first printing position.
[ESC] C: Clears the image buffer.
[ESC] LC: Sets the line format and draws it.
[ESC] PC: Sets the bit map font format.
[ESC] PV: Sets the outline font format.
[ESC] XB: Sets the bar code format.
Bit Map Font Data Command
Outline Font Data Command
Bar Code Data Command
Issue Command
Yes
<Change data issue>
Yes
<Format change>
Yes
<Label change>
Power OFF
No
No
No
[ESC] RC: Draws bit map font data.
[ESC] RV: Draws outline font data.
[ESC] RB: Draws bar code data.
[ESC] XS: Issues (prints) the label.
NOTES: (1) When placing new paper, the Label Size Set Command and Feed Command must
always be sent. When using the same paper after the power is turned off and on, the
Label Size Set Command and Feed Command may be omitted.
(2) After the power is turned off and on, the Bit Map Font Format Command, the Outline
Font Format Command, and the Bar Code Format Command should be sent as
occasion demands because they are not protected in memory.
- 12 -
(2) Where the Saved Data Call Command is used:
Saved Data Call Command
Bit Map Font Data Command
Outline Font Data Command
Bar Code Data Command
Yes
Yes
Power ON
Place paper
Feed Command
Issue Command
<Change data issue>
No
<Label change>
[ESC] XQ: Calls the label format stored in the flash
memory board.
[ESC] T: Feeds one sheet of paper and aligns it with
the first printing position.
[ESC] RC: Draws bit map font data.
[ESC] RV: Draws outline font data.
[ESC] RB: Draws bar code data.
[ESC] XS: Issues (prints) the label.
Power OFF
No
NOTES: (1) When placing new paper, the Feed Command must always be sent. When us ing the
same paper after the power is turned off and on, the Feed Command may be omitted.
(2) If the option for “automatic call at power on” for the Saved Data Call Command has
previously been selected, the Saved Data Call Command may be omitted after the
power is turned off and on.
- 13 -
6. I NTERFACE COMM ANDS
[
y
6.1 OUTLINE OF COMMANDS
(1) Format of Interface command
ESC Command & Data LF NUL
z The length from [ESC] to [LF] [NUL] must be as specified by each command.
z There are the following three kinds of control codes:
c ESC (1BH), LF (0AH), NUL (00H)
d { (7BH), | (7CH), } (7DH)
(2) How to use reference
Function Describes the outline of the function of the command.
Format Shows the format of the command.
The format designation method should conform to the following rules:
z
Each set of small letters (such as aa, bbbb) indicates a parameter item.
z
An item enclosed in parentheses may be omitted.
z
“…” indicates the repetition of an item.
z
Br ack ets and parenthes es are us ed only in coding, and must not be tr ansm itted
in practice.
z
Other symbols must always be inserted at the designated positions before being
transmitted.
Term Explains the term(s) used in the format.
z
“0 to 999” described in the entry range indicates that up to 3-digit var iable-length
entry is allowed. (Entry of “001” or “009” is also possible.) “000 to 999” indic ates
that entry must be fixed as 3 digits.
Explanation Explains the command in detail.
Note Supplementary explanation of the command.
Refer to Related commands
Examples Explains the command examples.
The above corresponds to the transfer of the following:
(3) Precautions
The commands and parameters described in this specification must always be used. If any
command or parameter other than those covered in this specification is used, the printer
operation will not be guaranteed. The commands must be used in the online mode. If an
command is transm itted in system mode, the printer will not operate. However, only the Reset
Command can be used.
ESC] T20C30 [LF] [NUL]
1B 54 30 30 43 33 32 0A 00
[ESC]
T 2 0 C 3 0 [LF] [NUL]
- 14 -
NOTES:
1. If a command is not recognized as a command, it is ignored.
e.g.) [ESC] H, [ESC]AA, and so on.
2. If the num ber of digits of the parameter is specified, when the num ber of in put digits does not
match the specified number of digits, a command error occurs.
3. When a parameter is set to any character/value other than specified characters/values, a
command error occurs.
e.g.) In the case that a value should be set for param eter, “0001” is acc eptable, however, “000A”
results in an error.
In the case that a character should be set f or param eter, “A” is acceptable, however, “1” results in
an error.
4. If the value range of the parameter is specif ied, when any value beyond the range is enter ed, a
command error occurs. (Except for the D command)
5. When a parameter is missing, which cannot be omitted, a command error occurs.
6. The parameter should be set to either a value or a character, even if the parameter is defined as
“Ignore”.
e.g.) a : Ignore
If it is omitted, a command error occurs, except when the parameter is omissible.
If the number of digits of the parameter is specified, when the number of input digits does not
match the specified number of digits, a command error occurs.
7. W hen any value/character other than available values/characters for the parameter function is s et,
a command error occurs.
e.g.) Parameter “e” for the LC command.
e: Type of line
0: Line
1: Rectangle
If “2” is set to parameter “e”, a command error occurs.
8. About D command
1) Parameter “aaaa”, “bbbb” and “cccc”
When any value lager than max imum value is entered for these three parameters, the entered
value is internally changed to the maximum value.
When any value smaller than minimum value is entered for these tree parameters, the entered
value is internally changed to the minimum value.
2) When “aaaa” is smaller than “cccc”, a command error occurs.
3) When “aaaa – cccc < 2mm”, it is internally changed to “cccc = aaaa – 2mm”.
- 15 -
6.2 LIST OF COMMANDS
(1) Commands related to setting
Label Size Set Command [ESC] D......................................17
(2) Commands related to fine adjustment
Position Fine Adjust Command [ESC] AX....................................22
Print Density Fine Adjust Command [ESC] AY....................................27
Notes (1) Before changing the label size or type of sensor, the Label Size Set Command
must first be transmitted.
(2) The Label Size Set Comm and is pr otected in m em ory (even if the power is turned
off).
(3) After sending the Label Size Set Command, one sheet of paper must be f ed by the
Feed Command ([ESC] T) and must be aligned with the first print position pr ior to
printing.
(4) The origin of drawing coordinates, print stop position (head pos ition at stop), and
cut position are determined according to the parameters of the Label Size Set
Command as shown in the figure on the preceding page. For the print stop
position in strip issue mode, refer to the section of the Position Fine Adjust
Command. The effective print area is centered on the label/tag.
(5) Printing cannot be perform ed in the slow up (1 mm) and slow down (1 m m) ar eas.
Consequently, [A
: label/tag pitch] - [H: effective print length] ≥ 2 mm must be
assumed.
(6) The origin of drawing coordinates, print stop position (head pos ition at stop), and
cut position are adjustable by the Fine Adjust Commands and ac cor ding to the f ine
adjustment settings in System mode.
(7) The tag rotation designation of the Is sue Command ([ESC] X S) causes the origin
of drawing coordinates to be origin c in the case of “printing bottom first” and to be
origin d in the case of “printing top first”, as shown in the figure.
(8) The parameters must be as shown in the figure and table. Any value or paper
outside the range results in a failure of printing or an error.
(9) The setting for the backing paper width is used for the control of the backing paper
rewind motor for a strip issue. Therefore, this setting is not ef fective f or any mode
other than strip issue mode.
Function c Adjusts the feed value s o that the label will be shifted f orward or back ward from the
automatically set first print start position.
d Adjusts the c ut position so that the label will be cut at a position shifted forward or
backward from the automatically set cut position, or adjusts the strip position s o that
the label will be shifted forward or backward from the automatically set strip position.
e Adjusts the value for feeding the label back to the home position after cutting, or
adjusts the value for feeding the label back to the home position after stripping.
Format [ESC] AX; abbb, cddd, eff [LF] [NUL]
Term a: Indicates the direction, forward or backward, in which a fine adjustment is to
be made.
+: Backward
-: Forward
bbb: Feed value to be finely adjusted.
000 to 500 (in 0.1 mm units)
c: Indicates the direction, forward or backward, in which a cut position
(or strip position) fine adjustment is to be made.
+: Backward
-: Forward
If cutter and strip module is not installed, this value is ignored.
ddd: Amount for finely adjusting the cut position (or strip position).
000 to 350 (in 0.1 mm units)
If cutter and strip module is not installed, this value is ignored.
e: Indicates whether the back feed is to be increased or decreased.
+: Increase
-: Decrease
ff: Amount for finely adjusting the back feed.
00 to 99 (in 0.1 mm units)
- 22 -
Explanation [Feed Length Fine Adjustment] (To finely adjust the feed for shifting backward or forward)
0.0 mm
One label
First print position
+3.0 mm
One label
First print position
-3.0 mm
Paper feed direction
First print position
One label
[Cut Position Fine Adjustment] (To finely adjust the cut position for shifting backward or
forward)
0.0 mm
Cut position
+3.0 mm
Cut position
- 3.0 mm
Cut position
Paper feed direction
- 23 -
[Strip Position Fine Adjustment]
0.0 mm
+3.0 mm
-3.0 mm
Printing in strip issue m ode is stopped at the position where the
distance from the middle point of the label-to-label gap to the
3 mm
2 mm
end of the strip shaft is 3 mm, since the label-to-label gap is
assumed to be 2 mm.
W hen the print stop position is not proper, the print s top position
2 mm
should be adjusted using the strip position f ine adjust function.
When the label-to- label gap is 5 mm or mor e, the effective print
length should be set to the maxim um (label pitch -2 mm). T hen,
the print stop position should be adjusted using the st rip pos ition
fine adjust function.
[Back Feed Fine Adjustment] (To finely adjust the back feed for shifting backward or forward)
0.0 mm
First print position (home position after back feed)
+3.0 mm
First print position (home position after back feed)
- 3.0 mm
First print position (home position after back feed)
Paper feed direction
- 24 -
Notes (1) If the feed value fine adjustm ent, cut position (or strip position) fine adjustm ent or
back feed value fine adjus tment has been set in system mode (k ey operation on
the printer), the fine adjustm ent value will be the fine adjustment in system m ode.
The max. fine adjustment values are as follows. However, the max. feed fine
adjustment value is limited within the label pitch.
Feed value fine adjustment...................................................±50.0 mm
Cut position (or strip position) fine adjustment......................±35.0 mm
Back feed value fine adjustment...........................................±9.9 mm
(2) After changing the fine adjustm ent value by this command, one label must be fed
by the Feed Command ([ESC] T) to adjust the first print position.
(3) Each fine adjustment value is protected in m emory (even if the power is turned
off).
(4) If a fine adjustment value is improper, printing will not be performed correctly.
For ex ample, if the back f eed fine adjustm ent value is not set properly,
the print positions without cutting and after cutting will be different from
each other. If the label is fed back excessively, the paper will not be fed
correctly during printing.
In the strip issue mode, the print position may differ between the first
label and the second label. The back f eed fine adjustment is used to
adjust the length so that the label is correctly fed back to the position
placed before the forward feed is performed.
(5) The cut position (or the strip position) fine adjustment and back feed value fine
adjustment are effective only when the printer is in cut issue or strip issue mode.
- 25 -
Examples (1) Cut issue
3.5 mm
Cut
2.0 mm
Preprinted
2.0 mm
z
Finely adjust the print
position by +2.0 mm .
z
Finely adjust the cut
position by +3.5 mm .
z
Finely adjust the back
feed value by +1.0 mm .
(3.0 - 2.0 = 1.0)
3.0 mm
Cut
Paper feed
[ESC] AX; +020, +035, +10 [LF] [NUL]
direction
[ESC] T21C30 [LF] [NUL]
(2) Strip issue
1.0 mm
z
A B C
1.0 mm
Finely adjust the strip
position by +2.0 mm .
z
Finely adjust the print
position by +1.0 mm .
3.0 mm
A B C
[ESC] AX; +010, +020, +00 [LF] [NUL]
Paper feed
direction
[ESC] T20D30 [LF] [NUL]
- 26 -
Loading...
+ 217 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.