“i” PROGRAMMING REFERENCE For printer models: MB200i / MB400i / MB410i PN: 9001158(B) www.satoamerica.
SATO America, Inc. 10350A Nations Ford Road Charlotte, NC 28273 Main Phone: (704) 644.1650 Technical Support: (704) 644.1660 Technical Support Fax: (704) 644.1661 E-Mail: satosales@satoamerica.com techsupport@satoamerica.com www.satoamerica.com © Copyright 2009 SATO America, Inc.
TABLE OF CONTENTS INTRODUCTION About This Manual Print Area Calculation 1-2 1-3 PROGRAMMING CONCEPTS Programming Language Selecting Protocol Codes Using Basic Print Position Commands 2-2 2-3 2-4 2-5 COMMAND CODE QUICK REFERENCE A: B: C: D: E: F: G: H: I: J: K: L: M: N: O: P: Q: A A1 &R &S * @ A3 B BC BD BG BP BU CS D d EU F FW G GC GI GM GR GT H ID IG I1
R: S: T: U: V: W: X: Y: Z: QS RD RF System Priority CG Fonts Recall and Print of Font & Logo 3-7 3-7 3-7 T 2D10/15 2D12 2D20 2D30 2D31 2D32 2D50 2S External Character PDF417 Micro PDF417 Maxi Code QR Code (Model 2) QR Code (Model 1) Micro QR Code Data Matrix Code (ECC200) Two-Color Print 3-8 3-8 3-8 3-9 3-9 3-10 3-10 3-11 3-11 V WC WD WE WF WG WH WI W1 W2 W3 W4 W5 W6
XB XL XM XS XU OA OB RD T XB XL XB Font XL Font XM Font XS Font XU Font OCR-A Font OCR-B Font CG Fonts External Character Smoothing Smoothing Barcode Commands 4-25 B BD D d BC BG BP EU Barcode, Ratio 1:3 Barcode, Ratio 2:5 Barcode, Ratio 1:2 Barcode, Human Readable Information (HRI) CODE 93 Barcode CODE 128 Barcode Postnet EAN/UCC Composite Symbol 2D10 2D12 2D20 2D30 2D31 2D32 <
WG WH WI W1 W2 W3 W4 W5 W6 W7 W8 W9 Socket Port Number Settings User Name Specification IP Setup Method Specification IP Address Subnet Maskings Default Gateway Specification SSID Settings Channel Specification WLAN Specification Security Function Specification WEP Key Specification Authentication Specification 5-8 5-9 5-10 5-11 5-12 5-13 5-14 5-15 5-16 5-17 5-18 5-19 BI-DIRECTIONAL COMMUNICATIONS Introduction 6-2 General Configuration Serial
Unit 1: Introduction INTRODUCTION • • “i” Programming Reference About This Manual Print Area Calculation 1-1 PN: 9001158B
Unit 1: Introduction ABOUT THIS MANUAL This manual is laid out consistent with the product discussed and provides all of the information required for printer programming. This manual also incorporates the use of special information boxes. Examples of these boxes and the type of information provided in each, are below. WARNING: PROVIDES INFORMATION THAT, IF UNHEEDED, MAY RESULT IN PRESONAL INJURY. CAUTION: PROVIDES INFORMATION THAT, IF UNHEEDED, MAY RESULT IN EQUIPMENT DAMAGE.
Unit 1: Introduction PRINT AREA CALCULATION Many print applications may not require labels that fill the entire printable area of the printer. Therefore it is important to understand how to calculate print size so that the printed image does not exceed the label size. There are two axis to consider when calculating for print position; horizontal and vertical. The horizontal axis is lateral positioning parallel with the print head and is measured from the right side of the media to the left.
Unit 1: Introduction Print Head LABEL Label Width Label Length LABEL Print Offset Maximum Printable Width New Base Reference Point Initial Base Reference Point Figure 1-1, Print Area Calculation “i” Programming Reference 1-4 PN: 9001158B
Unit 2: Programming Concepts PROGRAMMING CONCEPTS • • • • i Programming Reference Programming Language Selecting Protocol Codes Using Basic Print Position Commands 2-1 PN: 9001158B
Unit 2: Programming Concepts PROGRAMMING LANGUAGE A programming language for a printer is a familiar concept to most programmers. It is a group of commands that are designed to use the internal intelligence of the printer. The commands, which are referred to as SATO Command Codes, contain non-printable ASCII characters (such as , , ) and printable characters.
Unit 2: Programming Concepts SELECTING PROTOCOL CODES Protocol codes are the special control characters that prepare the printer to receive instructions. For example, the character tells the printer that a command code will follow and the character asks for the printer status. There are two pre-defined different sets of Protocol Control codes to choose from. Each set is made up of six special characters.
Unit 2: Programming Concepts USING BASIC It may be useful to test your printer using a BASIC program on a PC or to write your actual production programs in BASIC. Whatever the reason, if working in BASIC, some of the following hints may be helpful. Set the WIDTH of the output device to 255 characters to avoid automatically sending and characters after every line. The command string should be continuous and uninterrupted by and/or commands.
Unit 2: Programming Concepts PRINT POSITION COMMANDS There are three methods using command codes to properly orient print images on a label. They are as follows: MEDIA SIZE COMMAND The Media Size Command (A1) allows specification of the label width and length so the printer may autmatically adjust itself relative to the command entry. However, the label size specified and the actual label size must match.
Unit 2: Programming Concepts HORIZONTAL OFFSET COMMAND Allows print image orientation by combining a part of both methods above by establishing the media size and then orienting it through base reference point adjustment. EXAMPLE: A Printer with 8-dpmm: Label Width = 2" x 25.4 mm/in x 8 dpmm = 406 dots New Base Reference Point = Maximum Print Width - Label Width = (832 dots) - (406 dots) = 426 dots Each H command would have the value “426” added to it to correctly position each field.
Unit 3: Code Quick Reference COMMAND QUICK REFERENCE • “i” Programming Reference A through Z (all commands) 3-1 PN: 9001158B
Unit 3: Code Quick Reference COMMAND QUICK REFERENCE INSTRUCTION DESCRIPTION A Start Code. Begins all print jobs A1aaaabbbb Media Size. Specifies the label size. &R aaaa = Label height in dots (0 to Vmax) bbbb = Label width in dots (0 to Hmax) Form Overlay, Recall. Recalls a label image previously stored in expanded memory. aa &S,aa,bbbb,cccc = Storage number (00 to 99) Form Overlay, Store. Stores a label image in Expanded Memory.
Unit 3: Code Quick Reference COMMAND QUICK REFERENCE INSTRUCTION Babbcccd BC BDabbcccd DESCRIPTION Bar Codes. Prints a 1:3 ratio barcode.
Unit 3: Code Quick Reference COMMAND QUICK REFERENCE INSTRUCTION BU DESCRIPTION Buzzer Activation. Activate/Deactivate buzzer. This command can be used only on an MB4i printer. a CSa dn...n 0: deactivated 1: activated Print Speed Selection. Specifies a unique print speed in in./sec. through software for a particular label. a Dabbcccn = = Speed Range Barcode, Human Readable Information (HRI). Specifies the character type of human readable information of barcode.
Unit 3: Code Quick Reference COMMAND QUICK REFERENCE INSTRUCTION FWaabbVcccHdddd Gabbbccc(data) DESCRIPTION Box. Prints a box. For values aa, bbbb, cc, and dddd, see instructions for horizontal and vertical lines. Units of measurement are dots. aa = Width of horizontal side bb = Width of vertical side cccc = Length of vertical side dddd = Length of horizontal side Custom Graphics. Allows the creation and printing of graphic images using a dotaddressable matrix.
Unit 3: Code Quick Reference COMMAND QUICK REFERENCE INSTRUCTION IGa DESCRIPTION Sensor Type Selection. Selects the sensor type. a = 0: Reflective (Eye-Mark) sensor. 1: Transmissive (See-Thru) sensor 2: Sensor not used I1 Serial Interface, Configuration. Sets the operating parameters for the Serial RS232C interface. Sets the default printer configuration in Flash ROM. Refer to the System Command chapter of the Standard Command Code unit for details. I2 IrDA Interface, Configuration.
Unit 3: Code Quick Reference COMMAND QUICK REFERENCE INSTRUCTION %a DESCRIPTION Rotate, Fixed Base Reference Point. a = 0: 1: 2: 3: Sets print to normal direction. Sets print to 90 degrees counter-clockwise. Sets print to 180 degrees rotated (upside down) Sets print to 270 degrees counter-clockwise (90x CW). PG EEPROM Setup. Sets the default printer configuration in EEPROM. PMa Print Mode Selection. Selects desired backfeed operation.
Unit 3: Code Quick Reference COMMAND QUICK REFERENCE INSTRUCTION T 2D10 2D12 “i” Programming Reference DESCRIPTION External Character. Specifies to download external character.
Unit 3: Code Quick Reference COMMAND QUICK REFERENCE INSTRUCTION 2D20 DESCRIPTION Maxi Code. Specifies Maxi Code of 2D code.
Unit 3: Code Quick Reference COMMAND QUICK REFERENCE INSTRUCTION 2D31 2D32 “i” Programming Reference DESCRIPTION QR Code (Model 1). Specifies QR code (model 1) of 2D code.
Unit 3: Code Quick Reference COMMAND QUICK REFERENCE INSTRUCTION 2D50 2S DESCRIPTION Data Matrix (ECC200). Specifies Data Matrix (ECC200) of 2D code. a = Cell width in dots (01 to 16) b = Cell height in dots (01 to 16) c = Quantity of cells per roll (000, fixed) d = Quantity of cell rows (000, fixed) m = Quantity of binary data (1 to 3116) n = Print data 7EH, 00H: when printing 00H 7EH, 7EH: when printing 7EH Two-Color Printing. Specifies printing in two colors - black and red.
Unit 3: Code Quick Reference COMMAND QUICK REFERENCE INSTRUCTION WI DESCRIPTION Wireless LAN Interface, IP Setup Method. Allows specification of the IP address setup method. a W1 W9 “i” Programming Reference = Alphabets along with a hyphen (-), an underscore (_) can be specified up to 32 characters. = 01 to 14 digits, fixed. = 1: Adhoc Mode 2: Infrastructure Mode = 0: Not set 1: WEP encoding used 2: WPA encoding used Wireless LAN Interface, WEP Key Specification. Specifies the WEP key.
Unit 3: Code Quick Reference COMMAND QUICK REFERENCE INSTRUCTION XL DESCRIPTION Font Type. Specifies the 48W x 48H dot matrix font (includes descenders). a = Smooting specificaiton 0: Smoothing disabled 1: Smoothing enabled n = Print data XM Font type. Specifies the 24W x 24H dot matrix font (includes descenders). XS Font type. Specifies the 17W x 17H dot matrix font (includes descenders). XU Font type. Specifies the 5W x 9L dot matrix font (includes descenders). YR,aaa Recall Format.
Unit 3: Code Quick Reference “i” Programming Reference 3-14 PN: 9001158B
Unit 4: Standard Command Codes STANDARD COMMAND CODES • • • • • • • • • “i” Programming Reference Control Commands Modification Commands Print Position Commands Font Commands Barcode Commands 2D Code Commands System Commands Graphic Commands Memory Store/Recall Commands 4-1 PN: 9001158B
Unit 4: Standard Command Codes CONTROL COMMANDS START/STOP LABEL FUNCTION For all print jobs, the Start command must precede the data and the Stop command must follow. The print job will not run properly if these are not in place. FORMAT Start Command: A Stop Command: Z A must precede data Z must follow data.
Unit 4: Standard Command Codes PRINT QUANTITY FUNCTION To specify the total quantity of labels to print for a given print job. FORMAT Qaaaaaa aaaaaa = Total number of labels to print (1 to 999999) Place just preceding Z, unless ~ exists, then preceding that. This command must be present in every print job. EXAMPLE A H0100V0100XB1SATO Q3 Z OUTPUT Three labels containing the data “SATO” will be printed.
Unit 4: Standard Command Codes JOB ID, STORE FUNCTION To add an identification number to a job. The status of the job can then be determined using the ENQ command in the Bi-Com status mode. FORMAT IDaa aa = Job ID assigned (01 to 99) Place immediately following the A in the job data stream. EXAMPLE A ID02 . . . Job . . . Z OUTPUT This command does not result in printer output. NOTES Works only in Bi-Communications modes.
Unit 4: Standard Command Codes PAGE BREAK FUNCTION In Journal printing mode (mode 2), inserting a page break with this command helps printer’s buffer handle the data “page by page,” not an entire chunk, thus enabling it to process any length of journal printing without restriction by its memory size. This command is valid only on the MB4i printer. FORMAT z0 (,aaaa) a (Page break position) = Length of a page in dots (omissible). See Valid range below.
Unit 4: Standard Command Codes PAGE BREAK NOTES AND OUTPUT This command is valid only for MB4i series in Journal printing mode. When the page break position is not specified, the printer will automatically jump to the next print start position (0/0) from the last line which is printed. Print start position (V:0Dot、H:0Dotト) Page 1 FEED Print start position (V:0Dot、H:0Dotト) Page 2 Print start position (V:0Dot、H:0Dotト) Page N Maximum length of one page is 150 (in dots).
Unit 4: Standard Command Codes MODIFICATION COMMANDS CHARACTER, EXPANSION FUNCTION To independently expand characters in both the horizontal and vertical directions. The command allows enlargement of the base size of each font up to 12 times in either direction. FORMAT Laabb aa = Multiple to expand horizontally (01 to 12) bb = Multiple to expand vertically (01 to 12) Place preceding the data to be expanded.
Unit 4: Standard Command Codes CHARACTER, PITCH FUNCTION To designate the amount of spacing (in dots) between characters. This command provides a means of altering character spacing for label constraints or to enhance readability. FORMAT Paa aa = Number of dots between characters (00 to 99) Place preceding the text to be printed.
Unit 4: Standard Command Codes CHARACTER, FIXED SPACING FUNCTION To reset proportional spacing and place the printer back to fixed spacing. FORMAT PR Place preceding the fixed space data. EXAMPLE A H0100V0050PS L0202XMPROPORTIONAL SPACING H0100V0180PR L0202XMFIXED SPACING Q1 Z OUTPUT (4-3) NOTES This command only works with proportionally spaced fonts: XU, XM, XS, XL and XB.
Unit 4: Standard Command Codes ROTATE, FIXED BASE REFERENCE POINT FUNCTION To rotate the print direction in 90° increments without changing the location of the base reference point. The diagram below illustrates the use of the Rotate (%) command. Note that the entire print area is shown, but your label will probably not be as large as the entire area.
Unit 4: Standard Command Codes SEQUENTIAL NUMBERING FUNCTION To print sequential fields (text, bar codes) where all incrementing is done within the printer. Up to eight different sequential fields can be specified per label. Sequencing is effective for up to 99-digit numeric data within each field.
Unit 4: Standard Command Codes PRINT, LINES & BOXES FUNCTION To print horizontal lines, vertical lines, and boxes as images on the label.
Unit 4: Standard Command Codes REPLACE DATA (PARTIAL EDIT) FUNCTION To replace a specified area of the previous label with new data. This command will cause the previous label to print along with any changes specified within the current data stream.
Unit 4: Standard Command Codes COPY IMAGE AREA (PARTIAL COPY) FUNCTION To copy an image from one location to another on the same label. This may be useful for duplicating individual fields or entire sections of the label with only one command.
Unit 4: Standard Command Codes JOURNAL PRINTING FUNCTION To print text in a line by line format on a label. By specifying this command, you automatically select Font XS with a Character Expansion of 2x2. You also establish a base reference point of H2,V2. The character pitch is 2 dots and the line gap is 16 dots. Simply issue an ASCII at the end of each text line. FORMAT J Place immediately following A.
Unit 4: Standard Command Codes RECALL AND PRINT OF FONT & LOGO FUNCTION Calls and prints fonts and logos downloaded with the exclusive tool. FORMAT RF a = Font ID number (01 to 99) b = Print digit (1 to 9999) n = Print data Place after H but before Q1. EXAMPLE A H0100V0100RF020002,826B Q1 Z OUTPUT (4-11) NOTES Specify the value of Unicode for print data. When calling and printing a logo, specify Print digit: 0002, Print data: <6B82>16.
Unit 4: Standard Command Codes PRINT POSITION COMMANDS MEDIA SIZE FUNCTION To set the size of the media. FORMAT A1aaaabbbb aaaa = Label Height in dots (0 to Vmax) bbbb = Label Width in dots (0 to Hmax) Place in a separate data stream to the printer. INPUT A A00800384 Z OUTPUT This command does not result in printer output. It is used to automatically adjust the offset values for the size of label being used.
Unit 4: Standard Command Codes PRINT POSITION FUNCTION The Horizontal and Vertical commands specify the top left corner of a field or label, using the current base reference point as an origin. They also establish a reference point for subsequent fields until the next horizontal and/or vertical print position command is issued.
Unit 4: Standard Command Codes FONT COMMANDS FONTS: OA, OB, XB, XL, XS, XM, XU FUNCTION To print text images on a label. These are eight of the built-in fonts available on the printer. All matrices include descenders. FORMAT Font XB: XB Font XL: XL Font XU: XU Font OA: OA Font XS: XS Font OB: OB Font XM: XM Place preceding the data to be printed.
Unit 4: Standard Command Codes CG FONTS FUNCTION Agfa CGFont (only available on MB4i series) FORMAT RD a b b, c c c, d d d c n-n Parameter a (Font Type) = A (CG times) B (CG Triumvirate) b (Style) = 00 Fixed pitch c (Character width) = 004-999 in dots or P02-P99 in points d (Character height) = 004-999 in dots or P02-P99 n EXAMPLE (Data to print) = Data 1001002 A00 , P10 , P10 , SATO 2 NOTES Font size can be specified either in dots or points.
Unit 4: Standard Command Codes CG FONTS OUTPUT (4-14a) CG Times Font Character set “i” Programming Reference 4-21 PN: 9001158B
Unit 4: Standard Command Codes CG FONTS OUTPUT (4-14b) NOTES Font size can be specified either in dots or points. CG Triumvirate Font Character set Command is only valid for MB400i series.
Unit 4: Standard Command Codes DESIGNATION OF EXTERNAL CHARACTER FUNCTION Specifying to download external character. Using dots to Figure characters and symbols which are not registered in Kanji ROM and then registered in memory or other storage area, is definition of external character. This command is valid only on the MB4i printer.
Unit 4: Standard Command Codes SMOOTHING FONTS: XB, XL FUNCTION To print text images on a label. These are the four auto-smoothing fonts available on the printer. FORMAT Font XB: XBa Font XL: XLa a = 0: Disables auto-smoothing of font 1: Enables auto-smoothing of font (see notes below) Place preceding the data to be printed.
Unit 4: Standard Command Codes BARCODE COMMANDS BAR CODES FUNCTION To print bar code images on a label.
Unit 4: Standard Command Codes BAR CODES OUPUT (4-16a) (4-16b) NOTES UPC and EAN bar codes are not affected by the different types of narrow to wide ratios. Instead, the D command adds descender bars to these codes where needed to meet UPC specifications. The BD command puts desender bars and human readable text below the symbol. The Code 128, UCC 128, and Code 93 bar codes are not affected by the narrow to wide ratios.
Unit 4: Standard Command Codes BARCODE, HUMAN READABLE INFORMATION (HRI) FUNCTION Specifies the characrter type of human readable information (HRI) for barcode. FORMAT Dabbcccnn...nnn...n a = Barcode type 3: EAN13 4: EAN8 H: UPC-A b = Narrow bar width (01 to 12 dots) c = Barcode height (001 to 999 dots) n = Print data (barcode data) d = Character type specification (XU,XS, XM, XB, XL, OA, OB) n = Print data (HRI data) Place anywhere after V but before Q.
Unit 4: Standard Command Codes CODE93 FUNCTION Specifies CODE93 barcode. FORMAT BC a = Narrow bar width (01 to 12 dots) b = Barcode height (001 to 999 dots) n = Print data (barcode data) Place anywhere after V but before Q. EXAMPLE H0200V0200BC03100081234ABCD H0310V250XS1234ABCD OUTPUT (4-18) NOTES Refer to Appendix: Reference Table 11 for additional information.
Unit 4: Standard Command Codes CODE128 FUNCTION Specifies CODE128 barcode. FORMAT BGaabbbn~n a = Narrow bar width (01 to 12 dots) b = Barcode height (001 to 999 dots) n = Print data (barcode data) Place anywhere after V but before Q. EXAMPLE H0200V0550BG03100>GAB>B789>C123456 H0310V665XSAB789123456 OUTPUT (4-19) NOTES Specify Start Code at the head of the data.
Unit 4: Standard Command Codes POSTNET FUNCTION To print Postnet bar codes. FORMAT BPn...n n...n = 5 digits (Postnet-32 format) 6 digits (Postnet-37 format) 9 digits (Postnet-52 format) 11 digits (Postnet-62, Delivery Point format) Place immediately preceding the data to be encoded. EXAMPLE A H0100V0120BP94089 Q1 Z OUTPUT (4-20) NOTES If the number of data digits does not match those listed, the command is ignored. Only numeric data will be accepted.
Unit 4: Standard Command Codes EU FUNCTION Specifies the composite symbol of EAN/UCC. FORMAT EUaabbn...
Unit 4: Standard Command Codes EU NOTES The parameter feature varies depending on the 1D barcode symbology. The parameter for barcode height is only designable for UCC/EAN-128 (EU11, EU12). When the value in 1D barcode symbology is not set to the data portion, the composite symbol will not be printed. In this command, parameter for the print data can accept up to 120 digits for the sum of 1D and 2D data. For 2D data, when 1D barcode symbology and alphnumeric are mixed, the designable data size may vary.
Unit 4: Standard Command Codes 2D CODE COMMANDS PDF417 FUNCTION Specifies PDF417 of 2D code. FORMAT 2D10aabbcddeeffffDNgggg,h...
Unit 4: Standard Command Codes MICRO PDF417 FUNCTION Specifies Micro PDF417 of 2D code. FORMAT 2D12aa,bb,c,dd(,e)DN,n...n a = Minimum module width (01 to 09 dots) b = Minimum module height (01 to 24 dots) c = Word quantity per line (1 to 4 columns) d = Line quantity per symbol (2 rows) e = Binary mode 0: Normal 1: Binary Mode m = Data size in bytes (0001 to 0366) n = Print data Place anywhere after V but before Q.
Unit 4: Standard Command Codes MAXI CODE FUNCTION Specifies Maxi code of 2D code. FORMAT 2D20a, b, c, ddddddddd,DNmmm,n...
Unit 4: Standard Command Codes QR CODE FUNCTION Specifies QR Code of 2D code. FORMAT 2D30 (Model 2)DSk,n...n 2D31 (Model 1)DNmmmm,n...n a = Error correction level L: 7% M: 15% Q: 25% H: 30% b = Cell size in dots (01 to 32) c = Data setting mode 0: Manual 1: Automatic Print data specification will differ with the following setting. When Normal is specified, omit all following parameters. When Concatenation is specified, set all following parameters.
Unit 4: Standard Command Codes QR CODE EXAMPLE Error Correction Level: 7% Cell Size on One Side: 05 Data Setting Mode: Manual Concatenation Mode: Normal Example 2D30: A H0100V0100 2D30,L,05,0,0 DS1,012345 Q2 Z Example 2D31: A H0100V0100 2D31,a,bb,c,d DS3,n-n DNmmmm,n-n DS1,n-n Q1 Z OUTPUT (4-25) NOTES Data portions or commands (DX commands) must be specified after the parameter portions (2D3x).
Unit 4: Standard Command Codes MICRO QR CODE FUNCTION Specifies Micro QR Code of 2D code. FORMAT 2D32,a,bb,c DSk,n...n DNmm,n...n a = Error correction level L: 7% M: 15% Q: 25% b = Cell size on one side in dots (01 to 32) c = Data setting mode 0: Manual 1: Automatic DS: With the following parameter, the binary specification will still be available, but the data specification command will be different.
Unit 4: Standard Command Codes DATA MATRIX CODE (ECC200) FUNCTION Specifies Data Matrix Code of 2D code. FORMAT 2D50aabbcccdddDNmmmm,n...n a = Cell width in dots (01 to 06) b = Cell height in dots (01 to 16) c = Quantity of cells per row (000, fixed) d = Quantity of cell rows (000, fixed) m = Data size in binary (1 to 3116) n = Print data 7EH/00H: when printing 00H 7EH/7EH: when printing 7EH Place anywhere after V but before Q.
Unit 4: Standard Command Codes SYSTEM COMMANDS BUZZER ACTIVATION FUNCTION Activate/Deactivate buzzer. This command can be used on MB4i series only. FORMAT BU Parameter a = 0 : deactivated 1 : activated EXAMPLE 1 OUTPUT This command does not result in printer output. NOTES Place this command between Start code and End code. This command cannot be used in combination with other commands Check the setting currently valid on the test print.
Unit 4: Standard Command Codes PRINT SPEED FUNCTION To specify a unique print speed through software for a particular label. This allows flexibility in finding the best performance and quality for the particular label format, media, and ribbon. FORMAT CSa a = Designates the speed selection in ips Place immediately after A and immediately before Z in a separate data stream. Refer to the product manual for specific print speed increments.
Unit 4: Standard Command Codes PRINT DARKNESS FUNCTION To specify a new print darkness setting through software control for unique media and ribbon combinations. FORMAT #Ea a = Print Darkness Value Must be placed immediately after A and immediately before Z in its own separate data stream. Refer to the product manual for specific print speed increments. EXAMPLE A #E2 Z OUTPUT This command does not result in printer output.
Unit 4: Standard Command Codes 2-COLOR PRINTING FUNCTION Specifies the printing in two colors: black and red. FORMAT 2Sa a = Print color 0: Black 1: Red Place after A and Z. EXAMPLE A 2S1 H001V001 XMRED Q0001 Z 1. Designate start of data transmission 2. Designate two color print (red) 3. Designate test field: Print Position: Vertical 100 dots, Horizonal 30 dots Character Type: XM font Character Pitch: 2 dots 4. Designate text data (content 12345) 5.
Unit 4: Standard Command Codes BASE REFERENCE POINT FUNCTION To establish a new base reference point for the current label. The base reference point is the top left corner or “origin” from where all print position commands are based. This command may be very helpful when using labels less than two inches wide to place images on the printable label surface. It may also be used to move images past preprinted fields on a label. FORMAT A3H-aaaa-Vbbbb - = This character is optional.
Unit 4: Standard Command Codes OFFSET FUNCTION Temporarily specifies the label stop position for each mode of operation. FORMAT POabcc a = Offset 0: 1: 2: 3: b = Not used Dispenser mode Tear-Off mode Label pitch Offset direction +: Advance label feed -: Retract label feed c = Offset range in dots (00 to 99) Place after A but before V. EXAMPLE A PO3+08 Z OUTPUT This command does not result in printer output.
Unit 4: Standard Command Codes OFFLINE/PAUSE FUNCTION Specifies when, and under what circumstances, the printer goes into an off-line state. When used within a print job, the printer goes off-line after finishing the print job. FORMAT @ Place anywhere between A and Z. EXAMPLE A @ ...Job... Z OUTPUT This command does not result in printer output. The printer is placed in the Off-Line mode as soon as the current print job is finished.
Unit 4: Standard Command Codes EEPROM SETUP FUNCTION Registers the operation of the printer in EEPROM. FORMAT PG Place immediately after A. EXAMPLE A PG Z OUTPUT This command does not result in printer output. NOTES This command is not necessary with normal label printing. The operational settings specified are still in effect after powering off the printer. Refer to Appendix: Reference Table 29 for additional information.
Unit 4: Standard Command Codes SERIAL INTERFACE, CONFIGURATION FUNCTION Allows configuration of the RS232C Serial Interface. FORMAT I1abcd a = Baud rate 1: 9600 bps 2: 19200 bps 3: 38400 bps 4: 57600 bps 5: 115200 bps b = Parity 0: None 1: Odd 2: Even c = Flow control 0: Nil 1: Hardware (RTC/CTS) d = Unused 0: Fixed Place between A and before Z. EXAMPLE A I13000 Z OUTPUT This command does not result in printer output.
Unit 4: Standard Command Codes SERIAL INTERFACE, CONFIGURATION FUNCTION Allows configuration of the IrDA Interface. FORMAT I2abcde a = Baud rate 1: 9600 bps 2: 19200 bps 3: 38400 bps 4: 57600 bps 5: 115200 bps b = Parity 0: None 1: Odd 2: Even c = Transmission timeout in seconds 00 to 05: 5 06 to 99: 6 to 99 d = Transmission protocol 0: Standard 1: BHT 2: IrCOMM 3: IrOBEX e = Reserved 0: Fixed Place in separate data stream sent to the printer.
Unit 4: Standard Command Codes IRDA INTERFACE, DEVICE NAME CONFIGURATION FUNCTION Specifies the applicable IrDA device name. FORMAT I3a-a a = Device name in alphanumeric characters (1 to 32) Place between A and Z. EXAMPLE A I3PETIT-LAPIN Z OUTPUT This command does not result in printer output. NOTES Use this command with a A and Z separately. This command cannot beused in conjunction with other commands.
Unit 4: Standard Command Codes SENSOR TYPE FUNCTION To select a label sensing method for a print job. FORMAT IGa a = 0: Reflective (Eye-Mark) sensor 1: Transmissive (Gap) sensor Place in separate data stream sent to the printer. EXAMPLE A IG1 Z OUTPUT This command does not result in printer output. NOTES This command is not required to be specified for normal print operations.
Unit 4: Standard Command Codes PRINT MODE SELECTION FUNCTION To set the printing method used for a job FORMAT PMa a = 0: Continuous 1: Tear-Off Place in separate data stream sent to the printer. EXAMPLE A PM1 Z OUTPUT This command does not result in printer output. NOTES When the power is cycled, the value set by this command is lost and replaced by the default value stored in the EEPROM.
Unit 4: Standard Command Codes SYSTEM PRIORITY FUNCTION Priority setting to System / Command. This command is available only on MB4i series. FORMAT a Parameter a = 0 : Priority assigned to command 1 : Priority assigned to system setting EXAMPLE 1 OUTPUT This command does not result in printer output. NOTES 1. Place this command between Start code and End code. 2. This command cannot be used in combination with other commands. 3.
Unit 4: Standard Command Codes GRAPHIC COMMANDS GRAPHICS, CUSTOM FUNCTION To create and print custom graphics (logos, pictures, etc.) on a label. FORMAT Gabbbccc(data) a = Specifies format of data stream to follow B Binary format H Hexadecimal format bbb = Number of horizontal 8 x 8 blocks ccc = Number of vertical 8 x 8 blocks (data) = Hex data to describe the graphic image Place anywhere within the data stream after the necessary position commands.
Unit 4: Standard Command Codes GRAPHICS, BMP FILE FUNCTION To allow the creation and printing of graphic images using a BMP file format. FORMAT GMaaaaa,(data) aaaaa = Number of bytes to be downloaded and printed Place anywhere within the job data stream. EXAMPLE A V0100H0100GM03800,(...Data...) Q1 Z OUTPUT (4-31) NOTES The maximum number of bytes that can be downloaded is 32K (compressed) and includes the BMP header information.
Unit 4: Standard Command Codes MEMORY STORE/RECALL COMMANDS FORM OVERLAY, STORE FUNCTION To store fixed print contents to the memory card. FORMAT &S,aa,bbbb,cccc aa = Store number (01 to 99) bbbb = Horizontal size of window (50 to H max) cccc = Vertical size of window (50 to V max) Place immediately following the CC Memory Area Select command. EXAMPLE A CC1 &S,01 Z OUTPUT There is not a printer output as a result of this command.
Unit 4: Standard Command Codes FORM OVERLAY, STORE Example A: Normal Operation A V100H100P2L0202 XMABCD V60H60 FW0808V800H200 V320H60 FW04H200 &S1 Z Example B: When window size is specified A A1800400 V100H00P2L0202 XMABCD &S, 1, 20, 200 Z Example C: When print is specified after &S A V100H100P2L0202 XMABCD V60H60 FW0808V800H200 V320<
Unit 4: Standard Command Codes FORM OVERLAY, RECALL FUNCTION To recall the label image from stored in the Expanded Memory. FORMAT &R,aa aa = Storage number (01 to 99) Place immediately following the CC Memory Area Select command. EXAMPLE A &R,01 Q1Z OUTPUT There is not a printer output as a result of this command. NOTES The Expanded Memory option is required fro this command. Several images stored under different storage numbers can be printed with this command.
Unit 4: Standard Command Codes FORMAT/FIELD, STORE FUNCTION To store a format field description in the memory card. FORMAT YS,aa aa = Format number to be stored (01 to 99) bb = Field number to be stored (01 to 99) cc...c = Field length to be stored (01 to 99) Place immediately following the CC Memory Area Select command. EXAMPLE A CC1 YS,02 V0200H0200XB1 Z OUTPUT There is no printer output as a result of this command.
Unit 4: Standard Command Codes FORMAT/FIELD, RECALL FUNCTION To recall a field from a stored format and place new data in the field. FORMAT YR,aa aa = Format number to be recalled (01 to 99) bb = Field number to be recalled (01 to 99) cc...c = Data to placed in the recalled field Place immediately following the CC Slot Select command. EXAMPLE A YR,02 Q1Z OUTPUT (4-33) NOTES Only one format can be recalled at a time.
Unit 4: Standard Command Codes CUSTOM GRAPHICS, STORE FUNCTION To provide similar functionality to the G Custom Graphic command, but allows for the graphic image to be stored on the printer. Use the Store command to send the graphic data to the printer’s memory.
Unit 4: Standard Command Codes CUSTOM GRAPHICS, RECALL FUNCTION Use the Recall command any time you want to print a graphic image on a label along with other printed data. FORMAT GRaaa aaa = Storage number (001 to 999) The Recall command is sent in a secondary data stream to print the graphic, and follows any necessary position or size commands.
Unit 4: Standard Command Codes BMP FILE, STORE FUNCTION To store for printing a graphic file in a BMP format in the memory. FORMAT GTaaa,bbbbb,nn...n aaa = Storage number (001 to 999) bbbbb = Size of BMP file in bytes nn..n+ = Data Place within its own data stream specifying the placement of the graphic. EXAMPLE A GT001, 12345, nn...n Q1Z OUTPUT There is no printer output as a result of this command. NOTES Data must be sent in binary format.
Unit 4: Standard Command Codes BMP FILE, RECALL FUNCTION To recall a previously stored BMP file stored in memory. FORMAT GCaaa aaa = Storage number (001 to 999) Place after V, H but before Q. EXAMPLE A V100H100 GC001 Q1Z OUTPUT (4-35) NOTES The printed image can be expanded or rotated.
Unit 4: Standard Command Codes CLEAR PRINT JOBS & MEMORY FUNCTION To clear individual memory or buffer areas of the printer. FORMAT *a (Format 1) a = Item to be cleared T: Registered area of external character (clears entire external character data with Registration of External Character (T1/T2). *a,bbb (Format 2) a = Item to be cleared G: SATO graphic (clears with Registration of Graphic (GI). M: BMP file (clears BMP with Registration of BMP File (GT).
Unit 4: Standard Command Codes “i” Programming Reference 4-66 PN: 9001158B
Unit 5: Optional Command Codes OPTIONAL COMMAND CODES • • “i” Programming Reference Bluetooth Commands WLAN Commands 5-1 PN: 9001158B
Unit 5: Optional Command Codes BLUETOOTH COMMANDS PIN CODE, SETTING FUNCTION Allows the establishment of a password PIN code. This feature only becomes valid if the Authentification Mode security level is set to 2 or 3. FORMAT I6a-a a = PIN code: ASCII codes other than control codes 20H to 7EH (up to 16 alphanumeric characters 20H to 7EH). EXAMPLE A I61234567890123456 Z OUTPUT This command does not result in printer output.
Unit 5: Optional Command Codes AUTHENTICATION MODE, CONFIGURATION FUNCTION Specifies the parameters related to Bluetooth authentication mode search and connectivity.
Unit 5: Optional Command Codes DEVICE NAME, CONFIGURATION FUNCTION Specifies the applicable Bluetooth device name. FORMAT I8a a = Device name settings: ASCII characters other than control codes 20H to 7EH (1 to 20 alphanumeric characters). Place after A and before Z. EXAMPLE A I8PRINTER_No.1 Z OUTPUT This command does not result in printer output. NOTES This command is only valid for printers conforming to Bluetooth specifications.
Unit 5: Optional Command Codes WLAN COMMANDS EAP AUTHENTICATION SPECIFICATION FUNCTION Specifies authentication method. FORMAT WCa a = Specification 0: Not used 1: EAP-MD5 2: EAP-TLS 3: EAP-PEAP Place after A and before Z. EXAMPLE A WC1 Z OUTPUT This command does not result in printer output. NOTES This command is only valid for printers conforming to WLAN specifications.
Unit 5: Optional Command Codes PASSWORD SPECIFICATION FUNCTION Allows specification of the authentication password PIN code. FORMAT WEa-a a = Password in alphanumeric characters (32 maximum) Place after Z and before Z. EXAMPLE A WE1234 Z OUTPUT This command does not result in printer output. NOTES This command is only valid for printers conforming to WLAN specifications.
Unit 5: Optional Command Codes SECRET KEY SPECIFICATION FUNCTION Allows specification of the secret key. FORMAT WFa-a a = Secret key in alphanumeric characters (0 to 32) Place after A and before Z. EXAMPLE A WFAbCd1122 Z OUTPUT This command does not result in printer output. NOTES This command is only valid for printers conforming to WLAN specifications.
Unit 5: Optional Command Codes SOCKET PORT NUMBER SETTINGS FUNCTION Allows specification of the socket port (communications port). FORMAT WGaaaa a = Socket port in numeric digits (4 fixed) Place after A and before Z. EXAMPLE A WG9100 Z OUTPUT This command does not result in printer output. NOTES This command is only valid for printers conforming to WLAN specifications.
Unit 5: Optional Command Codes USER NAME SPECIFICATION FUNCTION Allows the specification of a username to be used for access. FORMAT WHa-a a = Username: an array of characters (1 to 16) Place after A and before Z. EXAMPLE A WHpetit-lapin Z OUTPUT This command does not result in printer output. NOTES This command is only valid for printers conforming to WLAN specifications.
Unit 5: Optional Command Codes IP SETUP SETTINGS FUNCTION Specifies the method of entry for IP address setup. FORMAT WIa a = Method 0: Manual 1: DHCP Place before A and before Z. EXAMPLE A WI1 Z OUTPUT This command does not result in printer output. NOTES This command is only valid for printers conforming to WLAN specifications.
Unit 5: Optional Command Codes IP ADDRESS SPECIFICATION FUNCTION Sets the IP address. FORMAT W1a-a a = Settings without decimals up to 12 places. Place after A and before Z. EXAMPLE A W1128220000040 Z OUTPUT This command does not result in printer output. NOTES This command is only valid for printers conforming to WLAN specifications.
Unit 5: Optional Command Codes SUBNET MASKINGS SPECIFICATION FUNCTION Sets the subnet mask settings. FORMAT W2a-a a = Settings without decimals up to 12 places. Place after A and before Z. EXAMPLE A W2255255255000 Z OUTPUT This command does not result in printer output. NOTES This command is only valid for printers conforming to WLAN specifications.
Unit 5: Optional Command Codes DEFAULT GATEWAY SPECIFICATION FUNCTION Sets the gateway settings. FORMAT W3a-a a = Settings without decimals up to 12 places. Place after A and before Z. EXAMPLE A W3128220001001 Z OUTPUT This command does not result in printer output. NOTES This command is only valid for printers conforming to WLAN specifications.
Unit 5: Optional Command Codes SSID SPECIFICATION FUNCTION Sets the SSID settings. FORMAT W4a-a a = Alphabet letters along with hyphens (-) and underbars (_) may be used (32 characters maximum) Place after A and before Z. EXAMPLE A W4PETIT-LAPIN Z OUTPUT This command does not result in printer output. NOTES This command is only valid for printers conforming to WLAN specifications.
Unit 5: Optional Command Codes CHANNEL SPECIFICATION FUNCTION Allows the specification of the channel to be used. FORMAT W5aa a = Channel using 2 numeral digits (01 to 14) Place after A and before Z. EXAMPLE A W502 Z OUTPUT This command does not result in printer output. NOTES This command is only valid for printers conforming to WLAN specifications.
Unit 5: Optional Command Codes WLAN MODE SPECIFICATION FUNCTION Specifies the Wireless LAN mode. FORMAT W6a a = Mode 1: AdHoc 2: Infrastructure Place after A and before Z. EXAMPLE A W62 Z OUTPUT This command does not result in printer output. NOTES This command is only valid for printers conforming to WLAN specifications.
Unit 5: Optional Command Codes SECURITY FUNCTION SPECIFICATION FUNCTION Specifies the mode of security. FORMAT W7a a = Security function 0: None 1: WEP 2: WPA Place after A and before Z. EXAMPLE A W71 Z OUTPUT This command does not result in printer output. NOTES This command is only valid for printers conforming to WLAN specifications.
Unit 5: Optional Command Codes WEP KEY SPECIFICATION FUNCTION Specifies the WEP key. FORMAT W8ab-b a = Form selection A: ASCII B: HEX b = WEP key ASCII: 5 or 13 characters HEX: 10 or 26 characters Place after A and before Z. EXAMPLE A W8A0123456789abc Z OUTPUT This command does not result in printer output. NOTES This command is only valid for printers conforming to WLAN specifications.
Unit 5: Optional Command Codes AUTHENTIFICATION SPECIFICATION FUNCTION Specifies the authentication function. FORMAT W9a a = Function 0: WPA-PSK 1: EAP Place after A and before Z. EXAMPLE A W90 Z OUTPUT This command does not result in printer output. NOTES This command is only valid for printers conforming to WLAN specifications.
Unit 5: Optional Command Codes “i” Programming Reference 5-20 PN: 9001158B
Unit 6: Bi-Directional Communications BI-DIRECTIONAL COMMUNICATIONS • • • “i” Programming Reference Introduction Return Status Enquire & Response 6-1 PN: 9001158B
Unit 6: Bi-Directional Communications INTRODUCTION Bi-Directional communications is a two-way communications protocol between the host and the printer enabling the host to monitor and control the printer’s operational status. GENERAL CONFIGURATION Refer to Appendix: Reference Table 40 for printer configuration commands. RECEIVE BUFFER This protocol controls information such as reception, print, and cancelation for every item.
Unit 6: Bi-Directional Communications RETURN STATUS The printer’s status and response will be returned to the host through this interface protocol by receiving two command types; the status request and print commands. STATUS REQUEST COMMAND When this command is received, the Job ID Number of the receive data under print, the printer status, and the remaining print numbers will be returned to the host. When printing is complete, all “0” (HEX 30H) will be returned.
Unit 6: Bi-Directional Communications *1) When printer receives status request command during printing, the status of after printing end is returned. *2) When in standby for a dispense, status is reflected after printing a label. RETURN STATUS/FORMAT STX ID NUMBER STATUS REMAINING PRINT NUMBER ETX 000000 To 999999 Job ID specified by the command IDxx will be displayed for the current job being printed. If the ID is not specified, this will display as two spaces.
Unit 6: Bi-Directional Communications ENQUIRE & RESPONSE ENQUIRE (ENQ) Upon receipt of an ENQ command, the printer responds with status information bounded by an STX/ETX pair. The status information is defined as follows: { # Byte ID }{ # Status Byte }{ # Byte Label Remaining }{ # Byte Job Name } ID Identifies the current print job ID. Is defined using the Job ID (ID) command transmitted with the print job. Status Defines the current status of the printer.
Unit 6: Bi-Directional Communications MG RETURN STATUS TABLE NUMBER ITEM CONTENT BYTES 00H Label Print Mode 01H Journal Print Mode 02H Two-Color Label Print Mode 03H Two-Color Journal Print Mode 04H Linerless Print Mode 1 5 Print Mode 6 Not Used 00H Fixed 1 7 Not Used 00H Fixed 1 Darkness A: (41H).A B: (42H).B C: (43H).
Unit 6: Bi-Directional Communications SENSOR STATUS (SG) Receipt of SOH followed by SG causes the printer to return information bounded by an STX-ETX pair that reports the current operating status of the printer’s sensors. RETURN STATUS/FORMAT STX EYE-MARK SENSOR LEVEL GAP SENSOR LEVEL HEAD-OPEN SENSOR DISPENSER SENSOR ETX 6+ Bytes Figure 6-2, Return Status/Format Diagram SG RETURN STATUS TABLE NUMBER ITEM CONTENT BYTES 1 Eye-Mark Sensor Level AD conversion value.0.255.
Unit 6: Bi-Directional Communications INTERFACE STATUS (IG) Receipt of SOH followed by IG causes the printer to return information bounded by an STX-ETX pair that reports the type of interface connection currently set. RETURN STATUS/FORMAT STX INTERFACE CONNECTION TYPE ETX 3 Bytes Figure 6-4, Return Status/Format Diagram IG RETURN STATUS TABLE NUMBER 1 ITEM CONTENT BYTES Interface Connection Type 0.00H (Not used) 1.01H (Serial) 2.02H (Wireless LAN) 3.03H (Not used) 4.04H (IrDA) 5.
Unit 6: Bi-Directional Communications SYSTEM VERSION INFORMATION (SB) Receipt of SOH followed by SB causes the printer to return information bounded by an STX-ETX pair that reports the system version of the printer.
Unit 6: Bi-Directional Communications “i” Programming Reference 6-10 PN: 9001158B
Unit 7: Appendix APPENDIX • • • “i” Programming Reference Custom Graphics Print Configuration Commands Reference Tables 7-1 PN: 9001158B
Unit 7: Appendix CUSTOM GRAPHICS CUSTOM GRAPHICS EXAMPLE The following example is presented to help you understand the use of the Custom Graphics command. It demonstrates the design and printing of a diskette in a 48 x 48 matrix. 1. Determine the matrix size for the graphic. It must be in 8 dot by 8 dot blocks. The example here has six blocks horizontally and six blocks vertically (48 x 48). 2. Lay out a grid and draw the image on the grid.
Unit 7: Appendix 1 11111111 11111111 11000000 11000000 11000000 11000000 11000000 11000000 11000000 11000000 11000000 11000000 11000000 11000000 11000000 11000000 11000000 11000000 11000000 11000000 11000000 11000000 11000000 11000000 11000000 11000000 11000000 11000000 11000000 11000000 11000000 11000000 11000000 11000000 11000000 11000000 11000000 11000000 11000000 11000000 11000000 11000000 11000000 11000000 11000000 11000000 11111111 11111111 4.
Unit 7: Appendix CLS OPEN .COM2:9600,N,8,1,CS,DS. FOR OUTPUT AS #1E$ = CHR$(27) PRINT #1,CHR$(2); E$; .A.; E$; .V0100"; E$; .H0100"; E$; .
Unit 7: Appendix CLOSE #1 The printer output for both the hexadecimal and binary format example is: PCX GRAPHICS EXAMPLE A graphics file in a PCX format may also be transmitted to the printer. The file must not be larger than 32K bytes (DOS file size reported in a DIR listing). For example, the WIZ.PCX image shown below has a file size of 15076 bytes. The uncompressed size (PCX is a compressed file) of the file must not be greater than 64K bytes.
Unit 7: Appendix PRINTER CONFIGURATION COMMANDS PRINTER CONFIGURATION COMMANDS NUMBER SPECIFICATION DESCRIPTION BYTES 1 Print Method 00H: Thermal Transfer 01H: Direct Thermal 1 2 Head Density 00H: 01H: 02H: 8 dots/mm 12 dots/mm 24 dots/mm 1 3 Print Speed 00H: 01H: 02H: 03H: 04H: 05H: 06H: 07H: 08H: 09H: 0AH: 2 inch/sec 3 inch/sec 4 inch/sec 5 inch/sec 6 inch/sec 7 inch/sec 8 inch/sec 9 inch/sec 10 inch/sec 11 inch/sec 12 inch/sec 1 4 Printing Mode 00H: 01H: 02H: 03H: 04H: 5 Cutter Mod
Unit 7: Appendix PRINTER CONFIGURATION COMMANDS NUMBER SPECIFICATION 25 Gap Betwwen Labels 26 Buzzer Setup “i” Programming Reference DESCRIPTION 00H to 40H (0-64 dots) 00H to 60H (0-96 dots) 00H to C0H (0-192 dots) 00H: Yes 01H: No BYTES 1 1 7-7 PN: 9001158B
Unit 7: Appendix REFERENCE TABLES TABLE 1: CHARACTER FONT SET (XU) W5 X H9 CHARACTER SIZE, 12 DOTS/MM HEAD DENSITY, THREE-FOLD HEIGHT/WIDTH “i” Programming Reference 7-8 PN: 9001158B
Unit 7: Appendix TABLE 2: CHARACTER FONT SET (XS) W17 X H17 CHARACTER SIZE, 12 DOTS/MM HEAD DENSITY, TWO-FOLD HEIGHT/WIDTH “i” Programming Reference 7-9 PN: 9001158B
Unit 7: Appendix TABLE 3: CHARACTER FONT SET (XM) W24 X H24 CHARACTER SIZE, 12 DOTS/MM HEAD DENSITY, ONE-FOLD HEIGHT/WIDTH “i” Programming Reference 7-10 PN: 9001158B
Unit 7: Appendix TABLE 4: CHARACTER FONT SET (XB) W48 X H48 CHARACTER SIZE, 12 DOTS/MM HEAD DENSITY, ONE-FOLD HEIGHT/WIDTH “i” Programming Reference 7-11 PN: 9001158B
Unit 7: Appendix TABLE 5: CHARACTER FONT SET (XL) W48 X H48 CHARACTER SIZE, 12 DOTS/MM HEAD DENSITY, ONE-FOLD HEIGHT/WIDTH “i” Programming Reference 7-12 PN: 9001158B
Unit 7: Appendix TABLE 6: CHARACTER FONT SET (OA) W24 X H24 CHARACTER SIZE, 12 DOTS/MM HEAD DENSITY, ONE-FOLD HEIGHT/WIDTH “i” Programming Reference 7-13 PN: 9001158B
Unit 7: Appendix TABLE 7: CHARACTER FONT SET (OB) W24 X H24 CHARACTER SIZE, 12 DOTS/MM HEAD DENSITY, ONE-FOLD HEIGHT/WIDTH “i” Programming Reference 7-14 PN: 9001158B
Unit 7: Appendix TABLE 8: BARCODE TYPE (B) A 0 BARCODE NW-7 (Codabar) DESCRIPTION RATIO Set print data including the Start/Stop characters. A, B, C, D, E, N, T, a, b, c, d, e, n, t. When the barcode print data is [123], specify [A123A]. Barcode character pitch is enabled. For print data, refer to the NW-7 code table. 1:3 Set print data to include the Start/Stop Character [*]. When the barcode print data is [12345], specify [*12345*].
Unit 7: Appendix TABLE 9: BARCODE TYPE (BD) A 0 BARCODE NW-7 (Codabar) DESCRIPTION RATIO Set print data including the Start/Stop characters. A, B, C, D, E, N, T, a, b, c, d, e, n, t. When the barcode print data is [123], specify [A123A]. Barcode character pitch is enabled. For print data, refer to the NW-7 code table. 2:5 Set print data to include the Start/Stop Character [*]. When the barcode print data is [12345], specify [*12345*].
Unit 7: Appendix TABLE 10: BARCODE TYPE (D) A 0 BARCODE NW-7 (Codabar) DESCRIPTION RATIO Set print data including the Start/Stop characters. A, B, C, D, E, N, T, a, b, c, d, e, n, t. When the barcode print data is [123], specify [A123A]. Barcode character pitch is enabled. For print data, refer to the NW-7 code table. 1:2 Set print data to include the Start/Stop Character [*]. When the barcode print data is [12345], specify [*12345*].
Unit 7: Appendix TABLE 11: CHARACTER FONT SET (BC) W24 X H24 CHARACTER SIZE, 12 DOTS/MM HEAD DENSITY, ONE-FOLD HEIGHT/WIDTH “i” Programming Reference 7-18 PN: 9001158B
Unit 7: Appendix TABLE 12: CODE128 DATA VALUES (BG) VALUE SUBSET A SUBSET B SUBSET C VALUE SUBSET A SUBSET B SUBSET C 0 SP SP 00 36 D D 36 1 ! ! 01 37 E E 37 38 2 “ “ 02 38 F F 3 # # 03 39 G G 39 4 $ $ 04 40 H H 40 5 % % 05 41 I I 41 6 & & 06 42 J J 42 7 ‘ ‘ 07 43 K K 43 8 . .
Unit 7: Appendix TABLE 12: CODE128 DATA VALUES (BG) VALUE SUBSET A SUBSET B SUBSET C VALUE SUBSET A SUBSET B SUBSET C 84 DC4 >4 t >4 84 101 FNC4 >E Subset A >E Subset A >E 85 NAK >5 u >5 85 102 FNC1 >F FNC1 >F FNC1 >F 86 SYN >6 v >6 86 103 SUBSET A START CODE >G 87 ETB >7 w >7 87 104 SUBSET B START CODE .
Unit 7: Appendix TABLE 13: CHARACTER FONT SET (2D10) W24 X H24 CHARACTER SIZE, 12 DOTS/MM HEAD DENSITY, ONE-FOLD HEIGHT/WIDTH “i” Programming Reference 7-21 PN: 9001158B
Unit 7: Appendix TABLE 14: BARCODE TYPE (2D12) COLUMNS 1 2 3 4 ROWS ALPHABET ONLY NUMERIC ONLY BINARY MODE 11 6 8 3 14 12 17 7 17 18 26 10 20 22 32 13 24 30 44 18 28 38 55 22 8 14 20 8 11 24 35 14 14 36 52 21 17 46 67 27 20 56 82 33 23 64 93 38 26 72 105 43 6 10 14 6 8 18 26 10 10 26 38 15 12 34 49 20 15 46 67 27 20 66 96 39 26 90 132 54 32 114 167 68 38 138 202 82 44 162 237 97 4 14 20 8 6 22 32
Unit 7: Appendix TABLE 15: CHARACTER FONT SET (2D12) W24 X H24 CHARACTER SIZE, 12 DOTS/MM HEAD DENSITY, ONE-FOLD HEIGHT/WIDTH “i” Programming Reference 7-23 PN: 9001158B
Unit 7: Appendix TABLE 16: CHARACTER FONT SET (2D20) W24 X H24 CHARACTER SIZE, 12 DOTS/MM HEAD DENSITY, ONE-FOLD HEIGHT/WIDTH “i” Programming Reference 7-24 PN: 9001158B
Unit 7: Appendix TABLE 17: CODE128 DATA VALUES (2D30) VERSION 21 22 23 24 25 26 27 28 29 30 ERROR CORRECTION NUMERIC ALPHANUMERIC BINARY VERSION ERROR CORRECTION NUMERIC ALPHANUMERIC BINARY L 2232 1352 929 L 4417 2677 1840 M 1708 1035 711 M 3486 2113 1482 Q 1224 742 509 Q 2473 1499 1030 H 969 587 403 H 1897 1150 790 L 2409 1460 1003 L 4686 2840 1952 M 1872 1134 779 M 3693 2238 1538 1112 31 32 Q 1358 823 565 Q 2670 1618 H 105
Unit 7: Appendix TABLE 18: CODE128 DATA VALUES (2D31) VERSION 1 2 3 4 5 6 7 ERROR CORRECTION NUMERIC ALPHANUMERIC BINARY VERSION ERROR CORRECTION NUMERIC ALPHANUMERIC BINARY L 40 24 17 L 493 299 206 M 33 20 14 M 378 229 158 Q 25 15 11 Q 301 183 126 H 16 10 7 H 203 123 85 L 81 49 34 L 585 354 244 M 66 40 28 M 441 267 184 Q 52 31 22 H 33 20 14 8 9 Q 369 223 154 H 239 145 100 L 131 79 55 L 690 418 287 M 100 60 4
Unit 7: Appendix TABLE 19: CHARACTER FONT SET (2D32) W24 X H24 CHARACTER SIZE, 12 DOTS/MM HEAD DENSITY, ONE-FOLD HEIGHT/WIDTH “i” Programming Reference 7-27 PN: 9001158B
Unit 7: Appendix TABLE 20: CHARACTER FONT SET (2D32) W24 X H24 CHARACTER SIZE, 12 DOTS/MM HEAD DENSITY, ONE-FOLD HEIGHT/WIDTH “i” Programming Reference 7-28 PN: 9001158B
Unit 7: Appendix TABLE 21: CHARACTER FONT SET (2D32) W24 X H24 CHARACTER SIZE, 12 DOTS/MM HEAD DENSITY, ONE-FOLD HEIGHT/WIDTH “i” Programming Reference 7-29 PN: 9001158B
Unit 7: Appendix TABLE 22: CHARACTER FONT SET (2D50) W24 X H24 CHARACTER SIZE, 12 DOTS/MM HEAD DENSITY, ONE-FOLD HEIGHT/WIDTH “i” Programming Reference 7-30 PN: 9001158B
Unit 7: Appendix TABLE 23: PARAMETERS (PG) # ITEM DESCRIPTION a Print Speed 1: 75mm/sec (maximum) 2: 103mm/sec (maximum) b Print Darkness Level 1: 2: 3: 4: 5: Lightest Light Normal Dark Darkest c Print Darkness Range A through C d Backfeed 1; Motion 1 (head position) 2: Motion 2 (dispensing position) 3: No backfeed e Zero Slash 0: Disable 1: Enable f Kanji code 0: JIS code 1: Shift JIS code g Initial Feed 0: Disable 1: Enable h Proportional Pitch 0: Release of Proportional P
Unit 7: Appendix “i” Programming Reference 7-32 PN: 9001158B