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 -
6.3.3 PRINT DENSITY FINE ADJUST COMMAND [ESC] AY
Function Adjusts the automatically set print density.
Format [ESC] AY; abb, c [LF] [NUL]
Term a: Indicates whether to increase or decrease the density.
+: Increase (darker)
-: Decrease (lighter)
bb: Print density fine adjustment value
00 to 10 (in units of 1 step)
c: Indicates the mode for fine adjustment, thermal transfer or direct thermal.
1: Direct thermal
Explanation (1) T he print density fine adjustment is per formed by adjusting the tim e that voltage is
applied to the thermal head.
(2) If the print density fine adjustment value has been set in system mode (key
operation on the printer), the fine adjustment value will be the sum of the fine
adjustment by this comm and and the fine adjustment in system mode. T he max.
fine adjustment values for thermal transfer/direct thermal print modes are each
±10.
(3) The fine adjustm ent values in thermal transfer print mode and direct thermal print
mode can be set independently.
(4) T he Print Density Fine Adjust Com mand is protected in m emory (even if the power
is turned off).
(5) The fine adjustment value for both the fine adjust comm and and the system mode
fine adjustment is 00 at shipment from the factory.
Notes Even if the print density is set to the value of +08 to +10, it will be automatically
converted to +07 in order to protect the thermal head.
Examples To set the density in thermal transfer print mode to -2.
[ESC] AY; -02, 0 [LF] [NUL]
To set the density in direct thermal print mode to +3.
[ESC] AY; +03, 1 [LF] [NUL]
- 27 -
6.3.4 IMAGE BUFFER CLEAR COMMAND [ESC] C
Function Clears the image buffer for drawing characters, lines, bar codes, and graphics.
Format [ESC] C [LF] [NUL]
Explanation (1) After changing the label size, the image buffer must be cleared.
(2) The increment/decrement designation (described later) is valid until the Image
Buffer Clear Command is transmitted.
(3) T he link field designation (described later) is eff ective until the Image Buf fer Clear
Function Clears the designated area or reverses the white/black dot pattern in the designated
area in the drawing area.
Format [ESC] XR; aaaa, bbbb, cccc, dddd, e [LF] [NUL]
Term aaaa: Designated area start point X-coordinate
Fixed as 4 digits (in 0.1 mm units)
bbbb: Designated area start point Y-coordinate
4 or 5 digits (in 0.1 mm units)
cccc: Designated area end point X-coordinate
Fixed as 4 digits (in 0.1 mm units)
dddd: Designated area end point Y-coordinate
4 or 5 digits (in 0.1 mm units)
e: Type of clear
A: Clears the contents in the designated area to zeros.
B: Reverses the white/black dot pattern in the designated area.
Explanation
Origin of
coordinates
(0, 0)
Backing paper
Label
Label
End point
Start point
Effective
print width
Origin of
coordinates
(0, 0)
Paper feed direction
Effective
print length
0
Y
X
Start point
End point
Effective
print width
Paper feed direction
Effective
print length
X
Y
0
[Print direction: Printing bottom first] [Print direction: Printing top first]
Notes (1) The result is the same even if the start and end point coordinates are reversed.
(2) The result is the same even if the start and end point coordinates are set to an
upper right and a lower left points, respectively.
(3) The start and end coordinates of the designated area must be set within the
effective print area set by the Label Size Set Command ([ESC] D).
- 29 -
[Effective print area] [mm]
Model B-SV4D
Item Method Batch Strip Cutter
Effective print width Min. 13.0
Format [ESC] LC; aaaa, bbbb, cccc, dddd, e, f (, ggg) [LF] [NUL]
Term aaaa: Start point X-coordinate
Fixed as 4 digits (in 0.1 mm units)
bbbb: Start point Y-coordinate
4 or 5 digits (in 0.1 mm units)
cccc: End point X-coordinate
Fixed as 4 digits (in 0.1 mm units)
dddd: End point Y-coordinate
4 or 5 digits (in 0.1 mm units)
e: Type of line
0: Line (horizontal, vertical, slant)
1: Rectangle
f: No. of line width dots
1 to 9 (in 0.1 mm units)
ggg: Radius of rounded corners of rectangles
(Omissible. If omitted, the chamfering process for rectangle corners is not
performed.)
Fixed as 3 digits (in 0.1 mm units)
Explanation
Origin of
coordinates
(0, 0)
Backing paper
Label
Effective
print length
Start point
End
point
Effective
print length
X
0
Y
Effective
print width
Paper feed direction
X
Backing paper
Label
End
point
Effective
print width
Y
Paper feed direction
0
Start
point
Origin of
coordinates
(0, 0)
[Print direction: Printing bottom first] [Print direction: Printing top first]
- 31 -
[Line]
(
)
(1) Horizontal line (In the case of |Y
(X1,Y1) (X2,Y2)
(2) Vertical line (In the case of |X
(X1,Y1)
2
(X
2,Y2
)
Line width
(3) Slant line A ( |X
- X1| ≤ |Y2 - Y1| ) (4) Slant line B ( |X2 - X1| > |Y2 - Y1| )
2
- Y1| = 0)
2
- X1| = 0)
Line width
(X1,Y1)
(X1,Y1)
(X1,Y1)
2
Line width
Line width
(X1,Y1)
(X
2,Y2
)
Line width
(X2,Y2)
Line width
X2,Y
(X2,Y2)
- 32 -
[Rectangle]
(1) Radius of rounded corners = 000 or parameter omitted
(X1,Y1)
(X
2,Y2
)
(X2,Y2) (X1,Y1)
Line width
(2) Radius of rounded corners ≠ 000
(X1,Y1)
Radius
Line width
Line
width
Line width
Line width
(X2,Y2)
Line width
Notes (1) In line designation, a horizontal line, vertical line, or slant line A/B is drawn
according to the start and end point coordinates.
(2) The result is the same even if the start and end point coordinates are reversed.
(3) The start and end point coordinates must be set so that the result of line drawing
will be within the effective print area set by the Label Size Set Command ([ESC]
D).
- 33 -
(4) Program ming the radius of the rounded corner is ef fective only when the type of
line is 1 (rectangle). When the type of line is 0, designation of the radius is
ignored.
When the type of line is 1, and the radius of the rounded corner is 000 or omitted,
a rectangle is printed.
(5) A circle is assumed when:
| X
- X1 |
2
2
=
| Y2 - Y1 |
2
≤ [Radius of rounded corners]
[Effective print area] [mm]
Model B-SV4D
Item Method Batch Strip Cutter
Effective print width Min. 13.0
Function Sets the format indicating on the label at which the bit map f ont is to be printed and how
it is to be printed.
Format c [ESC] PCaaa; bbbb, cccc, d, e, ff (, ghh), ii, j (, Jkkll) (, Mm) (, noooooooooo)
(, Zpp) (, Pq) (=rrr------rrr) [LF] [NUL]
d [ESC] PCaaa; bbbb, cccc, d, e, ff (, ghh), ii, j (, Jkkll) (, Mm) (, noooooooooo)
(, Zpp) (, Pq) (; ss
, ss2, ss3, ------, ss20) [LF] [NUL]
1
Term aaa: Character string number
000 to 199 (two digits, 00 to 99, also acceptable)
bbbb: Print origin of X-coordinate of character string
Fixed as 4 digits (in 0.1 mm units)
cccc: Print origin of Y-coordinate of char acter string
4 or 5 digits (in 0.1 mm units)
d: Character horizontal magnification
1 to 9 (in magnifications)
* Two digit designation enables magnifications in 0.5 units
(05 ~ 95: 0.5 to 9.5 magnifications).
The magnification can be designated in 0.1 units between 0.5 to 1.
(06 ~ 09: 0.6 to 0.9 magnifications).
d d
Designation in 0.5 magnification units : 0 or 5 (5 to 9, up to 1 magnification)
Designation in magnifications : 0 to 9
e: Character vertical magnification
1 to 9 (in magnifications)
* Two digit designation enables magnifications in 0.5 units
(05 ~ 95: 0.5 to 9.5 magnifications).
The magnification can be designated in 0.1 units between 0.5 to 1.
(06 ~ 09: 0.6 to 0.9 magnifications).
e e
Designation in 0.5 magnification units : 0 or 5 (5 to 9, up to 1 magnification)
Designation in magnifications : 0 to 9
ff: Type of font
E: Times Roman (Bold) 14 point
J: Helvetica (Bold) 12 point
M: Presentation (Bold) 18 point
N: Letter Gothic (Medium) 9.5 point
O: Prestige Elite (Medium) 7 point
Q: Courier (Medium) 10 point
U: Kanji (16×16 dots)/Writable character (16×16 dots) (Square Gothic)
For the JA
model only
V: Kanji (24×24 dots)/Writable character (24×24 dots) (Square Gothic)
W: Kanji (32×32 dots)/Writable character (32×32 dots) (Square Gothic)
X: Kanji (48×48 dots)/Writable character (48×48 dots) (Square Gothic)
- 35 -
01 (a): Writable character 1 (1×1 dot to 720×720 dots)
to
40 (a): Writable character 40 (1×1 dot to 720×720 dots)
51 (a): 2-byte code set writable character 1 (1×1 dot to 720×720 dots)
to
55 (a): 2-byte code set writable character 5 (1×1 dot to 720×720 dots)
a: Drive
(Omissible. If omitted, flash ROM on the CPU board is selected.)
0: Flash ROM on the CPU board
1:Flash ROM on the memory board (Option)
2:Flash ROM on the memory board (Option)
* The following fonts are proportional: E, J
ghh: Fine adjustment of character-to-character space
(Omissible. If omitted, space is adjusted according to the designated font.)
g: Designates whether to increase or decrease the character-to-character
space.
+: Increase
-: Decrease
hh: No. of space dots between characters
00 to 99 (in dots)
ii: Rotational angles of a character and character string
aa: No. of dots from the character string to the end of the black
background in the horizontal direction
bb: No. of dots from the character string to the end of the black
background in the vertical direction
aa: 01 to 99 (in units of dots)
bb: 01 to 99 (in units of dots)
F (aabb): Boxed character
aa: No. of dots from the character string area to the box in the
horizontal direction
bb: No. of dots from the character string area to the box in the vertical
direction
aa: 01 to 99 (in units of dots)
bb: 01 to 99 (in units of dots)
C (aa): Stroked out character
aa: No. of dots from the character string area to the end of the stroke
aa: 01 to 99 (in units of dots)
* Descriptions in parentheses are omissible.
(If omitted, it is character magnification (the larger one of horizontal or
vertical magnifications) × 6 dots.)
- 36 -
Jkkll: Bold character designation
(Omissible. If omitted, this process is not performed.)
kk: No. of horizontal shift dots
00 to 16 (in dots)
ll: No. of vertical shift dots
00 to 16 (in dots)
Mm: Type of check digits to be attached.
(Omissible. If omitted, this process is not performed)
m: Type of check digit
0: Modulus 10 (Draws data and check digit)
1: Modulus 43 (Draws data and check digit)
2: DBP Modulus 10 (Draws data and check digit)
noooooooooo: Increment and decrement
(Omissible. If omitted, incrementing/decrementing is not performed.)
n: Designates whether to increment or decrement.
+: Increment
-: Decrement
oooooooooo: Skip value
0000000000 to 9999999999
Zpp: Zero suppression
(Omissible. If omitted, the zero suppression process is not performed.)
pp: No. of zeros to be suppressed
00 to 20
Pq: Alignment (Omissible, If omitted, the alignment is set to left.)
q: Designates the character position
1: Left
2: Center
3: Right
4aaaa: Equal space
aaaa: X direction of character string area
0050 to 1040 (in 0.1 mm units)
bbb: Line feed length
010 to 500 (in 1 mm units)
cc: Number of lines
01 to 99
rrr------rrr: Data string to be printed (Omissible)
Max. 255 digits
ss
, ss2, ss3, ------, ss20: Link field No. (Omissible)
1
01 to 99 (1 to 99 can be also used.)
Up to 20 fields can be designated using commas.
- 37 -
Explanation (1) Character string number
(
W hen drawing by the Data Command ([ESC] RC), the form at designated by the
character string number is selected.
(2) Print origin of coordinates
Origin of
coordinates
0, 0)
Backing paper
Label
Backing paper
Label
Effective
print length
X
0
Y
Sample
Effective print
width
Print origin
of coordinates
Paper feed direction
Effective
print length
X
Print origin
of coordinates
Origin of
Effective print
Y
0
width
Paper feed direction
coordinates
(0, 0)
[Printing direction: Printing bottom first] [Printing direction: Printing top first]
The print origin of coordinates mus t be set so that the result of character drawing will be within
the effective print area set by the Label Size Set Command ([ESC] D).
- 38 -
[Effective print area] [mm]
Model B-SV4D
Item Method Batch Strip Cutter
Effective print width Min. 13.0
(3) Horizontal magnification and vertical magnification
Vertical
magnification
Horizontal
magnification
Horizontal
magnification
Vertical
magnification
- 39 -
g
[Relationship between drawing coordinates and magnification]
Point of
origin
Char.
height
Left offset
Char. width
Horizontal spacing/
proportional spacing
(4) Type of font
Times Roman
Helvetica
Presentation
Letter Gothic
Prestige Elite
Point of
origin of
next char.
Char. height ×
Vertical
magnification
Enlarge
Point of
ori
in
Char. Width ×
Horizontal magnificat i on
(Horizontal spacing/proportional spacing)
× Horizontal magnificat i on
Point of
origin of
next char.
Courier
- 40 -
(5) Fine adjustment of character-to-character space
B A
B A
B A
If no character-to-character space is specified or the number of space dots between
characters is 0, drawing will take place according to the horizontal spacing/proportional
spacing determined for each character. If character-to-character space is specified,
drawing will take place according to the value obtained by adding the character
spacing/proportional spacing to the specified value.
Point of
origin
Point of origin of
next char.
(Horizontal spacing/proportional
spacing) × Horizontal magnif i cation
No. of fine adjust spac e dots
between characters
(6) Rotational angles of a character and character string
Origin
Sample
0° (00) 90° (11) 180° (22) 270° (33)
(7) Selection of character attribution
No. of dots in the
horizontal direction
No. of dots in the
vertical direction
Black characters
Reverse characters
No. of dots in the
horizontal direction
No. of dots in the
vertical direction
No. of dots in the
horizontal direction
Boxed characters
Stroked out characters
- 41 -
(8) Bold character designation
0°
Horizontally
bold
Vertically
bold
Vertically/
horizontally
(9) Check digit to be attached
When Modulus 10 or Modulus 43 is selected, the check digit of a data row is calculated
and attached to the data row for drawing.
When DBP Modulus 10 is selected, the check digit of a data row is calculated and only the
check digit is drawn. When the data includes any data other than the numerals , drawing is
not performed.
bold
Horizontally
bold
90°
Vertically
bold
Vertically/
horizontally
bold
* DBP Modulus 10 is Modulus 10 for Deutsche Bundespost Postdienst only.
(10) Increment/decrement
Printing is performed while the data is incremented or decremented every time a label is
issued. W here the data row exceeds the maximum number of digits (40), the data row
will not be drawn. When the font type is 51, 52, 53, 54, or 55, the
incrementing/decrem enting cannot be designated. (If it is designated, it is ignored, and
the printer operates as if there was no designation.)
Letters and numerals for increment/decrement
For the data string, up to 40 digits (including letters, numerals, and symbols) are
possible. Only the numerals are picked up and calculated for
incrementing/decrem enting, and then are returned to the previous position to draw the
data.
number of digits. However, if the num ber of digits to be suppressed is greater than the data
row, the data row will be drawn without zero suppression. Where the data row exceeds the
maximum number of digits (40), the data row will not be drawn. W hen the font type is 51, 52,
53, 54 or 55, zero suppression is not designated. If it is designated, it is ignored, and the printer
operates as if there was no designation.
(12) Alignment
No. of dots of charact er s tring
area in the X direction
Left
Line feed length
Automatic line feed
Automatic line feed
Automatic
No. of lines
Right E q u a l s p a c e Center
If characters are not placed on one line when equal space and automatic line feed is
designated, the following steps should be performed.
Decrease the value of the character-to-character s pace. When characters are not placed
on one line if the value is set to 0, return the value to its default, and then reduce the
horizontal magnification for a character by 0.5.
If characters are still not placed on one line, repeatedly decrease the value of the
character-to-character space, and then reduce the horizontal magnification. When
characters are not placed on one line if the character magnification is set to 0.5 and the
character-to-character space is set to 0, the field is not drawn. (The same previous field is
also not drawn.)
- 43 -
(13) Data string to be printed
Drawing data can be programmed by designating the number of digits after the symbol
“=.” Up to 255 digits can be printed. If the num ber of digits exceeds 255, the ex cessive
data will be discarded.
For the character code table, refer to the character code table mentioned later.
(14) Link field No.
T he link field No. can be programm ed by designating it after the symbol “;”. Af ter the link
field No. is designated using the Format Comm and, the data s trings ar e linked by the Link
Field Data Command to draw an image.
Up to 20 fields can be linked.
The following shows an example of linked fields on the two continuous labels.
[Format Command]
[ESC] PC01;................... ; 01 [LF] [NUL] : Link field No. 1 is designated.
[ESC] PC02;................... ; 03 [LF] [NUL] : Link field No. 3 is designated.
[ESC] PC03;................... ; 04 [LF] [NUL] : Link field No. 4 is designated.
[ESC] XB01; ........................ ; 03, 04 [LF] [NUL] : Link fields No. 3 and No. 4 are
designated.
[ESC] PC04;................... ; 02 [LF] [NUL] : Link field No. 2 is designated.
[ESC] PC05;................... ; 03 [LF] [NUL] : Link field No. 3 is designated.
[ESC] PC06;................... ; 04 [LF] [NUL] : Link field No. 4 is designated.
[ESC] XB02; ........................ ; 03, 04 [LF] [NUL] : Link fields No. 3 and No. 4 are
designated.
Designating link field No.
[Data Command]
[ESC] RC; A [LF] B [LF] ABCD [LF] 001 [LF] [NUL]
Link field No. 4
Link field No. 3
Link field No. 2
Link field No. 1
A
ABCD
001
*ABCD001*
ABCD
001
*ABCD001*
B
- 44 -
Notes
(1) The check digit attach, increment/decrement, and zero suppress processes are
performed accor ding to the following priority. If any of the conditions is improper,
no drawing will take place.
For example, the zero(s) is replaced by a space(s) as a result of zero
suppression but the modulus 10 designated to be attached cannot be
calculated.
Increment/decrement > zero suppression > attachment of check digit
(2) Up to 32 fields for which incrementing/decrem enting has been designated can be
drawn. If the total of bit map font, outline font or bar code increm ent/decrement
fields exceeds 32, drawing will take place without incrementing/dec rementing any
excessive field. The field to be incremented or decremented is incremented or
decremented until the Image Buffer Clear Command ([ESC] C) is transmitted.
[Example]
1) Format Command (Increment character string No. 001 (+1))
2) Format Command (No incrementing for character string No. 002)
3) Format Command (Increment character string No. 003 (+2))
4) Image Buffer Clear Command
5) Data Command (Character string No. 001 “0001”)
6) Data Command (Character string No. 002 “AB-”)
7) Data Command (Character string No. 003 “0100”)
8) Issue Command (2 labels)
9) Issue Command (1 label)
10) Image Buffer Clear Command
11) Data Command (Character string No. 002 “00000”)
12) Issue Command (1 label)
0001
AB - 0100
0002
AB - 0102
0003
AB - 0104
00000
- 45 -
(3) The Bit Map Font Form at Command may be connected to the Outline Font Format
Command when transmitted.
[ESC] P C001; 0100, 0150, 1, 1, A, 00, B [LF]
C002; 0350, 0180, 1, 1, A, 00, B [LF]
C005; 0200, 0300, 25, 2, C, +05, 00, B, +0000000001 [LF]
V01; 0500, 0400, 0100, 0100, A, 00, B [LF] [NUL]
(4) W hen the drawing data is changed per label issue dur ing printing, the field of the
drawing data for the previous label is automatically cleared using the character
string number, then the next drawing data is printed. Therefore, the character
string number which diff ers according to the drawing fields should be designated.
Since the automatic field clear is not performed between the Clear Command
([ESC] C) and Issue Comm and ( [ESC] X S), the fixed data may be drawn using the
same character string number. In this case, the Format Command and Data
Command should be sent alternately. (After the Issue Command is sent, the f ields
with the same character string number are automatically cleared until the Clear
Command is sent.)
(5) T he link field designation is cleared by omitting the link f ield designation using the
same character string No. and reformatting data.
The link field designation can be also cleared by the Image Buffer Clear
Command.
(6) A print data string and link field No. cannot be programmed at the same time.
(7) The sam e character s tring number cannot be program med m ore than onc e in one
format (one page).
Refer to Bit Map Font Data Command ([ESC] RC)
Outline Font Format Command ([ESC] PV)
Bar Code Format Command ([ESC] XB)
aa: No. of dots from the character string to the end of the black
background in the horizontal direction.
bb: No. of dots from the character string to the end of the black
background in the vertical direction.
aa: 01 to 99 (in units of dots)
bb: 01 to 99 (in units of dots)
F (aabb): Boxed character
aa: No. of dots from the character string area to the box in the
horizontal direction.
bb: No. of dots from the character string area to the box in the vertical
direction.
aa: 01 to 99 (in units of dots)
bb: 01 to 99 (in units of dots)
C (aa): Stroked out character
aa: No. of dots from the character string area to the end of the stroke
aa: 01 to 99 (in units of dots)
* Descriptions in parentheses are omissible.
(If omitted, it is character size (the larger character width or height) ÷ 8 dots.)
Mk: Type of the check digit to be attached
(Omissible. If omitted, the check digit is not drawn.)
k: Type of check digit
0: Modulus 10 (Draws data and check digit)
1: Modulus 43 (Draws data and check digit)
2: DBP Modulus 10 (Draws check digit only)
lmmmmmmmmmm: Increment and decrement
(Omissible. If omitted, incrementing/decrementing is not
performed.)
l: Designates whether to increment or decrement.
+: Increment
-: Decrement
mmmmmmmmmm: Skip value
0000000000 to 9999999999
Znn: Zero suppression
(Omissible. If omitted, the zero suppression process is not performed.)
nn: No. of zeros to be suppressed
00 to 20
- 50 -
Po: Alignment (Omissible. If omitted, the alignment is set to left.)
o: Designates the character position.
1: Left
2: Center
3: Right
4aaaa: Equal space
aaaa: X direction of character string area
0050 to 1040 (in 0.1 mm units)
ppp------ppp: Data string to be printed (Omissible)
Max. 255 digits
qq
, qq2, qq3, ------, qq20: Link field No. (Omissible)
1
01 to 99 (1 to 99 can be also used.)
Up to 20 fields can be designated using commas.
- 51 -
~
TrueType font
Format [ESC] PVaa; bbbb, cccc, dddd, eeee, ff, g (, hiii), jj, k(,Lmm)(=ppp ------ ppp) [LF] [NUL]
Term aa: Character string number
00 to 99
bbbb: Print origin of X-coordinate of the character string
Fixed as 4 digits (in 0.1 mm units)
cccc: Print origin of Y-co ordinate of the character string
Points (1/72 inch per point)
ppp------ppp: Data string to be printed (Omissible)
Max. 255 digits
* TrueType fonts are not included in the standard character generator data. T herefore,
they must be installed in flash ROM on the CPU board, or the memory board.
For installation of TrueT ype font and details, refer to the TrueType Font Specif ication
(TAA-1184).
* If Arabic is selected as the character code, letters are written from right to left.
Origin
0° (00) 90° (11) 180° (22) 270° (33)
- 53 -
Explanation (1) Character string number
W hen drawing by the Data Command ([ESC] RV), the format designated by the
character string number is selected.
(2) Print origin of coordinates
Origin of
coordinates
(0, 0)
Effective
print length
0
Y
Sample
Effective
X
print width
Paper feed direction
[Print direction: Printing bottom first] [Print direction: Printing top first]
Backing paper
Label
Print origin of
coordinates
Effective
print length
X
Backing
paper
Label
Print origin of
coordinates
Origin of
coordinates
Effective
print width
Y
Paper feed direction
0
(0, 0)
• The print origin of coordinates must be set so that the res ult of character drawing will
be within the effective print area set by the Label Size Set Command ([ESC] D).
(3) True Type Font Size
To designate the font size and the unit is 1/72 inch per point.
- 54 -
[Effective print area] [mm]
Model B-SV4D
Item Method Batch Strip Cutter
Effective print width Min. 13.0
(5) Fine adjustment of character-to-character space
B A
B A
B A
B A
If no character-to-character space is specified or the number of space dots
between characters is 0, drawing will take place according to the horizontal
spacing/proportional spacing determined for each character. If character-tocharacter space is specified, drawing will take place according to the value
obtained by adding the character spacing/proportional spacing to the specified
value. When equal spac e is s elected for the alignm ent, the c haracter -to-c haracter
space setting is invalid. (The horizontal spacing/proportional spacing are
increased or decreased depending on the character size.)
A B C
(6) Rotational angles of a character and character string
(7) Selection of character attribution
Origin
Sample
0° (00) 90° (11) 180° (22) 270° (33)
A B
Black characters
No. of dots in the
horizontal direction
No. of dots in the
horizontal direction
Reverse characters
No. of dots in the
horizontal direction
No. of dots in the
vertical direction
Boxed characters
- 56 -
No. of dots in the
vertical direction
Stroked out characters
(8) Increment/decrement
Printing is performed while the data is increm ented or decremented each time a label is
issued. W here the data row exceeds the maximum number of digits (40), the data row
will not be drawn.
Letters and numerals for increment/decrement
For the data string, up to 40 digits (including letters, numerals and symbols) are
possible. Only the numerals are picked up and calculated for incrementing/
decrementing, and then are returned to the previous position to draw the data.
(9) Data string to be printed
Drawing data can be programmed by designating the number of digits after the symbol
“=.” Up to 255 digits can be printed. When the number of digits exceeds 255, the
excessive data will be discarded.
For the character code table, refer to the character code table mentioned later.
- 57 -
(10) Link field No.
T he link field No. can be programm ed by designating it after the symbol “;.” Af ter the link
field No. is designated using the Format Comm and, the data s trings ar e linked by the Link
Field Data Command to draw an image.
Up to 20 fields can be linked.
The following shows an example of linked fields on the two continuous labels.
[Format Command]
[ESC] PV01;................... ; 01 [LF] [NUL] : Link field No. 1 is designated.
[ESC] PV02;................... ; 03 [LF] [NUL] : Link field No. 3 is designated.
[ESC] PV03;................... ; 04 [LF] [NUL] : Link field No. 4 is designated.
[ESC] XB01; ........................ ; 03, 04 [LF] [NUL] : Link fields No. 3 and No. 4 are
designated.
[ESC] PV04;................... ; 02 [LF] [NUL] : Link field No. 2 is designated.
[ESC] PV05;................... ; 03 [LF] [NUL] : Link field No. 3 is designated.
[ESC] PV06;................... ; 04 [LF] [NUL] : Link field No. 4 is designated.
[ESC] XB02; ........................ ; 03, 04 [LF] [NUL] : Link fields No. 3 and No. 4 are
designated.
Designating link field No.
[Data Command]
[ESC] RV; A [LF] B [LF] ABCD [LF] 001 [LF] [NUL]
Link field No. 4
Link field No. 3
Link field No. 2
Link field No. 1
Notes (1) The check digit attach, increment/decrement, and zero suppress processes are
For example, the zero(s) is replaced by a space(s) as a r es ult of zero suppres s ion
Increment/decrement > zero suppression > attachment of check digit
ABC
D
*ABCD001*
performed accor ding to the following priority. If any of the conditions is improper,
no drawing will take place.
but the modulus 10 designated to be attached cannot be calculated.
A
ABCD
001
*ABCD001*
B
(2) Up to 32 fields for which incr ementing/decrementing has been des ignated can be
drawn. If the total of bit map font, outline font, or bar code increm ent/decrement
fields exceeds 32, drawing will take place without incrementing/dec rementing any
excessive field. The field to be incremented or decremented is incremented or
decremented until the Image Buffer Clear Command ([ESC] C) is transmitted.
- 58 -
[Examples]
1) Format Command (Increment character string No. 01 (+1))
2) Format Command (No incrementing for character string No. 02)
3) Format Command (Increment character string No. 03 (+2))
4) Image Buffer Clear Command
5) Data Command (Character string No. 01 “0001”)
6) Data Command (Character string No. 02 “AB-”)
7) Data Command (Character string No. 03 “0100”)
8) Issue Command (2 labels)
9) Issue Command (1 label)
10) Image Buffer Clear Command
11) Data Command (Character string No. 02 “00000”)
12) Issue Command (1 label)
(3) The Outline Font Format Command may be connected to the Bit Map Font Format
(4) W hen the drawing data is changed per label issue dur ing printing, the field of the
drawing data for the previous label is automatically cleared using the character
string number, then the next drawing data is printed. Therefore, the character
string number which diff ers according to the drawing fields should be designated.
Since the automatic field clear is not performed between the Clear Command
([ESC] C) and Issue Comm and ( [ESC] X S), the fixed data may be drawn using the
same character string number. In this case, the Format Command and Data
Command should be sent alternately. (After the Issue Command is sent, the f ields
with the same character string number are automatically cleared until the Clear
Command is sent.)
(5) W hen charac ters overlap due to the charac ter-to-char acter space f ine adjustm ent,
the outline font is not painted properly. Program the fine adjust value so that
characters will not overlap. Also, when drawings such as lines or character s are
on the outline font drawing position, the outline font is not painted pr operly. For
font types A and B, the fine adjustment value should be set so that other drawings
do not overlap the area in which the outline font is to be drawn. For font types C,
E, F and G, the fine adjustment value should be set s o that other drawings do not
overlap the area for the designated character width and height.
(6) T he link field designation is cleared by omitting the link f ield designation using the
same character string No. and reformatting data.
The link field designation can be also cleared by the Image Buffer Clear
Command.
(7) A print data string and link field No. cannot be programmed at the same time.
(8) The sam e character s tring number c annot be program med m ore than onc e in one
format (one page).
Refer to Outline Font Data Command ([ESC] RV)
Bit Map Font Format Command ([ESC] PC)
Bar Code Format Command ([ESC] XB)
WPC Modulus 10
CODE93 Modulus 47
CODE128 PSEUDO 103
UCC/EAN128 Modulus 10 + Modulus 103
Customer code Special check digit
POSTNET Special check digit
RM4SCC Special check digit
4: Check digit auto attachment (2)
WPC Modulus 10 + Price C/D 4 digits
5: Check digit auto attachment (3)
WPC Modulus 10 + Price C/D 5 digits
* For the Customer bar code, POSTNET, and RMC4SCC, only “3:
Check digit auto attachment (1)” is effective.
ff: 1-module width
01 to 15 (in dots)
k: Rotational angle of bar code
0: 0°
1: 90°
2: 180°
3: 270°
llll: Height of the bar code
0001 to 1000 (in 0.1 mm units)
For the Customer bar code, POSTNET, RMC4SCC, KIX CODE, the height of
the long bar is specified.
mnnnnnnnnnn: Increment/decrement
(Omissible. If omitted, incrementing/decrementing is not performed.)
m: Indicates whether to increment or decrement
+: Increment
-: Decrement
nnnnnnnnnn: Skip value
0000000000 to 9999999999
ooo: Length of WPC guard bar
(Omissible. If omitted, the guard bar is not attached.)
000 to 100 (in 0.1 mm units)
p: Selection of print or non-print of numerals under bars
(Omissible. If omitted, the numerals under the bars are not printed.)
0: Non-print
1: Print
- 64 -
qq: No. of zeros to be suppressed
(Omissible. If omitted, the zero suppression process is not performed.)
00 to 20
sss ------ sss: Data string to be printed (Omissible)
Max. 126 digits. However, it varies depending on the type of bar code.
tt
, tt2, tt3, ------. tt20: Link field No. (Omissible)
1
01 to 99 (1 to 99 can be also used.)
Up to 20 fields can be designated using commas.
* Omiss ible parameters (such as “Increment/decrement”, “Selection of print or non- print
of numerals under bars” and “No. of zeros to be suppres sed”) cannot be set when the
postal code (Customer bar code, POSTNET, RM4SCC, KIX CODE) is selected.
- 65 -
~
In the case of MSI, Interleaved 2 of 5, CODE39, NW7, and Industrial 2 of 5
Format c [ESC] XBaa; bbbb, cccc, d, e, ff, gg, hh, ii, jj, k, llll (, mnnnnnnnnnn, p, qq) (, r)
(=sss------sss) [LF] [NUL]
d [ESC] XBaa; bbbb, cccc, d, e, ff, gg, hh, ii, jj, k, llll (, mnnnnnnnnnn, p, qq) (, r)
(; tt
, tt2, tt3, ------, tt20) [LF] [NUL]
1
Term aa: Bar code number
00 to 31
bbbb: Print origin of X-coordinate of the bar code
Fixed as 4 digits (in 0.1 mm units)
cccc: Print origin of Y-coordinate of the bar code
d [ESC] XBaa; bbbb, cccc, d, ee, ff, gg, h (, Ciiijjj) (, Jkkllmmmnnn)
(= pp
, pp2, pp3, ------, pp20) [LF] [NUL]
1
Term aa: Bar code number
00 to 31
bbbb: Print origin of X-coordinate of the bar code
Fixed as 4 digits (in 0.1 mm units)
cccc: Print origin of Y-coordinate of the bar code
4 or 5 digits (in 0.1 mm units)
d: Type of bar code
Q: Data Matrix (Two-dimensional code)
ee: ECC type
00 to 14: If value “00” to “14” is designated, barcode command is ignored.
20: ECC200
ff: 1-cell width
00 to 99 (in dots)
gg: Format ID
No function (ignore)
h: Rotational angle of bar code
0: 0°
1: 90°
2: 180°
3: 270°
Ciiijjj: No. of cells
(Omissible. If omitted, it is automatically set.)
iii: No. of cells in X direction 000 to 144
jjj: No. of cells in Y direction 000 to 144
* Cell setting varies according to the ECC type.
ECC200
No. of cells to be
Even numbers only
designated
Min./Max. No. of cells 10 × 10 to 144 × 144
Rectangular code 18 × 8
32 × 8
26 × 12
36 × 12
36 × 16
48 × 16
• W hen this parameter is om itted, the number of cells is automatic ally
set. Also, when any data other than the above values is des ignated
for the number of cells in X and Y directions, the number of c ells is
automatically set.
- 68 -
Jkkllmmmnnn: Connection setting
(Omissible. No connection if this parameter is omitted.)
kk: Code number 01 to 16
ll: No. of divided codes 02 to 16
mmm: ID number 1 001 to 254
nnn: ID number 2 001 to 254
ooo ------ ooo: Data string to be printed (Omissible)
Max. 2048 digits.
pp1, pp2, pp3, ------, pp20: Link field No. (Omissible)
01 to 99 (1 to 99 can also be used.)
Up to 20 fields can be designated using commas.
- 69 -
~
In the case of PDF417 (Two-dimensional code)
Format c [ESC] XBaa; bbbb, cccc, d, ee, ff, gg, h, iiii (=jjj------jjj) [LF] [NUL]
d [ESC] XBaa; bbbb, cccc, d, ee, ff, gg, h, iiii (; kk
1
Term aa: Bar code number
00 to 31
bbbb: Print origin of X-coordinate of the bar code
Fixed as 4 digits (in 0.1 mm units)
cccc: Print origin of Y-coordinate of the bar code
“–” for parameter 00 to 04 indicates that the numbers of c olumns/rows are automatically set by the printer.
In this case, the pattern which has a smaller number of code words is automatically selected. When the
numbers of code words is equal, the smaller number of columns is selected.
- 72 -
~
In the case of QR code (Two-dimensional code)
Format c [ESC] XBaa; bbbb, cccc, d, e, ff, g, h (, Mi) (, Kj) (, Jkkllmm) (= nnn --- nnn) [LF] [NUL]
d [ESC] XBaa; bbbb, cccc, d, e, ff, g, h (, Mi) (, Kj) (, Jkkllmm ) (= oo
[LF] [NUL]
Term aa: Bar code number
00 to 31
bbbb: Print origin of X-coordinate of the bar code
Fixed as 4 digits (in 0.1 mm units)
cccc: Print origin of Y-coordinate of the bar code
4 or 5 digits (in 0.1 mm units)
d: Type of bar code
T: QR code (Two-dimensional code)
e: Designation of error correction level
L: High density level
M: Standard level
Q: Reliability level
H: High reliability level
ff: 1-cell width
00 to 52 (in dots)
g: Selection of mode
M: Manual mode
A: Automatic mode
, oo2, oo3 ------ oo20)
1
h: Rotational angle of the bar code
0: 0°
1: 90°
2: 180°
3: 270°
Mi: Selection of model
(Omissible. If omitted, Model 1 is automatically selected.)
i = 1: Model 1
2: Model 2
Kj: Mask number
(Omissible. If omitted, the number is automatically set.)
j = 0 to 7: Mask number 0 to 7
8: No mask
Jkkllmm: Connection setting
(Omissible. No connection if this parameter is omitted.)
kk = 01 to 16: Value indicating which divided code is connected.
ll = 01 to 16: Number of divided codes
mm = 00 to FF: A value for all data to be printed, to which XOR is applied
in units of bytes (Not divided)
nnn --- nnn: Data string to be printed (Omissible)
Max. 2000 digits
oo
--- oo20: Link field No. (Omissible)
1
01 to 99 (1 to 99 can also be used.)
Up to 20 digits can be designated using commas.
- 73 -
~
In the case of MaxiCode (Two-dimensional code)
Format c [ESC] XBaa; bbbb, cccc, d (, e) (, Jffgg) (, Zh) [LF] [NUL]
Term aa: Bar code number
00 to 31
bbbb: Print origin of X-coordinate of the bar code
Fixed as 4 digits (in 0.1 mm units)
cccc: Print origin of Y-coordinate of the bar code
4 or 5 digits (in 0.1 mm units)
d: Type of bar code
Z: MaxiCode (Two-dimensional code)
e: Mode selection (Omissible)
Omitted: Mode 2
0: Mode 0 (Old specification)
1: Mode 1 (Old specification)
2: Mode 2 (New specification)
3: Mode 3 (New specification)
4: Mode 4 (New specification)
5: Mode 2 (New specification)
6: Mode 6 (New specification)
7: Mode 2 (New specification)
8: Mode 2 (New specification)
9: Mode 2 (New specification)
Jffgg: Connection setting (Omissible. No connection if this parameter is omitted.)
(If mode 0 or mode 1 is designated, it is ignored.)
ff: Code number 01 to 08
gg: No. of divided codes 01 to 08
Zh: Attachment of Zipper block and Contrast block (If mode 0 or mode 1 is
designated, it is ignored.)
(Omissible. If omitted, they are not attached.)
h= 0: No attachment of Zipper block and Contrast block
1: Attachment of Zipper block and Contrast block
2: Attachment of Zipper block
3: Attachment of Contrast block
- 74 -
Explanation (1) Bar code number
W hen drawing by the Data Command ([ESC] RB), the format designated by the
bar code is selected.
(2) Print origin of coordinates
Origin of
coordinates
(0, 0)
Backing paper
Label
Effective
print
length
Print origin of
coordinates
Effective
print
length
Print origin of
coordinates
X
0
Y
[Print direction: Printing bottom first]
Effective
print width
Paper feed direction
Y
0
X
[Print direction: Printing top first]
Effective
print width
Paper feed direction
The print origin of coordinates must be set so that the result of bar code drawing will be
within the effective print area set by the Label Size Set Command ([ESC] D).
Backing paper
Label
Origin of
coordinates
(0, 0)
[Effective print area] [mm]
Model B-SV4D
Item Method Batch Strip Cutter
Effective print width Min. 13.0
(4) Type of check digit
c Where no check digit is attached, the bar code of the data row will be drawn.
d In the case of the check digit check, if each check digit checked according to
the type of bar code is normal, the bar code will be drawn. If the check digit not
meeting the requirement is designated, the bar code will not be drawn.
e In the case of the check digit auto attachment, each check digit is attached
according to the type of bar code and the bar code is drawn.
f If the type of bar code is CODE93, CODE128 (with auto code selection), or
UCC/EAN128, the check digit will always be attached regardless of the
designation of the type of check digit.
g If the type of bar code is JAN, EAN, or UPC, the designation of no chec k digit
attachment automatically assume the check digit check.
h DBP Modulus 10 is Modulus 10 for Deutsche Bundespost Postdienst only.
(5) Bar width, space width, and character-to-character space
Designate the bar, space, and character-to-character space widths according to
the type of bar code. Note that the designated proper value differs ac cording to
the rotational angle of bar code, type, number of digits, print s peed, paper used,
etc. Examples of such designations are listed below. (1 dot = 1/12 mm)
In the case of JAN, EAN, UPC, CODE93, CODE128, UCC/EAN128, PDF417, or
MicroPDF417, a 2 to 6-module width is calc ulated automatically when a 1- module
width is designated.
Type of bar code 1 module 2 modules 3 modules 4 modules 5 modules 6 modules
Bar Space Bar Space Bar Space Bar Space Bar Space Bar Space
W hen NW7 is used, transm ission of the space character assumes the space of (narrow
space ×12) dots. In this case, the space is max. 255 dots.
In the case of Data Matrix
1-cell width
When 1-c ell width is 00 for the Data Matrix,
a two-dimensional code is not drawn.
1-cell width = 3
However, the two-dimensional code printed
on the previous label is cleared.
- 78 -
In the case of QR code
1-cell width
1-cell width
When the 1-cell width is 0, a two-dimensional code is not drawn. However, the bar
code printed on the previous label is cleared.
In the case of a postal code
1-module width
(6) Rotational angle of bar code
Point of origin
0° 90° 180° 270°
Point of origin
0° 90° 180° 270°
- 79 -
(7) Bar code height
Height
[PDF417, MicroPDF417]
Height
[Postal code]
Height
Height
Height
W hen the bar code height is 0000, bar code (including guard bars ) and numerals
under bars are not drawn. However, the bar code printed on the pr evious label is
cleared.
(8) Length of guard bar
The length of guard bar is valid only when the type of bar code is WPC.
It is ignored in any other cases.
Height of bar code
Length of guard bar
- 80 -
(9) Numerals under bars
Numerals are not or provided under bars according the parameter for the
presence or absence of num erals under bars. The contents of numerals under
bars to be printed vary according to the type of bar code. The character s et of
numerals under bars is OCR-B. Such numerals are enlarged or reduced only
horizontally according to the width of the bar code. They are drawn vertically in the
fixed one magnification.
[Drawing positions of numerals under bars]
c In the case of JAN and EAN
(Example) EAN13 + 2 digits
(Example) EAN8
d In the case of UPC
(Example) UPC-A + 2 digits
(Example) UPC-E
- 81 -
e In the case of bar codes other than JAN, EAN, and UPC
(Example) CODE39
(Example) UCC/EAN128
(10) Start/Stop Code
y This parameter is valid only when the type of bar code is CODE39 and NW7.
y Where the parameter is designated, the progr am will not check if the tr ansmit pr int data
is with a start code and stop code.
y When the param eter is om itted in the case of CODE39 and NW7, a start/stop code will
be attached. The code to be added is “*” in the cas e of CODE39, and “ a” in the case of
NW7.
y For details , refer to “Auto Attachment of Start/Stop Code” to be discus sed later in this
specification.
(11) Increment/decrement
Printing is performed while the data is incremented or decrem ented every time a label is
issued. Where the data row exceeds the m aximum number of digits (40), the data row
will not be drawn.
When CODE128 (without auto code selection) is used, the number of the star t code ( c ode
Letters and numerals for increment/decrement
For CODE39 (standard), CODE39 (f ull ASCII), NW-7, CODE93, CODE128, if a data
string other than numerals is included in the data, increm ent/decrem ent designation is
performed. If any code which does not exist in eac h bar code table is c ontained in the
data, increment/decrement designation is not performed.
Up to 40 digits (including letters, numerals and symbols) are possible. Only the
numerals are picked up and calculated f or incrementing/decrementing, and then are
returned to the previous position to draw the data.
5th label 00004 A0A4A 8A0/1 A0A8A
Example of increment/decrement of data including the special codes of CODE128
Increment/decrement calculation starts f rom the last digit in the data strings. W hen
the data string to be calculated is numeric , and the next (upper) digit is “>”, that is a
special code (shown with underline below). The next digit is calculated without
incrementing/decrementing these two digits.
Example of increment/decrement calculation of CODE128
The leading zero(s) in a data row is replaced by a space(s) according to the designated
number of digits. However, if the num ber of digits to be suppress ed is greater than the
data row, the data row will be drawn without zero suppression. Where the data row
exceeds the maximum number of digits (40), the data row will not be drawn.
When the print data including start/stop code is sent to sending print data, the start/s top
code is also counted as a digit. When the bar code type is JAN, EAN, UPC, or UCC/EAN
128, the data will be drawn without zero suppression.
- 83 -
(13) Data string to be printed
Drawing data can be programmed by designating the number of digits after the symbol
“=.” The maxim um number of digits to be printed varies according to the types of bar
codes. For codes, refer to the bar code table mentioned later.
(14) Link field No.
T he link field No. can be programmed by designating it after the symbol “; .” After the link
field No. is designated using the Format Com mand, the data string ar e linked by the Link
Field Data Command to draw an image.
Up to 20 fields can be linked.
The following shows an example of linked fields on the two continuous labels.
[Format Command]
[ESC] PC01;................... ; 01 [LF] [NUL] : Link field No. 1 is designated.
[ESC] PC02;................... ; 03 [LF] [NUL] : Link field No. 3 is designated.
[ESC] PC03;................... ; 04 [LF] [NUL] : Link field No. 4 is designated.
[ESC] XB01; ........................ ; 03, 04 [LF] [NUL] : Link fields No. 3 and No. 4 are
designated.
[ESC] PC04;................... ; 02 [LF] [NUL] : Link field No. 2 is designated.
[ESC] PC05;................... ; 03 [LF] [NUL] : Link field No. 3 is designated.
[ESC] PC06;................... ; 04 [LF] [NUL] : Link field No. 4 is designated.
[ESC] XB02; ........................ ; 03, 04 [LF] [NUL] : Link fields No. 3 and No. 4 are
designated.
Designating link field No.
[Data Command]
[ESC] RB; A [LF] B [LF] ABCD [LF] 001 [LF] [NUL]
Link field No. 4
Link field No. 3
Link field No. 2
Link field No. 1
ABCD
001
*ABCD001*
A
ABCD
001
*ABCD001*
B
- 84 -
(15) Explanation for Data Matrix
Data Matrix contains a function to correct a code reading error using an error
The max imum number of digits varies according to the ECC type. Since each Kanji
For the maximum number of digits in cell units, see the next page.
The connection setting is used to comprise data with a set of two-dim ensional codes
c
ECC type
correction code (ECC) and restor e normal data. Since there ar e several ECCs. ECC
should be designated according to usage. The gener al correction ability is as follows.
However, it may vary according to the error conditions.
ECC type Overhead by ECC
ECC200 Approx. 30%
d
Format ID No function (Ignore)
e
Maximum number of digits
character uses 2 bytes, the maximum number of digits for it becomes half of the
following values.
Numeric Alphanumeric 8 bit
ECC200 2000 2000 1556
f
Connection setting
when the data cannot be expressed with a two-dimensional code. W hen three twodimensional codes are used to comprise data, identification information of 1/3, 2/3,
and 3/3 is inserted into each two-dimensional c ode. The ID num ber is pr ogram m ed to
include a proper combination of two-dimensional codes when one label contains plural
connecting symbols. For example, when there are two kinds of data containing
identification information for 1/2 and 2/2 in the same label, combination of twodimensional codes is unclear. By adding the ID number, the combination is made
clear.
The PDF417 contains a function to correct a code reading error using an error
For the MicroPDF417, the printer sets the security level automatically.
The number of rows is variable in the PDF417. The row length (No. of data s trings) is
The number of columns (data strings) is variable between 1 and 30.
If the number of co lum ns is s m all when data amount is large and s ecurity level is high,
c
Security level
correcting code word and restore normal data. The security level should be
designated according to usage to perform the error correction function.
also variable. Therefore, a symbol can be c reated in a f orm that can be eas ily printed,
by changing the proportion of the height and width.
drawing may not be performed. This is becaus e the number of rows exceeds 90 when
the number of colum ns becomes small. (W hen the PDF417 is used, the number of
rows of symbols is limited from 3 to 90.)
Low
High
No. of error correction
code words
For the MicroPDF417, not only the number of columns (data strings) but also the
number of rows (data lines) can be designated. When these are to be designated, see
the table on page 72. Note that the max. number of digits for the set param eter (gg)
varies according to the character type. If data over the max. number of digits f or the
set parameter (gg) is set, the bar code is not printed. T he number of columns (data
strings) is variable from 1 to 4.
However, the max. number of lines, which is 44, depends on the number of columns.
(17) Explanation for QR code
The QR code contains functions to detect and correct an error. If one of the data
There are 4 levels that can be designated. T he level should be specif ied acc ording to
c
Error correction level
characters is damaged, the information can be restored when this code is read.
usage. The general correction ability is as follows.
Level Error correction ability
High density level Low 7%
Standard level 15%
Overhead by correcting
an error
Reliability level 25%
High reliability level High 30%
- 87 -
d
1-cell width
1-cell width
1-cell width
When the 1-c ell width is 0, a two-dimensional code is not drawn. However, the two-
dimensional code printed on the previous label is cleared.
e
Selection of mode
All codes including alphanumerics, symbols, and Kanj i can be used in one QR code.
Manual mode or automatic mode can be selected to perform the operation.
f
Selection of model
Model 1: Original specification
Model 2: Extended specification which enhances the function of position correction
and can contain a large amount of data.
g
Mask number
To be sure to read the QR code, it is preferable that white and black modules are
arranged in this symbol in a balanced manner. This prevents the bit pattern
“1011101”, which is characteristically seen in the position detecting pattern, from
appearing in the symbol as much as possible.
The mask number is 0 to 7. The pattern is determined by placing each masking
pattern for the mask number upon the module pattern. When the mask num ber is set
to 8, masking is not perf orm ed. W hen the param eter is om itted, the m ost appropriate
mask number is automatically selected to perform masking.
h
Connection setting
For QR code, data can be divided into several codes. Even though there is only a
narrow print space, the code can be entered in the space by dividing the c ode. The
data can be divided into a max. of 16 codes . Parity data is obtained by XORing all
input data in units of bytes before dividing. The input data is calculated bas ed on shif t
JIS for Kanji, or on JIS 8 for others. Examples are shown below:
“0123456789 ” is divided into “0123”, “4567”, and “89 ”.
Code No. 1 No. of divided codes: 3 Parity data: 84 Data “0123”
Code No. 2 No. of divided codes: 3 Parity data: 84 Data “4567”
Code No. 3 No. of divided codes: 3 Parity data: 84 Data “89 ”
* The parity data is the XORed value for “0123456789 ”.
30 31 32 33 34 35 36 37 38 39 93 FA 96 7B = 84
(18) Explanation for MaxiCode
c
Connection setting
For MaxiCode, data can be divided into a max. of 8 codes.
- 88 -
Notes
(1) The check digit attach and increment/decrement, and zero suppress processes are
performed according to the following priority. If any of the conditions is improper, no drawing
will take place.
For exam ple, the zero(s) is replaced by a space(s) as a result of zero suppression but
the modulus 10 designated to be attached cannot be calculated.
Increment/decrement > zero suppression > attachment of check digit
(2) Up to 32 fields for which increm enting/decrementing has been designated c an be drawn. If
the total of bit map font, outline font or bar code increment/decrement fields exceeds 32,
drawing will take place without incrementing/decrementing any excessive field. The field to
be incremented or decrem ented is increm ented or decr em ented until the Im age Buff er Clear
Command ([ESC] C) is transmitted.
[Example]
c
Format Command (Increment bar code No. 01 (+1))
d
Format Command (Increment bar code No. 02 (+2))
e
Image Buffer Clear Command
f
Data Command (Bar code No. 01 “0001”)
g
Data Command (Bar code No. 02 “0100”)
h
Issue Command (2 labels)
i
Issue Command (1 label)
(0001)
(0100)
(0002)
(0102)
(0003)
- 89 -
j
Image Buffer Clear Command
k
Data Command (Bar code No. 02 “3000”)
l
Issue Command (1 label)
(0104)
(3000)
(3) More than one Bar Code Format Command can be connected when transmitted.
[ESC] XB01; 0100, 0150, 3, 1, 02, 02, 06, 06, 02, 0, 0150 [LF]
(4) When the dr awing data is changed per label issue during printing, the field of the drawing
data for the previous label is automatically cleared using the bar code number, then the nex t
drawing data is printed. Therefore, the bar code number which differs according to the
drawing fields should be designated. Since the automatic field clear is not performed
between the Clear Command ([ESC] C) and iss ue Command ([ESC] XS), the fixed data may
be drawn using the same bar code num ber. In this case, the Format Comm and and Data
Command should be sent alternately. (After the Issue Com mand is sent, the f ields with the
same bar code number are automatically cleared until the Clear Command is sent.)
(5) The link field designation is c leared by omitting the link field designation us ing the sam e bar
code No. and reformatting data.
The link field designation can be also cleared by the Image Buffer Clear Command.
(6) A print data string and link field No. cannot be programmed at the same time.
(7) The same barcode number cannot be programmed more than once in one format (one
page).
Refer to Bit Map Font Format Command ([ESC] PC)
Outline Font Format Command ([ESC] PV)
Bar Code Data Command ([ESC] RB)
000 to 199 (Two digits, 00 to 99, also acceptable.)
bbb ------ bbb: Data string to be printed
Max. 255 digits
(Max. 127 digits when the font type is 51, 52, 53, 54, or 55.)
Any excess data will be discarded.
For the character codes, refer to the character code table to be given
later in this specification.
ccc ------ ccc: Data string of link field No. 1
ddd ------ ddd: Data string of link field No. 2
to
xxx ------ xxx: Data string of link field No. 99
Explanation (1) Link field data string
• After the link field No. is des ignated in the Format Com mand, data strings are
linked using the Link Field Data Command to draw an image.
• Up to 255 digits of data strings can be linked. However, when the font type is
51, 52, 53, 54, or 55, only up to 127 digits can be linked.
When the number of digits exceeds the maximum value, excess data will be
discarded.
• Up to 99 data strings can be linked.
• Up to 2048 bytes can be used as the com mand length ([ESC] to [NUL]) of the
Link Field Data Command.
• W hen the data string is omitted in the Link Field Data Com mand, the following
process is performed:
• The Link Field Data Command can be used for the bit map font fields, outline
c
No process will be performed for the field which c ontains no print data due
to the omission.
d
When the field partially loses print data due to the omission, the only
remaining data will be processed as print data.
font fields, and bar code fields.
(The same result is obtained when any of the “RC,” “RV” or “RB” command
code is designated.)