TOSHIBA TEC Bar Code Printer B-SV4D-GS/GC10-QM External Equipment Interface Specification First Edition: Jun.
TABLE OF CONTENTS Page 1. SCOPE........................................................................................................................................ 1 2. GENERAL DESCRIPTION ......................................................................................................... 1 3. INTERFACE................................................................................................................................ 2 SERIAL INTERFACE...........................................
Page 6.3.21 6.3.22 6.3.23 6.3.24 6.3.25 6.3.26 6.3.27 6.3.28 6.3.29 6.3.30 6.3.31 GRAPHIC COMMAND ..................................................................................................... SAVE START COMMAND ............................................................................................... SAVE TERMINATE COMMAND ...................................................................................... SAVED DATA CALL COMMAND ..............................................................
Page 11. CHARACTER CODE TABLE ..................................................................................................... 183 11.1 11.2 11.3 11.4 TIMES ROMAN, HELVETICA, LETTER GOTHIC, PRESTIGE ELITE, COURIER............... PRESENTATION ................................................................................................................... TEC OUTLINE FONT 1 ......................................................................................................... TrueType FONT..........
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 interface connects a printer to the host computer through a serial interface (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.
3. INTERFACE 3.
(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.
e XON/XOFF (DC1/DC3) Protocol + READY/BUSY (DTR) Protocol z When 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 When the blank positions in the receive buffer are 1K bytes or less, the printer turns the DTR signal to “Low” level (BUSY) and sends an XOFF code (13H).
(14) RS-232 Interface pin configuration Host Function 9 Pin 25 Pin RxD TxD DTR GND DSR RTS CTS 2 3 4 5 6 7 8 9 Pin 1 2 3 4 5 6 7 8 9 3 2 20 7 6 4 5 Printer Function +5V TxD RxD DSR GND RDY N/C RDY +5V (15) Connector Pin Assignment and Signal Description Pin No.
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 DDK Cable Amp.
(8) Connector Pin Diagram: Pin No. Signal Name Pin No.
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.
[Self-test printing] a. Printing program version & check sum b.
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 Power ON No (Add/change) Yes Memory board Format Command Bit Map Writable Character Command [ESC] J1: Formats the flash memory on the memory board. [ESC] XD: Stores writable characters or a logo on the flash memory board.
(2) Storing PC interface commands Power ON No Yes (Add/change) [ESC] J1: Formats the flash memory board. Memory board Format Command [ESC] XO: Declares the start of saving PC interface commands. Save Start Command [ESC] D: Label Size Set Command Sets the label size. Position Fine Adjust Command [ESC] AX: Adjusts the feed length, cut position, and back feed length. Print Density Fine Adjust Command [ESC] AY: Adjusts the print density.
5.2 LABEL ISSUE OPERATION An example of the label issue operation is described below. (1) Where the Saved Data Call Command is not used: Power ON Place paper Label Size Set Command [ESC] D: Sets the label size. Position Fine Adjust Command [ESC] AX: Adjusts the feed length, cut position, and back feed length. Print Density Fine Adjust Command [ESC] AY: Adjusts the print density.
(2) Where the Saved Data Call Command is used: Power ON Place paper [ESC] XQ: Calls the label format stored in the flash memory board. Saved Data Call Command Feed Command [ESC] T: Feeds one sheet of paper and aligns it with the first printing position. Bit Map Font Data Command [ESC] RC: Draws bit map font data. Outline Font Data Command [ESC] RV: Draws outline font data. Bar Code Data Command Issue Command Yes [ESC] RB: Draws bar code data. [ESC] XS: Issues (prints) the label.
6. INTERFACE COMMANDS 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 Format Describes the outline of the function of the command. Shows the format of the command.
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 number of digits of the parameter is specified, when the number 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 parameter, “0001” is acceptable, however, “000A” results in an error.
6.2 LIST OF COMMANDS (1) Commands related to setting Label Size Set Command (2) [ESC] D...................................... 17 Commands related to fine adjustment Position Fine Adjust Command Print Density Fine Adjust Command (3) [ESC] AX.................................... 22 [ESC] AY.................................... 27 Commands related to clear Image Buffer Clear Command Clear Area Command (4) [ESC] C...................................... 28 [ESC] XR ...................................
6.3 COMMANDS FOR CREATING APPLICATION 6.3.1 LABEL SIZE SET COMMAND Function Format [ESC] D Sets the size of a label or tag. [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.
[Tags] Black mark (Back side of print) Black mark (Back side of print) Origin of coordinates (0, 0) Tag Tag Tag pitch Effective print length Tag pitch Effective print length X 0 Effective print width Y Y Origin of coordinates (0, 0) Effective print width Paper feed direction Paper feed direction 0 X [Print direction: Printing bottom first] [Printing direction: Printing top first] [Setting range] Stop position I I Stop position Cut position E Origin c H Origin Cut position B F
[mm] Model Item Method B-SV4D Batch Strip Thermal head dot density Thermal head width A: Label pitch Tag pitch Cutter 8 dots/mm 108 Min. 10.0 25.4 15.0 Label Max. Min. 609.6 10.0 – 15.0 Tag Max. 609.6 B: Label length Min. 10.0 25.4 Max. 607.6 C: Backing paper width Min. 25.4 Tag width D: Label width E: Label-to-label gap Max. 112 Min. 22.4 Max. 109 Min. 2.0 Max. F: Black mark length H: Effective print length 6.0 10.0 Min. 2.0 Max. G: Effective print width 6.0 10.
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 Command is protected in memory (even if the power is turned off). (3) After sending the Label Size Set Command, one sheet of paper must be fed by the Feed Command ([ESC] T) and must be aligned with the first print position prior to printing.
Examples (1) Labels (2) Tags Effective print area Black mark (Back side of print) Label 50.8 mm 76.2 mm 46.8 mm 72.2 mm Effective print area Tag 76.0 mm Backing paper 82.0 mm 99.
6.3.2 POSITION FINE ADJUST COMMAND Function [ESC] AX c Adjusts the feed value so that the label will be shifted forward or backward from the automatically set first print start position. d Adjusts the cut 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 so that the label will be shifted forward or backward from the automatically set strip position.
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 One label Paper feed direction First print position [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.
[Strip Position Fine Adjustment] 0.0 mm +3.0 mm -3.0 mm 3 mm 2 mm 2 mm Printing in strip issue mode is stopped at the position where the distance from the middle point of the label-to-label gap to the end of the strip shaft is 3 mm, since the label-to-label gap is assumed to be 2 mm. When the print stop position is not proper, the print stop position should be adjusted using the strip position fine adjust function.
Notes (1) If the feed value fine adjustment, cut position (or strip position) fine adjustment or back feed value fine adjustment has been set in system mode (key operation on the printer), the fine adjustment value will be the fine adjustment in system mode. 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.
Examples (1) Cut issue 3.5 mm Cut Preprinted 2.0 mm 2.0 mm z Finely adjust the print position by +2.0 mm. 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) z Finely 3.0 mm Cut Paper feed direction (2) [ESC] AX; +020, +035, +10 [LF] [NUL] [ESC] T21C30 [LF] [NUL] Strip issue 3.0 mm 1.0 mm z Finely adjust the strip ABC position by +2.0 mm. z Finely adjust the print position by +1.0 mm. 1.
6.3.3 PRINT DENSITY FINE ADJUST COMMAND Function Format Term Explanation [ESC] AY Adjusts the automatically set print density. [ESC] AY; abb, c [LF] [NUL] 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.
6.3.4 IMAGE BUFFER CLEAR COMMAND Function Format Explanation Examples [ESC] C Clears the image buffer for drawing characters, lines, bar codes, and graphics. [ESC] C [LF] [NUL] (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) The link field designation (described later) is effective until the Image Buffer Clear Command is sent.
6.3.5 CLEAR AREA COMMAND Function [ESC] XR 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.
[Effective print area] [mm] Model Item B-SV4D Method Effective print width Effective print length Batch Strip Min. 13.0 Max. 108 ± 0.2 Min. 8.0 Cutter 23.4 13.0 Label Max. 607.6 Min. 8.0 Tag Max. 607.6 – 13.0 – 607.6 Examples Origin (0, 0) Start point of designated area Effective print area 10.0 mm Designated area 58.5 mm End point of designated area 34.5 mm 76.
6.3.6 LINE FORMAT COMMAND Function [ESC] LC Sets the line format and draws the line. 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.
[Line] (1) Horizontal line (In the case of |Y2 - Y1| = 0) (X1,Y1) (X2,Y2) Line width (2) Vertical line (In the case of |X2 - X1| = 0) (X1,Y1) (X2,Y2) Line width (3) Slant line A ( |X2 - X1| ≤ |Y2 - Y1| ) (X1,Y1) (X1,Y1) (4) Slant line B ( |X2 - X1| > |Y2 - Y1| ) (X1,Y1) (X2,Y2) Line width (X2,Y2) (X2,Y2) Line width (X2,Y2) (X1,Y1) Line width - 32 - Line width
[Rectangle] (1) Radius of rounded corners = 000 or parameter omitted (X1,Y1) (X2,Y2) (X2,Y2) Line width Line width Line width (X1,Y1) Line width (2) Radius of rounded corners ≠ 000 (X1,Y1) Line width Radius (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.
(4) Programming the radius of the rounded corner is effective 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: | X2 - X 1 | 2 = | Y2 - Y1 | 2 ≤ [Radius of rounded corners] [Effective print area] [mm] Model Item B-SV4D Method Effective print width Effective print length Batch Strip Min. 13.
6.3.7 BIT MAP FONT FORMAT COMMAND Function Format Sets the format indicating on the label at which the bit map font is to be printed and how it is to be printed.
01 (a): Writable character 1 (1×1 dot to 720×720 dots) to 40 (a): 51 (a): Writable character 40 (1×1 dot to 720×720 dots) 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.
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.
Explanation (1) Character string number When drawing by the Data Command ([ESC] RC), the format designated by the character string number is selected.
[Effective print area] [mm] Model Item Method Effective print width Effective print length B-SV4D Batch Strip Min. 13.0 Max. 108 ± 0.2 Min. 8.0 Cutter 23.4 13.0 Label Max. Min. 607.6 8.0 Tag Max. (3) 607.6 – 13.0 – 607.
[Relationship between drawing coordinates and magnification] Char. height × Vertical magnification Char. height Enlarge Point of origin Left offset Char. width Horizontal spacing/ proportional spacing Point of origin of next char. Point of origin Char. Width × Horizontal magnification (Horizontal spacing/proportional spacing) × Horizontal magnification (4) Type of font Times Roman Helvetica Presentation Letter Gothic Prestige Elite Courier - 40 - Point of origin of next char.
(5) Fine adjustment of character-to-character space 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. No.
(8) Bold character designation 0° Horizontally bold (9) 90° Vertically bold Horizontally bold Vertically/ horizontally bold Vertically bold Vertically/ horizontally bold 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.
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.
(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 number of digits exceeds 255, the excessive data will be discarded. For the character code table, refer to the character code table mentioned later. (14) Link field No. The link field No. can be programmed by designating it after the symbol “;”. After the link field No.
Notes (1) The check digit attach, 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 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/decrementing has been designated can be drawn.
(3) The Bit Map Font Format Command may be connected to the Outline Font Format Command when transmitted.
Examples Origin (0, 0) (1) 12.5 mm Effective print area 30.0 mm 55.0 mm Sample ABCD 20.0 mm 65.
(2) Origin (0, 0) Effective print area 30.0 mm 55.0 mm S001 20.0 mm 65.
6.3.8 OUTLINE FONT FORMAT COMMAND Function ~ [ESC] PV Sets the format to indicate the position on the label, at which the outline font is to be printed and how it is to be printed.
j: Character attribution B: Black character W (aabb): Reverse character 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.
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: ppp------ppp: X direction of character string area 0050 to 1040 (in 0.1 mm units) Data string to be printed (Omissible) Max. 255 digits qq1, qq2, qq3, ------, qq20: Link field No. (Omissible) 01 to 99 (1 to 99 can be also used.) Up to 20 fields can be designated using commas.
~ TrueType font Format Term [ESC] PVaa; bbbb, cccc, dddd, eeee, ff, g (, hiii), jj, k (,Lmm)(=ppp ------ ppp) [LF] [NUL] 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-coordinate of the character string 4 or 5 digits (in 0.1 mm units) dddd: Character width 0020 to 0850 (in 0.1 mm units) eeee: Height of the character 0020 to 0850 (in 0.
g: Drive Indicates where the TrueType font files are stored. 0: Flash ROM on the CPU board 1: Flash ROM on the memory board (Option) 2: Flash ROM on the memory board (Option) hiiii: Fine adjustment of character-to-character space (Omissible. If omitted, space is adjusted according to the designated font.) h: Designates whether to increase or decrease the character-to-character space. +: Increase -: Decrease iii: No.
Explanation (1) Character string number When drawing by the Data Command ([ESC] RV), the format designated by the character string number is selected.
[Effective print area] [mm] Model Item B-SV4D Method Effective print width Effective print length Batch Strip Min. 13.0 Max. 108 ± 0.2 Min. 8.0 23.4 Cutter 13.0 Label Max. 607.6 Min. 8.0 Tag Max. (4) 607.6 – 13.0 – 607.6 Character width and character height Char. height Char. height Char. width Char. height Standard size (256 × 256 dots) Char. width - 55 - Char.
(5) Fine adjustment of character-to-character space 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.
(8) Increment/decrement Printing is performed while the data is incremented or decremented each time a label is issued. Where the data row exceeds the maximum number of digits (40), the data row will not be drawn.
(10) Link field No. The link field No. can be programmed by designating it after the symbol “;.” After the link field No. is designated using the Format Command, the data strings are 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; ................... [ESC] PV02; ................... [ESC] PV03; ................... [ESC] XB01; ........................
[Examples] 1) 2) 3) 4) 5) 6) 7) 8) Format Command (Increment character string No. 01 (+1)) Format Command (No incrementing for character string No. 02) Format Command (Increment character string No. 03 (+2)) Image Buffer Clear Command Data Command (Character string No. 01 “0001”) Data Command (Character string No. 02 “AB-”) Data Command (Character string No.
Refer to (4) When the drawing data is changed per label issue during 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 differs according to the drawing fields should be designated.
Examples Origin (0, 0) (1) 12.5 mm Effective print area 30.0 mm 55.0 mm Sample ABCD 20.0 mm 65.
(2) Origin (0, 0) Effective print area 30.0 mm 55.0 mm S001 20.0 mm 65.
6.3.9 BAR CODE FORMAT COMMAND Function [ESC] XB Sets the format to indicate the position on the label, at which the bar code is to be printed and how it is to be printed. ~ In the case of WPC, CODE93, CODE128, UCC/EAN128, Customer bar code, POSTNET, RM4SCC, KIX CODE (WPC is the generic name for bar codes of JAN, EAN and UPC.
e: Type of check digit 1: Without attaching check digit 2: Check digit check WPC Modulus 10 CODE93 Modulus 47 CODE128 PSEUDO 103 3: Check digit auto attachment (1) 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,
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. tt1, tt2, tt3, ------. tt20: Link field No. (Omissible) 01 to 99 (1 to 99 can be also used.) Up to 20 fields can be designated using commas. * Omissible parameters (such as “Increment/decrement”, “Selection of print or non-print of numerals under bars” and “No.
~ 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) (; tt1, tt2, tt3, ------, tt20) [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.
ii: Wide space width 01 to 99 (in dots) * In the case of industrial 2 of 5, the value is fixed to 00. jj: Character-to-character space width 01 to 99 (in dots) * In the case of MSI and ITF, character-to-character space width is set to 00. k: Rotational angle of bar code 0: 0° 1: 90° 2: 180° 3: 270° llll: Height of the bar code 0000 to 1000 (in 0.1 mm units) mnnnnnnnnnn: Increment/decrement (Omissible. If omitted, incrementing/decrementing is not performed.
~ In the case of Data Matrix (Two-dimensional code) Format c d Term [ESC] XBaa; bbbb, cccc, d, ee, ff, gg, h (, Ciiijjj) (, Jkkllmmmnnn) (= ooo ------ooo) [LF] [NUL] [ESC] XBaa; bbbb, cccc, d, ee, ff, gg, h (, Ciiijjj) (, Jkkllmmmnnn) (= pp1, pp2, pp3, ------, pp20) [LF] [NUL] 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.
Jkkllmmmnnn: ooo ------ ooo: 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: 001 to 254 ID number 2 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.
~ 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 , kk , kk , ------, 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 4 or 5 digits (in 0.
~ In the case of MicroPDF417 (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 , kk , kk , ------, 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 4 or 5 digits (in 0.
The maximum number of columns and rows for the MicroPDF417 Parameter (gg) 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 No. of columns No. of rows – 1 2 3 4 1 2 3 4 Max. number of digits for binary mode Max. number of digits for Max.
~ In the case of QR code (Two-dimensional code) Format Term c d [ESC] XBaa; bbbb, cccc, d, e, ff, g, h (, Mi) (, Kj) (, Jkkllmm) (= nnn --- nnn) [LF] [NUL] [ESC] XBaa; bbbb, cccc, d, e, ff, g, h (, Mi) (, Kj) (, Jkkllmm) (= oo1, oo2, oo3 ------ oo20) [LF] [NUL] 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.
~ In the case of MaxiCode (Two-dimensional code) Format c 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.
Explanation (1) Bar code number When drawing by the Data Command ([ESC] RB), the format designated by the bar code is selected.
(3) Type of bar code 0: JAN8, EAN8 1: MSI 2: Interleaved 2 of 5 3: CODE39 (standard) 4: NW7 5: JAN13, EAN13 6: UPC-E 7: EAN13 + 2 digits 8: EAN13 +5 digits 9: A: CODE128 B: CODE39 (Full ASCII) C: CODE93 G: UPC-E + 2 digits H: UPC-E + 5 digits I: EAN8 + 2 digits J: EAN8 + 5 digits K: UPC-A L: UPC-A + 2 digits - 76 -
M: UPC-A + 5 digits N: UCC/EAN128 O: Industrial 2 of 5 P: PDF417 Q: Data Matrix R: Customer bar code S: Highest priority customer bar code T: QR code U: POSTNET V: RM4SCC W: KIX code X: MicroPDF417 Z: MaxiCode - 77 -
(4) Type of check digit c d e f g h (5) Where no check digit is attached, the bar code of the data row will be drawn. 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. 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.
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.
(7) Bar code height Height Height [PDF417, MicroPDF417] Height Height [Postal code] Height When 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 previous 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.
(9) Numerals under bars Numerals are not or provided under bars according the parameter for the presence or absence of numerals under bars. The contents of numerals under bars to be printed vary according to the type of bar code. The character set 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.
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 program will not check if the transmit print data is with a start code and stop code. y When the parameter is omitted in the case of CODE39 and NW7, a start/stop code will be attached. The code to be added is “*” in the case of CODE39, and “a” in the case of NW7.
Letters and numerals for increment/decrement For CODE39 (standard), CODE39 (full ASCII), NW-7, CODE93, CODE128, if a data string other than numerals is included in the data, increment/decrement designation is performed. If any code which does not exist in each bar code table is contained in the data, increment/decrement designation is not performed. Up to 40 digits (including letters, numerals and symbols) are possible.
(13) Data string to be printed Drawing data can be programmed by designating the number of digits after the symbol “=.” The maximum 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. The link field No. can be programmed by designating it after the symbol “;.” After the link field No. is designated using the Format Command, the data string are linked by the Link Field Data Command to draw an image.
(15) Explanation for Data Matrix c ECC type Data Matrix contains a function to correct a code reading error using an error correction code (ECC) and restore normal data. Since there are several ECCs. ECC should be designated according to usage. The general correction ability is as follows. However, it may vary according to the error conditions. d e ECC type Overhead by ECC ECC200 Approx.
Cell size and the effective data capacity ECC200 Symbol size Row Col 10 12 14 16 18 20 22 24 26 32 36 40 44 48 52 64 72 80 88 96 104 120 132 144 10 12 14 16 18 20 22 24 26 32 36 40 44 48 52 64 72 80 88 96 104 120 132 144 Numeric capacity Alphanum capacity 6 10 16 24 36 44 60 72 88 124 172 228 288 348 408 560 736 912 1152 1392 1632 2000 2000 2000 8-bit byte Capacit y 3 1 6 3 10 6 16 10 25 16 31 20 43 28 52 34 64 42 91 60 127 84 169 112 214 142 259 172 304 202 418 278 550 366 682 454 862 574 1042 694
(16) Explanation for the PDF417 and MicroPDF417 c Security level The PDF417 contains a function to correct a code reading error using an error correcting code word and restore normal data. The security level should be designated according to usage to perform the error correction function. For the MicroPDF417, the printer sets the security level automatically. Security level Error Correction Ability Level 0 Level 1 Level 2 Level 3 Level 4 Level 5 Level 6 Level 7 Level 8 d Low High No.
d 1-cell width 1-cell width 1-cell width When the 1-cell width is 0, a two-dimensional code is not drawn. However, the twodimensional code printed on the previous label is cleared. e Selection of mode All codes including alphanumerics, symbols, and Kanji can be used in one QR code. Manual mode or automatic mode can be selected to perform the operation.
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 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/decrementing has been designated can be drawn.
(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] B02; 0350, 0150, 3, 1, 02, 02, 06, 06, 02, 0, 0150 [LF] [NUL] (4) When the drawing 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 next drawing data is printed.
Examples Origin (0, 0) (1) 12.5 mm Effective print area 15.0 mm 55.0 mm 20.0 mm 83.0 mm 15.
(2) Origin (0, 0) Effective print area 30.0 mm 55.0 mm S001 20.0 mm 65.
(3) Origin (0, 0) 12.5 mm Effective print area 55.5 mm 20.0 mm 83.
6.3.10 BIT MAP FONT DATA COMMAND Function Format [ESC] RC Provides data for the bit map font row. c [ESC] RCaaa; bbb ------ bbb [LF] [NUL] d Link Field Data Command [ESC] RC; ccc ------ ccc [LF] ddd ------ ddd [LF] ------ [LF] xxx ------ xxx [LF] [NUL] Term aaa: Character string number 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.
Examples Origin (0, 0) (1) Effective print area 12.5 mm Sample 55.0 mm 20.0 mm 65.
(2) Origin (0, 0) Effective print area 30.0 mm 55.0 mm S001 20.0 mm 65.
6.3.11 OUTLINE FONT DATA COMMAND Function Format [ESC] RV Provides data for the outline font row. c [ESC] RVaa; bbb ------ bbb [LF] [NUL] d Link Field Data Command [ESC] RV; ccc ------ ccc [LF] ddd ------ ddd [LF] ------ [LF] xxx ------ xxx [LF] [NUL] Term aa: Character string number 00 to 99 bbb ------ bbb: Data string to be printed Max. 255 digits Any excess data will be discarded. For the character codes, refer to the character code table to be given later in this specification.
Examples Origin (0, 0) (1) Effective print area 12.5 mm Sample 55.0 mm 20.0 mm 65.
(2) Origin (0, 0) Effective print area 30.0 mm 55.0 mm S001 20.0 mm 65.
6.3.12 BAR CODE DATA COMMAND Function Format [ESC] RB Provides data for the bar code. c [ESC] RBaa; bbb ------ bbb [LF] [NUL] d Link Field Data Command [ESC] RB; ccc ------ ccc [LF] ddd ------ ddd [LF] ------ [LF] xxx ------ xxx [LF] [NUL] Term aa: Bar code number 00 to 31 bbb ------ bbb: Data string to be printed The maximum number of digits varies according to the type of bar code. ccc ------ ccc: Data string of link field No. 1 ddd ------ ddd: Data string of link field No.
The maximum number of digits for Data Matrix varies according to the settings for ECC type, format ID, and the cell size. In the case of Kanji, the maximum number of digits is half those of the values described below since a Kanji character occupies 2 bytes.
Cell Size and Effective Data Capacity ECC200 Symbol size Row Col 10 12 14 16 18 20 22 24 26 32 36 40 44 48 52 64 72 80 88 96 104 120 132 144 10 12 14 16 18 20 22 24 26 32 36 40 44 48 52 64 72 80 88 96 104 120 132 144 Numeric capacity Alphanum capacity 6 10 16 24 36 44 60 72 88 124 172 228 288 348 408 560 736 912 1152 1392 1632 2000 2000 2000 8-bit byte capacity 3 1 6 3 10 6 16 10 25 16 31 20 43 28 52 34 64 42 91 60 127 84 169 112 214 142 259 172 304 202 418 278 550 366 682 454 862 574 1042 694 122
When PDF417 or MicroPDF417 is used, the number of symbol characters called code words is limited to 928 or less. Moreover, the data compression rate varies according to the contents of data. Therefore, the maximum number of digits according to modes is as follows. When letters and numerics are mixed in data in EXC mode, for example, the maximum values become smaller than the following values, since the internal mode switching code is used.
The maximum number of columns and rows for the MicroPDF417 Parameter No. of columns (gg) 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 – 1 2 3 4 1 2 3 4 No. of rows Max.
(3) CODE128 code selection If the case of CODE128 (with auto code selection), code selection is performed in the following manner. (Conforming to USS-128 APPENDIX-G) c Determining the start character (a) If the data begins with four or more consecutive numerals, the start code to be used is (CODE C). c (b) In any case other than (a) in , if a control character appears before a small letter (see .) or four or more consecutive numerals, the start code is (CODE A).
(4) CODE128 code selection check Check if selection of (CODE A), (CODE B), or (CODE C) of CODE128 has been set correctly. If an error is found, the bar code will not be drawn. [Conditions causing an error] c d e f g h i (5) No start code is designated. A small letter (including { , | , } , ~, _ ) is found in (CODE A). A control character is found in (CODE B). Any data other than the numerals, (FNC1), (CODE A), and (CODE B) is found in (CODE C). There are two or more consecutive (SHIFT) characters.
(7) When manual mode is selected in the Format Command for a QR code c Numeric mode, alphanumeric and symbol mode, Kanji mode Mode selection d Binary mode Mode selection e Data to be printed No. of data strings (4 digits) Data to be printed Mixed mode Data “,” (comma) Data “,” (comma) Data The QR code can handle all codes including alphanumerics, symbols and Kanji. Since data compression rate varies according to codes, the code to be used is designated when the mode is selected.
(10) Transfer code for QR code 0 0 1 2 3 4 5 6 7 8 9 A B C D E F 1 NUL SOH STX ETX EOT ENQ ACK BEL BS HT LF VT FF CR SO SI 2 DLE SP DC1 ! DC2 ” DC3 # DC4 $ NAK % SYN & ETB ’ CAN ( EM ) SUB * ESC + FS , GS RS • US / 3 4 5 6 7 0 1 2 3 4 5 6 7 8 9 : ; < = > ? @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m n o p q r s t u v w x y z { | } ~ DEL 8 9 A B C D E F * The shaded parts are Japanese. They are omitted here.
(12) MaxiCode data For mode 0 or 1: [ESC] RBaa; bbbbbbbbbcccdddeeeee --- eeeee [LF] [NUL] For mode 2 or 3: [ESC] RBaa; bbbbbbbbbcccdddeeeee --- eeeee [LF] [NUL] For mode 4 or 6: [ESC] RBaa; fffffffffggggg --- ggggg [LF] [NUL] c bbbbbbbbb: • Mode 0 or 2: b1b2b3b4b5: b6b7b8b9: Postal code Zip code Fixed as 5 digits (Numerics) Zip code extension Fixed as 4 digits (Numerics) • Mode 1 or 3: b1b2b3b4b5b6: Zip code d e f g h NOTES: b7b8b9: Fixed as 9 digits Vacant Fixed as 6 digits (Character “A” of code
Examples Origin (0, 0) (1) Effective print area 12.5 mm 15.0 mm 55.0 mm 20.0 mm 63.0 mm 15.
(2) Origin (0, 0) Effective print area 30.0 mm 55.0 mm S001 20.0 mm 65.
(3) Origin (0, 0) 12.5 mm Effective print area 55.5 mm 20.0 mm 83.
6.3.13 ISSUE COMMAND Function Format Term [ESC] XS Issues labels according to the print conditions programmed. [ESC] XS; I, aaaa, bbbcdefgh [LF] [NUL] aaaa: Number of labels to be issued 0001 to 9999 bbb: Cut interval. Designates the number of pieces to be printed before the backing paper is cut.
Explanation (1) Number of labels to be issued c d (2) If increment/decrement is not specified, the designated number of pieces with the same drawing data will be issued. If increment /decrement is specified, the designated number of pieces will be issued while incrementing/decrementing the piece of the designated drawing area. * The increment/decrement designation is valid until the Image Buffer Clear Command ([ESC] C) is transmitted.
(4) Issue mode [C: Batch mode (cut interval 0)] Head position (1) Idling (during automatic forward feed standby) A A (2) Prints 1st label (A) A B (3) Prints 2nd label (B) B C (4) Prints 3rd label (C) [C: Batch mode (Cut interval: 1, Issue count: 2)] “Without automatic forward feed standby” selected in the system mode Cut position Head position (1) Idling (2) End of printing 1st label (A) A A (3) Feeds to the cut position (4) The 1st label (A) reaches the cut position and is cut.
[C: Batch mode (Cut interval: 1, Issue count: 2)] “With automatic forward feed standby” selected in the system mode Cut position Head position (1) Idling (2) End of printing 1st label (A) A A (3) Feeds to the cut position (4) The 1st label (A) reaches the cut position and is cut. A B B (5) Feeds back to the head position and start to nd print the 2 label (B) . (6) End of printing 2nd label (B) (7) Feeds to the cut position B (8) The 2nd label (B) reaches the cut position and is cut.
[D: Strip mode (Issue count: 3)] Strip position Head position (1) Idling (2) Feeds back to the home position (3) End of printing 1st label (A) A (4) Removes 1st label (A) (5) Feeds back to the home position (6) End of printing 2nd label (B) B (7) Removes 2nd label (B) (8) Feeds back to the home position (9) End of printing 3rd label (C) C * The next label is not printed until the printed label is removed.
(5) Issue speed • Printing takes place at the designated speed. • The possible issue speed varies according to types and sizes of the paper supply. For details, refer to the Supply Specification.
(6) Tag rotation The origin of coordinates and printing direction vary according to the designation of tag rotation.
e Mirror printing bottom first Black mark (Back side of print) Backing paper Label Origin of coordinates (0, 0) Label pitch Tag Tag pitch Effective print length Effective print width X Effective print length Effective print width X 0 0 Paper feed direction Paper feed direction Y Y [Labels] f [Tags] Mirror printing top first Black mark (Back side of print) Backing paper Tag Label Label pitch Origin of coordinates (0, 0) Effective print length Tag pitch Origin of coordinates (0, 0
(7) Status response When the option with status response has been selected, a status response is made at the end of printing or if an error occurs. In batch mode and cut mode, the print end status response is made after printing on the designated number of labels. In strip mode, the status response is made after printing one label. * Do not change the parameter for status response/no status response during printing. Otherwise the status response may not be performed properly.
Notes (1) Explanation of processes involved to stop the label at the home position after the head-open state is detected: When the gap between labels (black mark) is found after the head open state is detected, the value to stop at the home position of each label between the head and the sensor is set again. Stop position Sensor A B C 77 mm 92 mm • The paper is moved in the above state.
6.3.14 FEED COMMAND Function Format Term Feeds the paper. [ESC] Tabcde [LF] [NUL] a: Type of sensor 0: No sensor 1: Reflective sensor 2: Transmissive sensor (when using normal labels) 3: Transmissive sensor (when using normal labels) 4: Reflective sensor b: Selects cut or non-cut 0: Non-cut 1: Cut c: Feed mode C: Batch mode D: Strip mode E: Strip mode d: e: Explanation [ESC] T (Cut and feed when “Cut” is selected for parameter b.
f g Transmissive sensor (when using preprinted labels): Feeding takes place according to the parameter designated by the Label Size Set Command. However, the label-to-label gap is automatically sensed by the transmissive sensor and the stop position is finely adjusted according to the value set by the threshold set operation (key operation). Reflective sensor (when using a manual threshold value) Feeding takes place according to the parameters designated by the Label Size Set Command.
[C: Batch (Cut)] “With automatic forward feed standby” selected in the system mode. Cut position Head position (1) Place paper. (2) End of feed (Completes feeding to the top of form) (3) Feeds to the cut position. (4) Cuts unnecessary paper. (5) Feeds back to the home position. (6) 10-mm automatic forward feed after 3 seconds (Reserved for future) [D: Strip] Strip position Head position (1) Place paper. (2) Feeds back to the home position.
(4) Feed speed • A feed is performed at the designated speed. However, the back feed speed in the cut mode or the strip mode is 3”/sec. • The possible issue speed varies according to types and sizes of the paper supply. For details, refer to the Supply Specification.
Examples 41.0 mm 76.2 mm Sample 73.2 mm 15.0 mm 82.
6.3.15 EJECT COMMAND Function [ESC] IB Ejects (cuts) the label presently remaining between the head and the cutter and returns to the original position. Format [ESC] IB [LF] [NUL] Notes If no subsequent command is received from the PC for 3 seconds after ejection, the printer automatically performs a 10-mm forward feed when “with automatic forward feed standby” is selected in the system mode.
6.3.16 FORWARD/REVERSE FEED COMMAND Function Format [ESC] U1, [ESC] U2 After printing or feeding the paper, feeds the paper to a manually cut position. When issuing the next label, feeds the paper back to the first printing position. Forward Feed [ESC] U1; aaaa [LF] [NUL] Reverse Feed [ESC] U2; aaaa [LF] [NUL] Term aaaa: Feed value by which the paper is fed forward or backward. 0030 to 2000 (in 0.
Examples Cut position Head position (1) Idling (2) Feeds one label (3) Feeds to the position at which a label can be cut manually. (4) Cut manually. (5) Standby (6) Feeds back to the home position A A A A A A A (7) Prints three A labels A (8) Feeds to the position at which labels can be cut manually. A (9) Cut manually. (10) Standby (11) Feeds back to home position B (12) Prints one B label B (13) Feeds to the position at which a label can be cut manually. B (14) Cut manually.
6.3.17 STORAGE AREA ALLOCATE COMMAND Function Format Term [ESC] XF Allocates the storage area in flash ROM on the CPU board. [ESC] XF; aa, bb [, cc] [, Ed] [LF] [NUL] aa: Size of the TrueType font storage area 00 to 03 (0 KB to 192 KB) (in units of 64 KB) bb: Size for bit map writable character storage area 00 to 03 (0 KB to 192 KB) (in units of 64 KB) cc: Size for BASIC file storage area 00 to 03 (0 KB to 192 KB) (in units of 64 KB) Ed: Indicates where the upper files are stored.
(7) When “00” (0 KB) is specified for the TrueType font storage area, the bit map writable character storage area, or the BASIC file storage area, the storage area is not allocated. (8) When “192” (192 KB) is specified for any of the TrueType font storage area, the bit map writable character storage area, and the BASIC file storage area, all storage areas are used. Therefore, other storage areas cannot be allocated.
6.3.18 MEMORY BOARD FORMAT COMMAND Function Format Term [ESC] J1 Formats (initializes) the flash memory board for storage. [ESC] J1; a (, b) [LF] [NUL] a: Formatting (initializing) range for flash memory A: All area B: PC save area C: Bitmap writable character storage area D: True Type area E: Basic file area (Reserved for future) b: Drive (Omissible, If omitted, flash ROM on the CPU board is selected.
6.3.19 2-BYTE WRITABLE CHARACTER CODE RANGE COMMAND [ESC] XE Function Sets the code range when a 2-byte writable character code is stored in flash ROM on the CPU board or the flash memory board. Format [ESC] XE;(Sj, cc,)a1a1a1a1, b1b1b1b1, a2a2a2a2, b2b2b2b2 ---, anananan, bnbnbnbn [LF] [NUL] Term Sj, cc,: Drive and Writable character set (Omissible, If omitted, flash ROM on the CPU board and writable character set “51” are selected.
6.3.20 BIT MAP WRITABLE CHARACTER COMMAND Function Format Term [ESC] XD Writes writable characters and logos in the flash memory board, or flash ROM on the CPU board.
ggg: Horizontal spacing/proportional spacing 000 to 999 (in dots) h: Type of writable character data 0: Nibble mode (4 bits/byte) 1: Hex.
W/C = Writable character 1-byte writable character Memory board 0100 01000020. UDF (W/C file for character code 20H) (Writable character 41) 01000021. UDF (W/C file for character code 21H) 0101 01000022. UDF (W/C file for character code 22H) Each W/C file (Writable character 42) 0102 Each W/C file 010000FD. UDF (W/C file for character code FDH) (Writable character 43) 010000FE. UDF (W/C file for character code FEH) 010000FF.
(6) Top offset 22 dots Char. height 31 dots Base line Reference point Reference point of next char. Left offset Char. width 26 dots Horizontal spacing/proportional spacing 30 dots (7) Writable character set: 01 to 40, 51 to 55 Char. width 26 dots Nibble mode 1 30H 2 30H 3 30H 4 3FH 5 3CH 6 30H 7 30H 8 30H 9 3FH 10 3CH 11 37H • • • • • • • Char. height 31 dots 240 30H 241 3FH 242 3FH 243 3FH 244 3CH 245 30H 246 30H 247 30H 248 30H Hex.
[Nibble mode] (1) The writable character data to be stored is separated into four dot units and sent in the following order (1 → 248). (High order digit: “3”) (2) The data of writable characters to be stored is 30H to 3FH. (3) The minimum unit in the X direction is 8 dots. Dots with no data are transmitted as data 0. (4) The data count of writable characters to be stored must be as follows: Data count of writable characters to be stored = {(No. of char. width dots + 7)/8} × No. of char.
(8) Writable character set: 41 (16×16 dots ) Nibble mode Character width 16 dots 1 30H 5 30H 2 30H 6 31H 3 30H 4 30H 7 38H • • • 58 31H 59 38H 60 30H 61 30H 62 30H 63 30H 64 30H Character height 16 dots 4 4 8 4 Hex. mode 4 8 1 00H 5 01H 2 00H 6 80H 3 01H 4 80H 7 01H • • • 26 80H 27 01H 28 80H 29 01H 30 80H 31 00H 32 00H [Nibble mode] (1) The writable character data to be stored is separated into four dot units and sent in the following order (1 → 64).
(9) Writable character set: 42 (24×24 dots ) Character width 24 dots Nibble mode 1 30H 2 30H 3 30H 7 30H 8 30H 9 33H 4 30H • • • • • Character height 24 dots 5 30H 6 30H 137 30H 138 30H 139 30H 140 30H 141 30H 142 30H 143 30H 144 30H Hex.
(10) Writable character set: 43 (32×32 dots) Character width 32 dots Nibble mode 1 30H 2 30H 3 30H 4 30H 5 30H 6 30H 7 30H 8 30H 9 30H 10 30H 11 30H 12 37H • • • • • 248 30H 249 30H Character height 32 dots 250 30H 251 30H 252 30H 253 30H 254 30H 255 30H 256 30H Hex.
(11) Writable character set: 44 (48×48 dots) Character width 48 dots Nibble mode 1 30H 2 30H 3 30H 4 30H 5 30H 6 30H 7 30H 8 30H 9 30H 10 30H • • • • • 569 30H 570 30H 571 30H 572 30H 573 30H 574 30H 575 30H 576 30H Character height 48 dots Nibble mode 1 00H 2 00H 3 00H 4 00H 5 00H 6 00H 7 00H 8 00H 9 07H 10 E0H • • • • • 281 00H 282 00H 283 00H 284 00H 285 00H 286 00H 287 00H 288 00H 4 4 8 4 4 8 4 4 8 4 4 8 4 4 8 4 4 8 [Nibble mode] (1) The writable character data to be stored is separated
Notes Refer to (1) No matter what character set or character code is selected, no memory will be wasted. (2) When a new writable character is stored, the Flash Memory board Format Command ([ESC] J1) must be transmitted. (3) A character code already stored can be stored in the flash memory board again if the Writable Character Command ([ESC] XD) is transmitted, but memory will be consumed with every storage. Memory can be efficiently used by sending the Format Command ([ESC] J1) before storing.
Examples Writable character set: Writable character code 03 70H Top offset 22 dots Char. height 31 dots Base line Reference point of next char. Reference point Left offset 2 dots Char.
6.3.21 GRAPHIC COMMAND Function Format Term [ESC] SG Draws graphic data. [ESC] SG; aaaa, bbbb, cccc, dddd, e, ggg --- ggg [LF] [NUL] or [ESC] SG0; aaaa, bbbb, cccc, dddd, e, ffff, ggg --- ggg [LF] [NUL] aaaa: Print origin of X-coordinate for drawing graphic data Fixed as 4 digits (in 0.1 mm units) bbbb: Print origin of Y-coordinate for drawing graphic data 4 or 5 digits (in 0.1 mm units) cccc: No.
Explanation (1) When the graphic data “0”, “1”, “2”, “3”, “6”, or “A” is selected, the graphic data is drawn by overwriting the image buffer. (2) When the graphic data “4” or “5” is selected, the graphic data is drawn by carrying out OR between the graphic data and the data in the image buffer.
Print origin of coordinates Graphic width 19 dots Nibble mode 1 30H 2 30H 3 33H 4 30H 5 30H 6 30H 7 30H 8 30H Graphic height 22 dots • • • • • • • • 126 30H 127 33H 128 3FH 129 30H 130 30H 131 30H 132 30H Hex. mode 1 00H 2 30H 3 00H 4 4 4 8 4 8 4 4 8 4 00H 5 38H • • • • • 63 00H 64 3FH 65 00H 66 00H [Nibble mode] (1) The graphic data is separated into four dot units and sent in the following order (1 → 132). (High order digit: “3”) (2) The graphic data is 30H to 3FH.
[When TOPIX compression mode is selected] Range for length First line Graphic data Second line Length L1 L1 L2 L3 (1) Length: Total number of bytes of the graphic data (0001H ~ ) Ex. Length = 20 bytes: 00 14 (2) L1 parameter: Shows in which large block (512 dots/block) the changed data is contained. 7 6 5 4 3 2 1 0 L1 0: Not present 1: Present 512 dots 512 dots 512 dots (3) L2 parameter: Shows in which medium block (64 dots/block) the changed data is contained (of the L1 large block).
[When the printer driver compression mode is selected] (1) For the [ESC] SG0; -- command, only “A: Printer driver compression mode” can be selected for the type of graphic data. The parameter for the data count is attached after the parameter for the type of graphic data. When the total number of data cannot be provided by the printer driver, “00H, 00H, 00H, 00H” should be specified for the number of graphic data.
Notes (1) The print origin of coordinates must be set so that the result of drawing the graphic data will be within the effective print area set by the Label Size Set Command ([ESC] D). (2) The number of graphic width dots and the number of graphic height dots must also be set so that the result of drawing the graphic data will be within the effective print area set by the Label Size Set Command ([ESC] D) in the same manner as the above. (3) Both width and height are 8 dots/mm.
Examples 10.0 mm 24.
[TOPIX compression mode] 10.0 mm 24.
6.3.22 SAVE START COMMAND Function Format Term [ESC] XO Declares the start of saving PC interface commands. (Places the printer in the mode where PC interface commands are written in the flash ROM on the memory board, or flash ROM on the CPU board.
Examples [ESC] J1; B [LF] [NUL] [ESC] XO; 01, 0 [LF] [NUL] [ESC] D0508, 0760, 0468 [LF] [NUL] [ESC] T20C30 [LF] [NUL] [ESC] C [LF] [NUL] [ESC] PC001; 0200, 0125, 1, 1, A, 00, B [LF] [NUL] [ESC] PC002; 0650, 0550, 2, 2, G, 33, B, +0000000001 [LF] [NUL] [ESC] XP [LF] [NUL] - 155 -
6.3.23 SAVE TERMINATE COMMAND Function Format Note Refer to [ESC] XP Declares the termination of saving PC interface commands. [ESC] XP [LF] [NUL] If the storing operation is not continued after storing the PC interface command, the printer enters the online mode (label issue operation) after about 10 seconds. In this case, the image buffer will be cleared automatically.
6.3.24 SAVED DATA CALL COMMAND Function Format Term [ESC] XQ Calls PC interface commands saved in the flash ROM on the memory board, or flash ROM on the CPU board.
6.3.25 RESET COMMAND Function Format Explanation Notes Example [ESC] WR Returns the printer to its initial state. [ESC] WR [LF] [NUL] The printer is returned to the same state as when the power was turned on. When the printer receives this command during printing, it returns to its initial state after issuing the label which is being printed. The next command must not be sent while the printer is performing initial processing after this command is transmitted.
6.3.26 STATUS REQUEST COMMAND Function Format Explanation Notes Example [ESC] WS Sends the printer status to the host computer. [ESC] WS [LF] [NUL] This command makes the printer send its status regardless of the setting of “status response/no status response.” The status to be transmitted is the current printer status, and indicates the latest status only. The remaining count indicates the remaining count of the batch currently being printed.
6.3.27 RECEIVE BUFFER FREE SPACE STATUS REQUEST COMMAND Function Format Explanation Sends information on the printer status and the free space of the receive buffer to the host computer. [ESC] WB [LF] [NUL] This command makes the printer send information on its status and free space of the receive buffer regardless of the setting of “status response/no status response.” The status to be transmitted is the current printer status, and indicates the latest status only.
Notes Example (1) This command is available only for the RS-232C and USB interfaces. (2) The printer returns the status only for the interface which sent this command to the host. (3) After the code of the Writable Character Command ([ESC] XD) or Graphic Command ([ESC] SG) is received, the Status Request Command is not processed until the printer receives the data specified for the type of data. (4) A max.
6.3.28 VERSION INFORMATION ACQUIRE COMMAND Function Format Explanation [ESC] WV Sends information such as the program version of the printer. [ESC] WV [LF] [NUL] (1) The format of the program version data (total 27 bytes of data) to be returned to the host is as follows. SOH STX Creation date Model Version ETX EOT CR LF “0” “4” “A” “P” “R” “2” “0” “0” “3” “B” “-“ “S” “V” “4” “D” SP “V” “1” “.
6.3.29 MEMORY BOARD INFORMATION ACQUIRE COMMAND Function Format Term Sends information regarding the use of the memory board to the host.
C: Stored PC command save file SOH STX “C” Slot Stored PC command save file name 01H 43H xxH File name 1 00H File name 2 00H ··· File name n 00H 02H Slot: “1” (31H): Slot 1 ETX EOT CR LF 03H 0DH 0AH 04H File name (including expansion): “00H” should be placed between file names. In the following cases, 1 byte of “00H” is returned as the stored PC command save file name. c There is no file. d The memory board is not inserted in the specified slot.
6.3.30 PRINTER INFORMATION STORE COMMAND Function [ESC] IG Sets the printer information. Format [ESC] IG; aaa --- aaabbb --- bbb [LF] [NUL] Term aaa --- aaa: Model name (Fixed as 20 digits) 20H to 7FH of ASCII codes bbb --- bbb: Serial No. (Fixed as 11digits) 20H to 7FH of ASCII codes Explanation (1) The model name and serial No. of the printer can be optionally stored. The character codes which can be set in each item are 20H to 7FH.
6.3.31 PRINTER INFORMATION REQUEST COMMAND Function Format Explanation [ESC] IR Retrieves the printer information. [ESC] IR [LF] [NUL] (1) The model name, serial No., and software version of the printer set by the Printer Information Store Command ([ESC] IG) is retrieved [Information field] Model name 20 bytes Examples The following information is stored in the printer. Model name: Serial No.: Model name: Serial No.
6.4 COMMANDS FOR SYSTEM ADMINISTRATOR 6.4.1 PARAMETER SET COMMAND Function Format Term [ESC] Z2; 1 Sets each parameter on the printer.
g: RS-232C transmission control 0: XON/XOFF protocol (No XON output when the power is turned on, no XOFF output when the power is turned OFF) 1: READY/BUSY (DTR) protocol (No XON output when the power is turned on, no XOFF output when the power is turned OFF) 2: XON/XOFF + READY/BUSY (DTR) protocol: (XON output when the power is turned on, XOFF output when the power is turned OFF) 3: XON/XOFF protocol: (XON output when the power is turned on, XOFF output when the power is turned OFF) 4: RTS protocol (No XO
o: [FEED] key function 0: FEED: Feeds one label. 1: PRINT: Prints data from the image buffer on one label. p: Kanji code selection 0: Ignore 1: Ignore qq: Euro code setting “20” to “FF” (Specify the hex code in 2 bytes of ASCII code) r: *1 Automatic head broken dots check 0: Ignore 1: Ignore Explanation s: Centronics ACK/BUSY timing setting 0: Ignore 1: Ignore t: Web printer function setting 0: Ignore 1: Ignore (1) This command is not executed until the printer enters an idle state.
6.4.2 FINE ADJUSTMENT VALUE SET COMMAND Function Format Term [ESC] Z2; 2 Sets various fine adjustment values on the printer. [ESC] Z2; 2, abbbcdddeffghhhijjkllmnnoppqqrr [LF] [NUL] a: Indicates the direction, forward or backward, in which a feed length fine adjustment is to be made. +: Ignore -: Ignore bbb: Feed length fine adjustment value Ignore c: Indicates the direction, forward or backward, in which a cut position (or strip position) fine adjustment is to be made.
Explanation o: Fine adjustment direction for the ribbon back tension motor voltage +: Ignore -: Ignore pp: Fine adjustment value for the ribbon back tension motor voltage Ignore qq: Reflective sensor manual threshold fine adjustment value Ignore rr: Transmissive sensor manual threshold fine adjustment value Ignore ss: Sensor sensitivity adjustment value 00 to 63 (1) This command is not executed until the printer enters an idle state.
6.4.3 BATCH RESET COMMAND Function Format Explanation [ESC] Z0 (zero) Resets the printer. [ESC] Z0 [LF] [NUL] • This command is not executed until the printer enters an idle state. • Some values in the Parameter Set Command ([ESC] Z2;1) and the Fine Adjustment Value Set Command ([ESC Z2;2]), will become effective when the printer is initialized. This command should be sent after the Parameter Set Command ([ESC] Z2;1) or Fine Adjustment Value Set Command ([ESC] Z2;2) is sent.
7. CONTROL CODE SELECTION (1) Automatic Selection This printer automatically selects [ESC] (1BH). [LF] (0AH). [NUL] (00H) or {(7BH). | (7CH).} (7DH) as an interface command control code. After the power is turned on, the program checks the data from the host for [ESC] and { and assumes the data whichever has been sent first to be a control code. For example, if [ESC] is sent first after the power is turned on, [ESC]. [LF]. [NUL] becomes a control code, and if { is sent first, { . | .
8. ERROR PROCESSING If the printer detects any of the following errors, it will display the error message (LED), makes status response (serial interface, parallel interface and USB interface), and stops its operation. 8.1 COMMUNICATION ERRORS (1) Command Errors An error results if a command length error, command transmission sequence error, command format error or parameter designation error is found in analyzing the command.
(2) Cutter Error • Cutter When the cutter does not move from the cutter home position 50 msec or more after the cutter solenoid is driven, an error will result. The cutter moves from the home position, however, it does not return to the home position after 500 msec. (3) Label End c When the transmissive sensor and reflective sensor detect the label end state in 10 mm continuously, an error will result.
8.3 ERRORS IN WRITABLE CHARACTER AND PC COMMAND SAVE MODES (1) Write Error • An error has occurred in writing in the flash memory board. (2) Format Error • An erase error has occurred in formatting the flash memory board. (3) Memory Full • Storing is impossible because of the insufficient flash memory capacity. * At the moment when an error occurs, the printer shows the error message, makes status response, then stops.
9. STATUS RESPONSE 9.1 SERIAL INTERFACE 9.1.1 FUNCTIONS There are the following two kinds of status response functions.
9.1.3 DETAIL STATUS Detail Status Printer Status Auto Status Transmission Status Request Command The head was closed in the online mode. The head was opened in the online mode. Operating (Analyzing command, drawing, printing, feeding) In pause Waiting for stripping A command error was found in analyzing the command. A parity error, overrun error or framing error occurred during communication by RS-232C A paper jam occurred during paper feed. An abnormal condition occurred at the cutter.
9.2 PARALLEL INTERFACE Printer Status Output Signal BUSY In the online mode In the online mode (communicating) The head was opened in the online mode. In a pause state Data was set from the host with the receive buffer full. After data was sent from the host with the receive buffer full, some data is processed and room becomes available. Initialize process in execution (After the power is turned on or INIT is received) A command error has occurred in analyzing the command.
Printer Status Output Signal BUSY (a) A command has been fetched from an odd address. (b) Word data has been accessed from a place other than the boundary of the word data. (c) Long word data has been accessed from a place other than the boundary of the long word data. (d) An undefined command in a place other than the delay slot has been decoded. (e) An undefined command in the delay slot has been decoded. (f) A command which rewrites the data in the delay slot has been decoded.
10. LED INDICATIONS No.
No. LED Indication Printer Status Restoration Acceptance by of Status Request [FEED] key Yes/No 16 Green Red U Q Orange (a) (b) (c) (d) (e) (f) NOTE 1: Q A command has been fetched from an odd address. Word data has been accessed from a place other than the boundary of the word data. Long word data has been accessed from a place other than the boundary of the long word data. An undefined command in a place other than the delay slot has been decoded.
11. CHARACTER CODE TABLE The followings are the character code tables. However, the characters which can be printed are different according to the character type. For the character which can be printed, refer to the print sample described later. 11.
(3) PC-852 0 1 0 1 2 3 4 5 6 7 8 9 A B C D E F (4) 3 4 5 6 7 8 9 A B @ P A Q B R C S D T E U F V G W H X I Y J Z K [ L \ M ] N ^ O _ ` a b c d e f g h i j k l m n o p q r s t u v w x y z { | } ~ Ç ü é â ä É á í ó ú C ! ” # $ % & ’ ( ) * + , – .
(5) PC-851 0 1 0 1 2 3 4 5 6 7 8 9 A B C D E F (6) 3 4 5 6 7 8 ! ” # $ % & ’ ( ) * + , – . / 0 1 2 3 4 5 6 7 8 9 : ; < = > ? @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m n o p q r s t u v w x y z { | } ~ Ç ü é â ä à 2 3 4 5 6 7 8 ! " # $ % & ' ( ) * + , – .
(7) PC-1250 0 1 0 1 2 3 4 5 6 7 8 9 A B C D E F (8) 3 4 5 6 7 ! ” # $ % & ’ ( ) * + , – . / 0 1 2 3 4 5 6 7 8 9 : ; < = > ? @ P A Q B R C S D T E U F V G W H X I Y J Z K [ L \ M ] N ^ O _ ` a b c d e f g h i j k l m n o p q r s t u v w x y z { | } ~ 2 3 4 5 6 7 ! " # $ % & ' ( ) * + , – .
(9) PC-1252 0 1 0 1 2 3 4 5 6 7 8 9 A B C D E F 2 3 4 5 6 7 ! ” # $ % & ’ ( ) * + , – . / 0 1 2 3 4 5 6 7 8 9 : ; < = > ? @ P A Q B R C S D T E U F V G W H X I Y J Z K [ L \ M ] N ^ O _ ` a b c d e f g h i j k l m n o p q r s t u v w x y z { | } ~ 2 3 4 5 6 7 ! " # $ % & ' ( ) * + , – .
(11) PC-1254 0 1 0 1 2 3 4 5 6 7 8 9 A B C D E F 2 3 4 5 6 7 ! ” # $ % & ’ ( ) * + , – . / 0 1 2 3 4 5 6 7 8 9 : ; < = > ? @ P A Q B R C S D T E U F V G W H X I Y J Z K [ L \ M ] N ^ O _ ` a b c d e f g h i j k l m n o p q r s t u v w x y z { | } ~ 2 3 4 5 6 7 ! " # $ % & ' ( ) * + , – .
(13) LATIN9 0 1 0 1 2 3 4 5 6 7 8 9 A B C D E F 2 3 4 5 6 7 ! ” # $ % & ’ ( ) * + , – . / 0 1 2 3 4 5 6 7 8 9 : ; < = > ? @ P A Q B R C S D T E U F V G W H X I Y J Z K [ L \ M ] N ^ O _ ` a b c d e f g h i j k l m n o p q r s t u v w x y z { | } ~ 2 3 4 5 6 7 ! " # $ % & ' ( ) * + , – .
11.2 PRESENTATION (Bit map font type: M) (1) PC-850, PC-857 0 1 0 1 2 3 4 5 6 7 8 9 A B C D E F (2) 3 4 5 6 7 @ P A Q B R C S D T E U F V G W H X I Y J Z K [ L \ M ] N ^ O _ ` P A Q B R C S D T E U F V G W H X I Y J Z + , – .
(3) PC-852 0 1 0 1 2 3 4 5 6 7 8 9 A B C D E F (4) ! " # $ % & ' ( ) * + , – . / 3 4 5 6 7 0 1 2 3 4 5 6 7 8 9 : ; < = > ? @ P A Q B R C S D T E U F V G W H X I Y J Z K [ L \ M ] N ^ O _ ` P A Q B R C S D T E U F V G W H X I Y J Z K L M N 8 9 A B C D E C F - { | } ~ The Euro code (B0H) can be changed in the parameter setting on Z2;1 command.
(5) PC-1252, PC-1254 0 1 0 1 2 3 4 5 6 7 8 9 A B C D E F (6) 3 4 5 6 7 @ P A Q B R C S D T E U F V G W H X I Y J Z K [ L \ M ] N ^ O _ ` P A Q B R C S D T E U F V G W H X I Y J Z + , – .
(7) LATIN9 0 0 1 2 3 4 5 6 7 8 9 A B C D E F 1 2 ! " # $ % & ' ( ) * + , – . / 3 4 5 6 7 0 1 2 3 4 5 6 7 8 9 : ; < = > ? @ P A Q B R C S D T E U F V G W H X I Y J Z K [ L \ M ] N ^ O _ ` P A Q B R C S D T E U F V G W H X I Y J Z K L M N 8 9 A B C D E F C C ¥ { | } ~ The Euro code (B0H) can be changed in the parameter setting on Z2;1 command.
11.3 TEC OUTLINE FONT 1 (Outline font type: A, B) (1) PC-850 0 1 2 3 4 5 6 7 8 9 A B ! ” # $ % & ’ ( ) * + , – .
(3) PC-852 0 1 2 3 4 5 6 7 8 9 A B @ P A Q B R C S D T E U F V G W H X I Y J Z K [ L \ M ] N ^ O _ ` a b c d e f g h i j k l m n o p q r s t u v w x y z { | } ~ Ç ü é â ä É ! ” # $ % & ’ ( ) * + , – .
(5) PC-851 0 2 3 4 5 6 7 8 0 1 2 3 4 5 6 7 8 9 A ! " # $ % & ' ( ) @ P A Q B R C S D T E U F V G W H X I Y J Z ` a b c d e f g h i j p q r s t u v w x y z Ç ü é â ä à * 0 1 2 3 4 5 6 7 8 9 : B C D E F + , – . / ; < = > ? K L M N O [ \ ] ^ _ k l m n o { | } ~ Ï î Ä 2 3 4 5 6 7 8 0 1 2 3 4 5 6 7 8 9 A ! " # $ % & ' ( ) * 0 1 2 3 4 5 6 7 8 9 : @ P A Q B R C S D T E U F V G W H X I Y J Z ` a b c d e f g h i j p q r s t u v w x y z B C D E F + , – .
(7) PC-1250 0 2 3 4 5 6 7 0 1 2 3 4 5 6 7 8 9 A ! " # $ % & ' ( ) * 0 1 2 3 4 5 6 7 8 9 : @ P A Q B R C S D T E U F V G W H X I Y J Z ` a b c d e f g h i j p q r s t u v w x y z B C D E F + , – . / ; < = > ? K L M N O [ \ ] ^ _ k l m n o { | } ~ 2 3 4 5 6 7 0 1 2 3 4 5 6 7 8 9 A ! " # $ % & ' ( ) * 0 1 2 3 4 5 6 7 8 9 : @ P A Q B R C S D T E U F V G W H X I Y J Z ` a b c d e f g h i j p q r s t u v w x y z B C D E F + , – .
(9) PC-1252 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 8 9 A ! " # $ % & ' ( ) * 0 1 2 3 4 5 6 7 8 9 : @ P A Q B R C S D T E U F V G W H X I Y J Z ` a b c d e f g h i j p q r s t u v w x y z B C D E F + , – . / ; < = > ? K L M N O [ \ ] ^ _ k l m n o { | } ~ 2 3 4 5 6 7 0 1 2 3 4 5 6 7 8 9 A ! " # $ % & ' ( ) * 0 1 2 3 4 5 6 7 8 9 : @ P A Q B R C S D T E U F V G W H X I Y J Z ` a b c d e f g h i j p q r s t u v w x y z B C D E F + , – .
(11) PC-1254 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 8 9 A ! " # $ % & ' ( ) * 0 1 2 3 4 5 6 7 8 9 : @ P A Q B R C S D T E U F V G W H X I Y J Z ` a b c d e f g h i j p q r s t u v w x y z B C D E F + , – . / ; < = > ? K L M N O [ \ ] ^ _ k l m n o { | } ~ 2 3 4 5 6 7 0 1 2 3 4 5 6 7 8 9 A ! " # $ % & ' ( ) * 0 1 2 3 4 5 6 7 8 9 : @ P A Q B R C S D T E U F V G W H X I Y J Z ` a b c d e f g h i j p q r s t u v w x y z B C D E F + , – .
(13) LATIN9 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 8 9 A ! " # $ % & ' ( ) * 0 1 2 3 4 5 6 7 8 9 : @ P A Q B R C S D T E U F V G W H X I Y J Z ` a b c d e f g h i j p q r s t u v w x y z B C D E F + , – . / ; < = > ? K L M N O [ \ ] ^ _ k l m n o { | } ~ 2 3 4 5 6 7 0 1 2 3 4 5 6 7 8 9 A ! " # $ % & ' ( ) * 0 1 2 3 4 5 6 7 8 9 : @ P A Q B R C S D T E U F V G W H X I Y J Z ` a b c d e f g h i j p q r s t u v w x y z B C D E F + , – .
11.
(3) PC-852 (4) PC-857 - 202 -
(5) PC-851 (6) PC-855 - 203 -
(7) PC-1250 (8) PC-1251 - 204 -
(9) PC-1252 (10) PC-1253 - 205 -
(11) PC-1254 (12) PC-1257 - 206 -
(13) LATIN9 2 3 4 5 6 7 8 9 A B C D E F 0 0 @ P ` p ° À Ð à ð 1 ! 1 A Q a q ¡ ± Á Ñ á ñ 2 " 2 B R b r ¢ ² Â Ò â ò 3 # 3 C S c s £ ³ Ã Ó ã ó 4 $ 4 D T d t Š Ä Ô ä ô C Z 5 % 5 E U e u ¥ µ Å Õ å õ 6 & 6 F V f v S ¶ Æ Ö æ ö Š 7 ' 7 G W g w § · Ç × ç ÷ 8 ( 8 H X h x s Š z È Ø è ø Š 9 ) 9 I Y i y © ¹ É Ù é ù A * : ª J Z j z º Ê Ú ê ú B + ; K [ k { « » Ë Û ë û C , < L \ | ¬ Œ Ì Ü ì ü D – = M ] m } - œ Í Ý í ý E .
12. BAR CODE TABLE (1) WPC (JAN, EAN, UPC) ITF, MSI, UCC/EAN128, Industrial 2 of 5 2 0 1 2 3 4 5 6 7 8 9 A B C D E F (3) 3 4 5 6 (2) CODE39 (Standard) 7 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 A B C D E F 2 3 SP 0 1 2 3 4 5 6 7 8 9 $ % * + – • / A B C D E F G H I J K L M N O 5 6 7 P Q R S T U V W X Y Z CODE39 (Full ASCII) [Transfer code] 0 1 2 3 4 5 6 7 8 9 A B C D E F 4 [Drawing code] 2 3 4 5 6 7 SP ! " # $ % & ' ( ) * + , – .
(4) 0 NW-7 2 3 SP 0 4 5 6 1 1 A a 2 2 B b 3 3 C c 4 D d 4 $ 5 5 6 6 7 7 8 8 9 9 A * B + 7 t e : C D – E • F / (5) n CODE93 [Transfer code] 0 1 2 3 4 5 6 7 8 9 A B C D E F [Drawing code] 2 3 4 5 6 7 SP ! " # $ % & ' ( ) 0 1 2 3 4 5 6 7 8 9 : ; < = > ? @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m n o p q r s t u v w x y z { | } ~ * + , – .
(6) CODE128 [Transfer code] 0 1 2 3 4 5 6 7 8 9 A B C D E F c – – 2 3 4 5 6 7 NUL SOH STX ETX EOT ENQ ACK BEL BS HT LF VT FF CR SO SI DLE DC1 DC2 DC3 DC4 NAK SYN ETB CAN EM SUB ESC FS GS RS US SP ! " # $ % & ' ( ) 0 1 2 3 4 5 6 7 8 9 : ; < = > ? @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m n o p q r s t u v w x y z { | } ~ * + , – .
Value Code Table VALUE CODE CODE CODE A B C VALUE CODE CODE CODE A B C 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 SP ! " # $ % & ' ( ) * + , – . / 0 1 2 3 4 5 6 7 8 9 : ; < = > SP ! " # $ % & ' ( ) * + , – .
(7) Data Matrix The code to be used is designated using the format ID. Format ID 1 2 3 4 5 6 Code Details Numerics Letters Alphanumerics, symbols Alphanumerics ASCII (7-bit) ISO (8-bit) 0 to 9 space A to Z space 0 to 9 A to Z space . , - / 0 to 9 A to Z space 00H to 7FH 00H to FFH (Kanji) [Transfer Code] 0 0 1 2 3 4 5 6 7 8 9 A B C D E F NUL SOH STX ETX EOT ENQ ACK BEL BS HT LF VT FF CR SO SI 1 2 DLE SP DC1 ! DC2 ” DC3 # DC4 $ NAK % SYN & ETB ’ CAN ( EM ) SUB * ESC + FS , GS – RS .
(8) PDF417 The following modes are automatically selected according to the code used. Mode Code Details EXC mode Alphanumerics, symbol Binary/ASCII Plus mode Numeric Compaction mode Binary International Character Set Numerics 0 to 9 A to Z a to z space ! ” # $ % & ’ ( ) * + , - .
(9) MicroPDF417 The following modes are automatically selected according to the code used. Mode Details Upper case letters, space Binary International Character Set Numerics A to Z, space 00H to FFH (Kanji) 0 to 9 [Transfer Code] 0 0 1 2 3 4 5 6 7 8 9 A B C D E F NUL SOH STX ETX EOT ENQ ACK BEL BS HT LF VT FF CR SO SI 1 2 DLE SP DC1 ! DC2 ” DC3 # DC4 $ NAK % SYN & ETB ’ CAN ( EM ) SUB * ESC + FS , GS – RS .
(10) QR code When manual mode is selected in the Format Command y Numeric mode, alphanumeric and symbol mode, Kanji mode Mode selection Data to be printed y Binary mode No. of data strings (4 digits) Mode selection Data to be printed y Mixed mode Data “,” (comma) Data “,” (comma) Data The QR code can handle all codes including alphanumerics, symbols, and Kanji. However, since the data compression rate varies according to codes, the code to be used should be designated by selecting the mode.
c How to send control code data NUL SOH STX to GS RS US (00H) (01H) (02H) → → → (1DH) → (1EH) → (1FH) → >@ (3EH, 40H) >A (3EH, 41H) >B (3EH, 42H) >] >^ >_ (3EH, 5DH) (3EH, 5EH) (3EH, 5FH) d How to send a special code > (3EH) → >0 (3EH, 30H) e How to send a Kanji code Shift JIS JIS hexadecimal (For details, refer to the section for the Bar Code Data Command.
(11) Postal code Customer bar code 2 0 1 2 3 4 5 6 7 8 9 A B C D E F 3 0 1 2 3 4 5 6 7 8 9 – POSTNET 4 A B C D E F G H I J K L M N O 5 6 7 2 P Q R S T U V W X Y Z 0 1 2 3 4 5 6 7 8 9 A B C D E F RM4SCC 0 1 2 3 4 5 6 7 8 9 A B C D E F 3 4 5 6 7 4 5 6 7 0 1 2 3 4 5 6 7 8 9 KIX CODE 2 3 ( ) 0 1 2 3 4 5 6 7 8 9 4 A B C D E F G H I J K L M N O 5 6 7 2 P Q R S T U V W X Y Z 0 1 2 3 4 5 6 7 8 9 A B C D E F * “(” or “)” can be designated only as a start/stop code.
(12) MaxiCode Symbol Character Value Code Set A Code Set B Code Set C Code Set D Code Set E Decimal Binary Character Decimal Character Decimal Character Decimal Character Decimal Character Decimal 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 000000 000001 000010 000011 000100 000101 000110 000111 001000 001001 001010 001011 001100 001101 001110 001111 01
c How to send control code data SOH STX to GS RS US (01H) (02H) → → >A >B (3EH, 41H) (3EH, 42H) (1DH) (1EH) (1FH) → → → >] >^ >_ (3EH, 5DH) (3EH, 5EH) (3EH, 5FH) >0 (3EH, 30H) d How to send a special code > (3EH) → e How to send a Kanji code Shift JIS JIS hexadecimal (For details, refer to the section for the Bar Code Data Command.) NOTE: “NUL” code in the table cannot be used, however, it can be designated. If it is designated, data following “NUL” code is not printed.
(13) CP code [Transfer Code] 0 0 1 2 3 4 5 6 7 8 9 A B C D E F NUL SOH STX ETX EOT ENQ ACK BEL BS HT LF VT FF CR SO SI 1 2 DLE SP DC1 ! DC2 ” DC3 # DC4 $ NAK % SYN & ETB ’ CAN ( EM ) SUB * ESC + FS , GS – RS .
13. DRAWING OF BAR CODE DATA : Field to be incremented/decremented (The absence of a solid line invalidates incrementing/decrementing.) : Field subject to printing numerals under bars. Type of Bar Code: JAN8, EAN8 (1) No affix No. of Input Digits Input Data D1 D2 D3 D4 D5 D6 D7 D8 Drawing Data D1 D2 D3 D4 D5 D6 D7 D8 To be checked as modulus 10 C/D 8 digits Other than 8 digits Not to be drawn (2) Modulus 10 check No.
Type of Bar Code: JAN13, EAN13 (1) No affix No. of Input Digits D1 D2 D3 D4 D5 D6 D7 D8 D9 D10 D11 D12 D13 Input Data To be checked as modulus 10 C/D 13 digits Drawing Data Other than 13 digits D2 D3 D4 D5 D6 D7 D8 D9 D10 D11 D12 D13 Not to be drawn (2) Modulus 10 check No.
Type of Bar Code: UPC-A (1) No affix No. of Input Digits Input Data D1 D2 D3 D4 D5 D6 D7 D8 D9 D10 D11 D12 Drawing Data D1 D2 D3 D4 D5 D6 D7 D8 D9 D10 D11 D12 To be checked as modulus 10 C/D 12 digits Other than 12 digits Not to be drawn (2) Modulus 10 check No. of Input Digits Input Data D1 D2 D3 D4 D5 D6 D7 D8 D9 D10 D11 D12 Drawing Data D1 D2 D3 D4 D5 D6 D7 D8 D9 D10 D11 D12 To be checked as modulus 10 C/D 12 digits Other than 12 digits Not to be drawn (3) Auto affix of modulus 10 No.
Type of Bar Code: UPC-E (1) No affix No. of Input Digits D1 D2 D3 D4 D5 D6 D7 Input Data To be checked as modulus 10 C/D 7 digits Drawing Data Other than 7 digits 0 D1 D2 D3 D4 D5 D6 D7 Not to be drawn (2) Modulus 10 check No. of Input Digits D1 D2 D3 D4 D5 D6 D7 Input Data To be checked as modulus 10 C/D 7 digits Drawing Data Other than 7 digits 0 D1 D2 D3 D4 D5 D6 D7 Not to be drawn (3) Auto affix of modulus 10 No.
Type of Bar Code: JAN8 +2 digits, EAN8 + 2 digits (1) No affix No. of Input Digits D1 D2 D3 D4 D5 D6 D7 D8 D9 D10 Input Data To be checked as modulus 10 C/D 10 digits Drawing Data Other than 10 digits D1 D2 D3 D4 D5 D6 D7 D8 D9 D10 Not to be drawn (2) Modulus 10 check No. of Input Digits D1 D2 D3 D4 D5 D6 D7 D8 D9 D10 Input Data To be checked as modulus 10 C/D 10 digits Drawing Data Other than 10 digits D1 D2 D3 D4 D5 D6 D7 D8 D9 D10 Not to be drawn (3) Auto affix of modulus 10 No.
Type of Bar Code: JAN8 +5 digits, EAN8 + 5 digits (1) No affix No. of Input Digits D1 D2 D3 D4 D5 D6 D7 D8 D9 D10 D11 D12 D13 Input Data To be checked as modulus 10 C/D 13 digits Drawing Data Other than 13 digits D1 D2 D3 D4 D5 D6 D7 D8 D9 D10 D11 D12 D13 Not to be drawn (2) Modulus 10 check No.
Type of Bar Code: JAN13 +2 digits, EAN13 + 2 digits (1) No affix No. of Input Digits D1 D2 D3 D4 D5 D6 D7 D8 D9 D10 D11 D12 D13 D14 D15 Input Data To be checked as modulus 10 C/D 15 digits Drawing Data Other than 15 digits D2 D3 D4 D5 D6 D7 D8 D9 D10 D11 D12 D13 D14 D15 Not to be drawn (2) Modulus 10 check No.
Type of Bar Code: JAN13 +5 digits, EAN13 + 5 digits (1) No affix No. of Input Digits D1 D2 D3 D4 D5 D6 D7 D8 D9 D10 D11 D12 D13 D14 D15 D16 D17 D18 Input Data To be checked as modulus 10 C/D 18 digits Drawing Data Other than 18 digits D2 D3 D4 D5 D6 D7 D8 D9 D10 D11 D12 D13 D14 D15 D16 D17 D18 Not to be drawn (2) Modulus 10 check No.
Type of Bar Code: UPC-A + 2 digits (1) No affix No. of Input Digits D1 D2 D3 D4 D5 D6 D7 D8 D9 D10 D11 D12 D13 D14 Input Data To be checked as modulus 10 C/D 14 digits Drawing Data Other than 14 digits D1 D2 D3 D4 D5 D6 D7 D8 D9 D10 D11 D12 D13 D14 Not to be drawn (2) Modulus 10 check No.
Type of Bar Code: UPC-A + 5 digits (1) No affix No. of Input Digits D1 D2 D3 D4 D5 D6 D7 D8 D9 D10 D11 D12 D13 D14 D15 D16 D17 Input Data To be checked as modulus 10 C/D 17 digits Drawing Data Other than 17 digits D1 D2 D3 D4 D5 D6 D7 D8 D9 D10 D11 D12 D13 D14 D15 D16 D17 Not to be drawn (2) Modulus 10 check No.
Type of Bar Code: UPC-E + 2 digits (1) No affix No. of Input Digits D1 D2 D3 D4 D5 D6 D7 D8 D9 Input Data To be checked as modulus 10 C/D 9 digits Drawing Data Other than 9 digits 0 D1 D2 D3 D4 D5 D6 D7 D8 D9 Not to be drawn (2) Modulus 10 check No. of Input Digits D1 D2 D3 D4 D5 D6 D7 D8 D9 Input Data To be checked as modulus 10 C/D 9 digits Drawing Data Other than 9 digits 0 D1 D2 D3 D4 D5 D6 D7 D8 D9 Not to be drawn (3) Auto affix of modulus 10 No.
Type of Bar Code: UPC-E + 5 digits (1) No affix No. of Input Digits D1 D2 D3 D4 D5 D6 D7 D8 D9 D10 D11 D12 Input Data To be checked as modulus 10 C/D 12 digits Drawing Data Other than 12 digits 0 D1 D2 D3 D4 D5 D6 D7 D8 D9 D10 D11 D12 Not to be drawn (2) Modulus 10 check No.
Type of Bar Code: MSI (1) No affix No. of Input Digits Input Data D1 D2 D3 D4 D5 D6 D7 D8 D9 Drawing Data D1 D2 D3 D4 D5 D6 D7 D8 D9 Not recognized as a check digit. Max. 15 digits 16 digits or more Not to be drawn (2) IBM modulus 10 check No. of Input Digits Min. 2 digits Max.
Type of Bar Code: Interleaved 2 of 5 (1) No affix No. of Input Digits D1 D2 D3 D4 D5 D6 D7 D8 D9 Input Data Not recognized as a check digit. Max. 126 digits Drawing Data 127 digits or more 0 D1 D2 D3 D4 D5 D6 D7 D8 D9 Not to be drawn (2) Modulus 10 check No. of Input Digits Min. 2 digits Max.
Type of Bar Code: Industrial 2 of 5 (1) No affix No. of Input Digits Input Data D1 D2 D3 D4 D5 D6 D7 D8 D9 Not recognized as a check digit. Max. 126 digits Drawing Data 127 digits or more 0 D1 D2 D3 D4 D5 D6 D7 D8 D9 Not to be drawn (2) Modulus check character check No. of Input Digits Min. 2 digits Max.
Type of Bar Code: CODE39 (Standard) (1) No affix No. of Input Digits St D1 D2 D3 D4 D5 D6 D7 D8 D9 Sp Input Data Start code Stop code Not recognized as a check digit. Max. 123 digits St D1 D2 D3 D4 D5 D6 D7 D8 D9 Sp Drawing Data 124 digits or more Not to be drawn (2) Modulus 43 check No. of Input Digits Min. 2 digits Max.
Type of Bar Code: CODE39 (Full ASCII) (1) No affix No. of Input Digits St D1 D2 D3 D4 D5 D6 D7 D8 D9 Sp Input Data Start code Stop code Not recognized as a check digit. Max. 60 digits St D1 D2 D3 D4 D5 D6 D7 D8 D9 Sp Drawing Data 61 digits or more Not to be drawn (2) Modulus 43 check No. of Input Digits Min. 2 digits Max.
Type of Bar Code: No auto selection of CODE128 (Character “>” to be also counted as a digit) (1) No affix PSEUDO103 check Auto affix of PSEUDO103 No. of Input Digits Min. 3 digits Max. 125 digits (including start code) Input Data Drawing Data 2 digits or less 126 digits or more NOTE: St D1 D2 D3 D4 D5 D6 D7 D8 D9 D10 D11 St D1 D2 D3 D4 D5 D6 D7 D8 D9 D10 D11 C/D Sp Affix PSEUDO103 C/D. Not to be drawn The following characters are not drawn as numerals under bars.
Type of Bar Code: CODE93 (1) No affix C/D check Auto affix of C/D No. of Input Digits Input Data Max. 60 digits Drawing Data D1 D2 D3 D4 D5 D6 D7 D8 D9 St D1 D2 D3 D4 D5 D6 D7 D8 D9 C/D1 C/D2 Sp Stop code Affix a modulus 47 “K” C/D. Affix a modulus 47 “C” C/D. Start code 61 digits or more NOTE: Not to be drawn Numerals under bars are not characters corresponding to the bars but the characters of the codes received are drawn. Type of Bar Code: UCC/EAN128 (1) No affix C/D check Auto affix of C/D No.
Type of Bar Code: POSTNET (1) Auto affix of dedicated C/D No.
Type of Bar Code: Customer bar code (1) Auto affix of dedicated C/D No. of Input Digits Input Data 20 digits Drawing Data 21 digits or more D1 D2 D3 D4 D5 D6 D7 D8 D9 D10 D11 D12 D13 D14 D15 D16 D17 D18 D19 D20 St D1 D2 D3 D4 D5 D6 D7 D8 D9 D10 D11 D12 D13 D14 D15 D16 D17 D18 D19 D20 C/D Sp Start code Dedicated check digit Stop code Data of up to 20 digits is drawn. Data of 21 digits or more is discarded. Type of Bar Code: Highest priority customer bar code (1) Auto affix of dedicated C/D No.
14.
Type of Bar Code Designation of Start/Stop Code Input Data 12345ABC *12345ABC 12345ABC* *12345ABC* CODE 39 Start/stop code not added 12345*ABC **12345ABC *12345ABC** *12345*ABC* Type of Bar Code Add start code NW7 Add stop code Start/stop code not added Standard Full ASCII Standard Full ASCII Standard Full ASCII Standard Full ASCII Standard Full ASCII Standard Full ASCII Standard Full ASCII Standard Full ASCII 12345ABC 12345ABC *12345ABC *12345ABC 12345ABC* 12345ABC* *12345ABC* *12345ABC* 12345*