Toshiba B-SV4D-GS, GC10-QM User Manual

TOSHIBA TEC Bar Code Printer
B-SV4D-GS/GC10-QM
External Equipment Interface Specification
First Edition: Jun. 02, 2003
TABLE OF CONTENTS
Page
1. SCOPE........................................................................................................................................ 1
2. GENERAL DESCRIPTION......................................................................................................... 1
3. INTERFACE................................................................................................................................ 2
3.1 SERIAL INTERFACE............................................................................................................. 2
3.2 PARALLEL INTERFACE ....................................................................................................... 6
4. KEY OPERATION FUNCTIONS ................................................................................................ 8
4.1 SYSTEM MODE (POWER UP WITH KEY PRESSED) ........................................................ 8
4.2 ON-LINE MODE FUNCTIONS .............................................................................................. 9
5. TRANSMISSION SEQUENCE ................................................................................................... 10
5.1 INITIALIZATION .................................................................................................................... 10
5.2 LABEL ISSUE OPERATION.................................................................................................. 12
6. INTERFACE COMMANDS......................................................................................................... 14
6.1 OUTLINE OF COMMANDS................................................................................................... 14
6.2 LIST OF COMMANDS........................................................................................................... 16
6.3 COMMANDS FOR CREATING APPLICATION .................................................................... 17
6.3.1 LABEL SIZE SET COMMAND.......................................................................................... 17
6.3.2 POSITION FINE ADJUST COMMAND............................................................................ 22
6.3.3 PRINT DENSITY FINE ADJUST COMMAND.................................................................. 27
6.3.4 IMAGE BUFFER CLEAR COMMAND.............................................................................. 28
6.3.5 CLEAR AREA COMMAND............................................................................................... 29
6.3.6 LINE FORMAT COMMAND.............................................................................................. 31
6.3.7 BIT MAP FONT FORMAT COMMAND............................................................................ 35
6.3.8 OUTLINE FONT FORMAT COMMAND........................................................................... 49
6.3.9 BAR CODE FORMAT COMMAND................................................................................... 63
6.3.10 BIT MAP FONT DATA COMMAND.................................................................................. 94
6.3.11 OUTLINE FONT DATA COMMAND................................................................................. 97
6.3.12 BAR CODE DATA COMMAND ........................................................................................ 100
6.3.13 ISSUE COMMAND........................................................................................................... 113
6.3.14 FEED COMMAND............................................................................................................ 123
6.3.15 EJECT COMMAND .......................................................................................................... 128
6.3.16 FORWARD/REVERSE FEED COMMAND...................................................................... 129
6.3.17 STORAGE AREA ALLOCATE COMMAND ..................................................................... 131
6.3.18 MEMORY CARD FORMAT COMMAND.......................................................................... 133
6.3.19 2-BYTE WRITABLE CHARACTER CODE RANGE COMMAND..................................... 134
6.3.20 BIT MAP WRITABLE CHARACTER COMMAND ............................................................ 135
Page
6.3.21 GRAPHIC COMMAND ..................................................................................................... 146
6.3.22 SAVE START COMMAND ............................................................................................... 154
6.3.23 SAVE TERMINATE COMMAND ...................................................................................... 156
6.3.24 SAVED DATA CALL COMMAND..................................................................................... 157
6.3.25 RESET COMMAND.......................................................................................................... 158
6.3.26 STATUS REQUEST COMMAND..................................................................................... 159
6.3.27 RECEIVE BUFFER FREE SPACE STATUS REQUEST COMMAND............................. 160
6.3.28 VERSI0N INFORMATION ACQUIRE COMMAND........................................................... 162
6.3.29 MEMORY BOARD INFORMATION ACQUIRE COMMAND............................................ 163
6.3.30 PRINTER INFORMATION STORE COMMAND.............................................................. 165
6.3.31 PRINTER INFORMATION REQUEST COMMAND......................................................... 166
6.4 COMMANDS FOR SYSTEM ADMINISTRATOR .................................................................. 167
6.4.1 PARAMETER SET COMMAND ....................................................................................... 167
6.4.2 FINE ADJUSTMENT VALUE SET COMMAND ............................................................... 170
6.4.3 BATCH RESET COMMAND............................................................................................. 172
7. CONTROL CODE SELECTION................................................................................................. 173
8. ERROR PROCESSING.............................................................................................................. 174
8.1 COMMUNICATION ERRORS ............................................................................................... 174
8.2 ERRORS IN ISSUING OR FEEDING.................................................................................... 174
8.3 ERRORS IN WRITABLE CHARACTER AND PC COMMAND SAVE MODES .................... 176
9. STATUS RESPONSE................................................................................................................. 177
9.1 SERIAL INTERFACE............................................................................................................. 177
9.1.1 FUNCTIONS..................................................................................................................... 177
9.1.2 STATUS FORMAT ........................................................................................................... 177
9.1.3 DETAIL STATUS.............................................................................................................. 178
9.2 PARALLEL INTERFACE ....................................................................................................... 179
10. LED INDICATIONS..................................................................................................................... 181
ii
Page
11. CHARACTER CODE TABLE..................................................................................................... 183
11.1 TIMES ROMAN, HELVETICA, LETTER GOTHIC, PRESTIGE ELITE, COURIER............... 183
11.2 PRESENTATION................................................................................................................... 190
11.3 TEC OUTLINE FONT 1 ......................................................................................................... 194
11.4 TrueType FONT..................................................................................................................... 201
12. BAR CODE TABLE.................................................................................................................... 208
13. DRAWING OF BAR CODE DATA.............................................................................................. 221
14. AUTOMATIC ADDING OF START/STOP CODE...................................................................... 242
1. SCOPE
This specification applies to the external equipment interface for use with the Model B-SV4D general­purpose 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 ( RS­232C), 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
2 bits (7) Data Length : 7 bits
8 bits (8) Parity : None
Even
Odd (9) Error Detection : Parity Error Vertical parity error check
Framing Error This error occurs if no stop bit is found in the f ram e
specified starting with the start bit.
Overrun Error This error occurs if the next data is input bef ore the
data input to the UART from the host is r ead by the
printer CPU. (10) Protocol : No-procedure method (11) Data Input Code : ASCII code
European character set 8 bit code Graphics 8 bit code
(12) Receive Buffer : 515K bytes
- 2 -
(13) Transmission Control : XON/XOFF (DC1/DC3) Protocol READY/BUSY (DTR) Protocol XON/XOFF (DC1/DC3) Protocol + READY/BUSY (DTR)
Protocol
RTS Protocol
c
XON/XOFF (DC1/DC3) Protocol
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 The RTS signal is always “High”.
- 3 -
e
XON/XOFF (DC1/DC3) Protocol + 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). 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).
- 4 -
(14) RS-232 Interface pin configuration
Host Function 9 Pin 25 Pin 9 Pin Printer Function
1 +5V RxD 2 3 2 TxD TxD 3 2 3 RxD
DTR 4 20 4 DSR GND 5 7 5 GND DSR 6 6 6 RDY RTS 7 4 7 N/C CTS 8 5 8 RDY
9 +5V
(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)
9 DATA 8 27 TWISTED PAIR GND (PIN9) 10 ACK 28 TWISTED PAIR GND (PIN10) 11 BUSY 29 TWISTED PAIR GND (PIN11) 12 PE 30 TWISTED PAIR GND (PIN31) 13 SELECT 31 INIT (Not used) 14 AUTOFD (Not used) 32 FAULT 15 NC 33 0V 16 0V 34 NC 17 CHASSIS GND 35 NC 18 +5V 36 SELECTIN (Not used)
19
36
18 1
- 7 -
4. KEY OPERATION FUNCTIONS
4.1 SYSTEM MODE (POWER UP WITH KEY PRESSED)
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.
z z
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
(3) Commands related to clear
Image Buffer Clear Command [ESC] C......................................28
Clear Area Command [ESC] XR ...................................29
(4) Commands related to drawing format setting
Line Format Command [ESC] LC....................................31
Bit Map Font Format Command [ESC] PC ...................................35
Outline Font Format Command [ESC] PV....................................49
Bar Code Format Command [ESC] XB....................................63
(5) Commands related to print data
Bit Map Font Data Command [ESC] RC...................................94
Outline Font Data Command [ESC] RV ...................................97
Bar Code Data Command [ESC] RB .................................100
(6) Commands related to issue and feed
Issue Command [ESC] XS..................................113
Feed Command [ESC] T....................................123
Eject Command [ESC] IB ...................................128
Forward/Reverse Feed Command (Reserved for future) [ESC] U1, [ESC] U2.................129
(7) Commands related to writable characters
Storage Area Allocate Command [ESC] XF..................................131
Memory Card Format Command [ESC] J1...................................133
2-byte Writable Character Code Range Command [ESC] XE..................................134
Bit Map Writable Character Command [ESC] XD .................................135
(8) Commands related to graphics
Graphic Command [ESC] SG.................................146
(9) Commands related to PC command saving
Memory Card Format Command [ESC] J1...................................133
Save Start Command [ESC] XO.................................154
Save Terminate Command [ESC] XP..................................156
Saved Data Call Command [ESC] XQ.................................157
(10) Commands related to control
Reset Command [ESC] WR ................................158
Batch Reset Command [ESC] Z0..................................172
(11) Commands related to status
Status Request Command [ESC] WS ................................159
Receive Buffer Free Space Status Request Command [ESC] WB ................................160
Version Information Acquire Command [ESC] WV, [ESC] WI ...............162
(12) Commands related to printer information
Information Store Command [ESC] IG...................................165
Information Request Command [ESC] IR.................................. 166
(13) Commands related to parameter setting
Parameter Set Command [ESC] Z2;1...............................167
Fine Adjustment Value Set Command [ESC] Z2;2.............................. 170
- 16 -
6.3 COMMANDS FOR CREATING APPLICATION
6.3.1 LABEL SIZE SET COMMAND [ESC] D
Function Sets the size of a label or tag.
Format [ESC] Daaaa, bbbb, cccc (,dddd) [LF] [NUL]
Term aaaa: Pitch length of the label or tag
4 and 5 digits (in 0.1 mm units) 4 digits: Max. 6096(609.6 mm) 5 digits: Max. 06096 (609.6 mm)
bbbb: Effective print width
Fixed as 4 digits (in 0.1 mm units)
cccc: Effective print length
4 and 5 digits (in 0.1 mm units) 4 digits: Max. 6096 (609.6 mm) 5 digits: Max. 06096 (609.6 mm)
dddd: (Omissible) Function: Ignore
Explanation
[Labels]
Origin of coordinates
(0, 0)
Effective print length
0
Y
[Print direction: Printing bottom first]
Backing paper
Label
Label pitch
X
Effective
print width
Paper feed direction
Effective print length
X
Y
0
Effective
print width
Paper feed direction
Backing paper
Label
Label pitch
Origin of coordinates
(0, 0)
[Printing direction: Printing top first]
- 17 -
[Tags]
Origin of coordinates
(0, 0)
Black mark (Back side of print)
Tag
Black mark (Back side of print)
Tag
Effective print length
[Setting range]
Stop position
Cut position
X
0
Y
Effective
print width
Paper feed direction
[Print direction: Printing bottom first]
I
Origin c
H
Origin d
Tag pitch
Effective print length
X
Y
0
Effective
print width
Paper feed direction
Tag pitch
Origin of coordinates
(0, 0)
[Printing direction: Printing top first]
Black mark (Back side
Stop position
E
B
Cut position
A
I
Origin
c
H
Origin d
of print)
Tag
F
A
G D C
Paper feed direction
G C
[Labels] [Tags]
- 18 -
[mm]
Model B-SV4D
Item Method Batch Strip Cutter Thermal head dot density 8 dots/mm
Thermal head width 108 A: Label pitch Tag pitch Min. 10.0 25.4 15.0
Label
Max. 609.6
Min. 10.0 15.0 Tag
Max. 609.6
B: Label length
Min. 10.0 25.4 15.0
Max. 607.6 C: Backing paper width Min. 25.4 Tag width Max. 112 D: Label width Min. 22.4
Max. 109 E: Label-to-label gap Min. 2.0 6.0
Max. 10.0 F: Black m ark length Min. 2.0 6.0
Max. 10.0 G: Eff ective print width Min. 13
Max. 108 ± 0.2 H: Effective print length Min. 8.0 23.4 13.0
Label
Max. 607.6
Min. 8.0 13.0 Tag
Max. 607.6 607.6
I: Slow up interval 1.0
- 19 -
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.
- 20 -
Examples (1) Labels (2) Tags
50.8 mm
46.8 mm
Effective print area
Label
76.2 mm
72.2 mm
[ESC] D0508, 0760, 0468, 0820 [LF] [NUL] [ESC] D0762, 0996, 0722 [LF] [NUL] [ESC] T20C30 [LF] [NUL] [ESC] T10C30 [LF] [NUL]
76.0 mm Backing paper
82.0 mm
Black mark (Back side of print)
Effective print area
Tag
99.6 mm
- 21 -
6.3.2 POSITION FINE ADJUST COMMAND [ESC] AX
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