SATO MB200i Programming Reference Manual

SATO MB200i Programming Reference Manual

Hide thumbs Also See for MB200i:
Table of Contents

Advertisement

"i" PROGRAMMING REFERENCE
For printer models:
MB200i / MB400i / MB410i
PN: 9001158(B)
www.satoamerica.com

Advertisement

Table of Contents
loading

Summary of Contents for SATO MB200i

  • Page 1 “i” PROGRAMMING REFERENCE For printer models: MB200i / MB400i / MB410i PN: 9001158(B) www.satoamerica.com...
  • Page 2 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. All rights reserved PN: 9001158B...
  • Page 3: Table Of Contents

    TABLE OF CONTENTS INTRODUCTION About This Manual Print Area Calculation PROGRAMMING CONCEPTS Programming Language Selecting Protocol Codes Using Basic Print Position Commands COMMAND CODE QUICK REFERENCE <ESC>A Start Label <ESC>A1 Media Size <ESC>&R Form Overlay, Recall <ESC>&S Form Overlay, Store <ESC>* Clear (Memory Card) <ESC>@...
  • Page 4 <ESC>QS System Priority <ESC>RD CG Fonts <ESC>RF Recall and Print of Font & Logo <ESC>T External Character <ESC>2D10/15 PDF417 <ESC>2D12 Micro PDF417 <ESC>2D20 Maxi Code <ESC>2D30 QR Code (Model 2) <ESC>2D31 QR Code (Model 1) 3-10 <ESC>2D32 Micro QR Code 3-10 <ESC>2D50 Data Matrix Code (ECC200)
  • Page 5 <ESC>XB XB Font 4-19 <ESC>XL XL Font 4-19 <ESC>XM XM Font 4-19 <ESC>XS XS Font 4-19 <ESC>XU XU Font 4-19 <ESC>OA OCR-A Font 4-19 <ESC>OB OCR-B Font 4-19 <ESC>RD CG Fonts 4-20 <ESC>T External Character 4-23 <ESC>XB Smoothing 4-24 <ESC>XL Smoothing 4-24 Barcode Commands...
  • Page 6 <ESC>WG Socket Port Number Settings <ESC>WH User Name Specification <ESC>WI IP Setup Method Specification 5-10 <ESC>W1 IP Address 5-11 <ESC>W2 Subnet Maskings 5-12 <ESC>W3 Default Gateway Specification 5-13 <ESC>W4 SSID Settings 5-14 <ESC>W5 Channel Specification 5-15 <ESC>W6 WLAN Specification 5-16 <ESC>W7 Security Function Specification 5-17...
  • Page 7: About This Manual

    Unit 1: Introduction INTRODUCTION • About This Manual • Print Area Calculation “i” Programming Reference PN: 9001158B...
  • Page 8: About This Manual

    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.
  • Page 9: Print Area Calculation

    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;...
  • Page 10 Unit 1: Introduction Print Head LABEL LABEL Label Width Print Offset Maximum Printable Width New Base Reference Point Initial Base Reference Point Figure 1-1, Print Area Calculation “i” Programming Reference PN: 9001158B...
  • Page 11 Unit 2: Programming Concepts PROGRAMMING CONCEPTS • Programming Language • Selecting Protocol Codes • Using Basic • Print Position Commands i Programming Reference PN: 9001158B...
  • Page 12: 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 <STX>, <ETX>, <ESC>) and printable characters.
  • Page 13: Selecting Protocol Codes

    Unit 2: Programming Concepts SELECTING PROTOCOL CODES Protocol codes are the special control characters that prepare the printer to receive instructions. For example, the <ESC> character tells the printer that a command code will follow and the <ENQ> character asks for the printer status.
  • Page 14: Using Basic

    Sends an “<ESC>A” command code to Print Port #1 opened by statement 20 above. 60 PRINT#1, E$; "H400"; E$; "V100"; Sends the data “SATO” to be placed 400 dots horizontally "XL1SATO" and 100 dots vertically on the label and printed in the“XL”...
  • Page 15: Print Position 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 (<ESC>A1) allows specification of the label width and length so the printer may autmatically adjust itself relative to the command entry.
  • Page 16 Base Reference Point command description. EXAMPLE: <ESC>A <ESC>H0050<ESC>V0100<ESC>L0303<ESC>XMSATO <ESC>H0050<ESC>V0200<ESC>B103100*SATO* <ESC>H0070<ESC>V0310<ESC>L0101<ESC>XUSATO <ESC>Q1<ESC>Z If using a 2 inch wide label, the entire image may not appear on the label. By adding the following Base Reference Point command to the second line of the data stream, the base reference point will be changed, causing the image to shift toward the inside of the printer where it can be printed on the narrower label.
  • Page 17 Unit 3: Code Quick Reference COMMAND QUICK REFERENCE • A through Z (all commands) “i” Programming Reference PN: 9001158B...
  • Page 18 *a,bbb Clear Memory Card. Clears data stored on memory card. Memory section to be cleared. G: SATO graphics file (001 to 999) F: Stored formats (001 to 999) R: BMP graphic file (001 to 999) Storage location to clear (001 to 999) @,nn...n...
  • Page 19 Unit 3: Code Quick Reference COMMAND QUICK REFERENCE INSTRUCTION DESCRIPTION Babbcccd Bar Codes. Prints a 1:3 ratio barcode. 0: Codabar 1: Code 39 2: Interleaved 2 of 5 (I 2/5) 3: UPC-A/EAN-13 4: EAN-8 5: Industrial 2 of 5 7: reserved 8: reserved 9: reserved B: reserved...
  • Page 20 Unit 3: Code Quick Reference COMMAND QUICK REFERENCE INSTRUCTION DESCRIPTION Buzzer Activation. Activate/Deactivate buzzer. This command can be used only on an MB4i printer. 0: deactivated 1: activated Print Speed Selection. Specifies a unique print speed in in./sec. through software for a particular label.
  • Page 21 Unit 3: Code Quick Reference COMMAND QUICK REFERENCE INSTRUCTION DESCRIPTION FWaabbVcccHdddd Box. Prints a box. For values aa, bbbb, cc, and dddd, see instructions for horizontal and vertical lines. Units of measurement are dots. Width of horizontal side Width of vertical side cccc Length of vertical side dddd...
  • Page 22 Unit 3: Code Quick Reference COMMAND QUICK REFERENCE INSTRUCTION DESCRIPTION Sensor Type Selection. Selects the sensor type. 0: Reflective (Eye-Mark) sensor. 1: Transmissive (See-Thru) sensor 2: Sensor not used Serial Interface, Configuration. Sets the operating parameters for the Serial RS232C interface.
  • Page 23 Unit 3: Code Quick Reference COMMAND QUICK REFERENCE INSTRUCTION DESCRIPTION Rotate, Fixed Base Reference Point. 0: Sets print to normal direction. 1: Sets print to 90 degrees counter-clockwise. 2: Sets print to 180 degrees rotated (upside down) 3: Sets print to 270 degrees counter-clockwise (90x CW). EEPROM Setup.
  • Page 24 Unit 3: Code Quick Reference COMMAND QUICK REFERENCE INSTRUCTION DESCRIPTION External Character. Specifies to download external character. [External Character type] = 1:16x16 (Ascii Code Specification) (Single- digit Specification) 2:24x24 3:22x22 [Number of Font Registration] = 01-95 (Ascii Code Specification) (Double-digit Specification) [External Character Code] = 21(H) - 7F(H) (Binary Code Specification) [External Character Font Data]= 16x16: 32 Bytes...
  • Page 25 Unit 3: Code Quick Reference COMMAND QUICK REFERENCE INSTRUCTION DESCRIPTION 2D20 Maxi Code. Specifies Maxi Code of 2D code. Mode 2: Delivery only (numeric only) 3: Delivery only (alphanumeric only) 4: Standard Symbol 6: Reader only Service class in numeric (001 to 999) Country code in numeric (001 to 999) Postal code Mode 2: Maximum of 9 numeric digits (0 to 999999999)
  • Page 26 Unit 3: Code Quick Reference COMMAND QUICK REFERENCE INSTRUCTION DESCRIPTION 2D31 QR Code (Model 1). Specifies QR code (model 1) of 2D code. Error correction level L: 7% M: 15% Q: 25% H: 30% Size of one side of cell in dots (01 to 32) Data setting mode 0: Manual setting 1: Automatic setting (print data specification will differ)
  • Page 27 Unit 3: Code Quick Reference COMMAND QUICK REFERENCE INSTRUCTION DESCRIPTION 2D50 Data Matrix (ECC200). Specifies Data Matrix (ECC200) of 2D code. Cell width in dots (01 to 16) Cell height in dots (01 to 16) Quantity of cells per roll (000, fixed) Quantity of cell rows (000, fixed) Quantity of binary data (1 to 3116) Print data...
  • Page 28 Unit 3: Code Quick Reference COMMAND QUICK REFERENCE INSTRUCTION DESCRIPTION Wireless LAN Interface, IP Setup Method. Allows specification of the IP address setup method. Address settings: 0: Manual setting 1: DHCP Wireless LAN Interface, IP Address Settings. Permits setup of the IP address. Decimals up to 12 places.
  • Page 29 Unit 3: Code Quick Reference COMMAND QUICK REFERENCE INSTRUCTION DESCRIPTION Font Type. Specifies the 48W x 48H dot matrix font (includes descenders). Smooting specificaiton 0: Smoothing disabled 1: Smoothing enabled Print data Font type. Specifies the 24W x 24H dot matrix font (includes descenders). Font type.
  • Page 30 Unit 3: Code Quick Reference 3-14 “i” Programming Reference PN: 9001158B...
  • Page 31: Control Commands

    Unit 4: Standard Command Codes STANDARD COMMAND CODES • Control Commands • Modification Commands • Print Position Commands • Font Commands • Barcode Commands • 2D Code Commands • System Commands • Graphic Commands • Memory Store/Recall Commands “i” Programming Reference PN: 9001158B...
  • Page 32 <ESC>A Stop Command: <ESC>Z <ESC>A must precede data <ESC>Z must follow data. EXAMPLE <ESC>A <ESC>H0001<ESC>V0100<ESC>XB1SATO <ESC>H0130<ESC>V0200<ESC>B103150*SATO* <ESC>H0170<ESC>V0360<ESC>L0202<ESC>S*SATO* <ESC>Q1 <ESC>Z OUTPUT This command does not result in printer output. NOTES There is no output for these commands they are not accompanied by other label printing commands.
  • Page 33: Print Quantity

    <ESC>Q3 <ESC>Z OUTPUT Three labels containing the data “SATO” will be printed. NOTES To cancel a print job, turn off the printer or send the CAN code if using the Bi-Com. When used with the Sequential Numbering (<ESC>F) command, the value specified for print quantity should be equal to the number of sequential values desired.
  • Page 34 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 <ESC>IDaa Job ID assigned (01 to 99) Place immediately following the <ESC>A in the job data stream.
  • Page 35: Page Break

    (Page break position) = Length of a page in dots (omissible). See Valid range below. Valid range Model Valid length of a page MB400i 100-1200 MB410i 100-1800 EXAMPLE Coding example on MB400i series <A> <V>100<H>200<P>2<L>0202<X22> , SATO <V>200<H>200<P>1<L>0202<X21> MB400 < 400> <V>200<H>200<P>2<L>0202<X23> 0MB400 <V>300<H>200<P>1<L>0202<X24> 0MB410 < 0>...
  • Page 36 Unit 4: Standard Command Codes PAGE BREAK NOTES AND This command is valid only for MB4i series in Journal printing mode. OUTPUT 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.
  • Page 37: Character, Expansion

    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 <ESC>Laabb Multiple to expand horizontally (01 to 12) Multiple to expand vertically (01 to 12)
  • Page 38: Character, Pitch

    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 <ESC>Paa Number of dots between characters (00 to 99) Place preceding the text to be printed.
  • Page 39: Character, Fixed Spacing

    Unit 4: Standard Command Codes CHARACTER, FIXED SPACING FUNCTION To reset proportional spacing and place the printer back to fixed spacing. FORMAT <ESC>PR Place preceding the fixed space data. EXAMPLE <ESC>A <ESC>H0100<ESC>V0050<ESC>PS <ESC>L0202<ESC>XMPROPORTIONAL SPACING <ESC>H0100<ESC>V0180<ESC>PR <ESC>L0202<ESC>XMFIXED SPACING <ESC>Q1 <ESC>Z OUTPUT (4-3) NOTES This command only works with proportionally spaced fonts: XU, XM, XS, XL and XB.
  • Page 40: Rotate, Fixed Base Reference Point

    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 (<ESC>%) command. Note that the entire print area is shown, but your label will probably not be as large as the entire area.
  • Page 41: Sequential Numbering

    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.
  • Page 42: Print, Lines & Boxes

    Unit 4: Standard Command Codes PRINT, LINES & BOXES FUNCTION To print horizontal lines, vertical lines, and boxes as images on the label. FORMAT Line: <ESC>FWaabcccc Width of horizontal line in dots (01 to 99) Line orientation H Horizontal line V Vertical Line cccc Length of line in dots Vertical: 1280 maximum...
  • Page 43: Replace Data (Partial Edit)

    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. FORMAT <ESC>0 (<ESC>zero) Must follow <ESC>A and precede all other print data...
  • Page 44: Copy Image Area (Partial Copy)

    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. FORMAT <ESC>WDHaaaaVbbbbXccccYdddd aaaa...
  • Page 45: Journal Printing

    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.
  • Page 46: Recall And Print Of Font & Logo

    Unit 4: Standard Command Codes RECALL AND PRINT OF FONT & LOGO FUNCTION Calls and prints fonts and logos downloaded with the exclusive tool. FORMAT <ESC>RF Font ID number (01 to 99) Print digit (1 to 9999) Print data Place after <ESC>H but before <ESC>Q1. EXAMPLE <ESC>A <ESC>H0100<ESC>V0100<ESC>RF020002,826B...
  • Page 47: Media Size

    Unit 4: Standard Command Codes PRINT POSITION COMMANDS MEDIA SIZE FUNCTION To set the size of the media. FORMAT <ESC>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 <ESC>A <ESC>A00800384...
  • Page 48: Print Position

    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.
  • Page 49 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: <ESC>XB Font XL: <ESC>XL Font XU: <ESC>XU Font OA: <ESC>OA...
  • Page 50 P02-P99 (Data to print) Data EXAMPLE <A> <V>100<H>100<P>2 <RD>A00 , P10 , P10 , SATO <Q>2 <Z> NOTES Font size can be specified either in dots or points. Command is valid only for MB400i series. Print position: <V> <H>...
  • Page 51 Unit 4: Standard Command Codes CG FONTS OUTPUT (4-14a) CG Times Font Character set 4-21 “i” Programming Reference PN: 9001158B...
  • Page 52 Unit 4: Standard Command Codes CG FONTS OUTPUT (4-14b) CG Triumvirate Font Character set NOTES Font size can be specified either in dots or points. Command is only valid for MB400i series. Valid Command Print position <V> <H> Modification <P> <%>...
  • Page 53 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.
  • Page 54 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: <ESC>XBa Font XL: <ESC>XLa 0: Disables auto-smoothing of font 1: Enables auto-smoothing of font (see notes below) Place preceding the data to be printed.
  • Page 55: Bar Codes

    Unit 4: Standard Command Codes BARCODE COMMANDS BAR CODES FUNCTION To print bar code images on a label. FORMAT 2:5 narrow/wide ratio: <ESC>BDabbcccd 1:3 narrow/wide bar ratio: <ESC>Babbcccd 1:2 narrow/wide bar ratio: <ESC>Dabbcccd 0: Codabar 1: Code 39 2: Interleaved 2 of 5 (I 2/5) 3: UPC-A / EAN-13 4: EAN-8 7: reserved...
  • Page 56 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 <ESC>D command adds descender bars to these codes where needed to meet UPC specifications. The <ESC>BD command puts desender bars and human readable text below the symbol.
  • Page 57: Barcode, Human Readable Information (Hri)

    Unit 4: Standard Command Codes BARCODE, HUMAN READABLE INFORMATION (HRI) FUNCTION Specifies the characrter type of human readable information (HRI) for barcode. FORMAT <ESC>Dabbcccnn...n<ESC>nn...n Barcode type 3: EAN13 4: EAN8 H: UPC-A Narrow bar width (01 to 12 dots) Barcode height (001 to 999 dots) Print data (barcode data) Character type specification (XU,XS, XM, XB, XL, OA, OB) Print data (HRI data)
  • Page 58 Unit 4: Standard Command Codes CODE93 FUNCTION Specifies CODE93 barcode. FORMAT <ESC>BC Narrow bar width (01 to 12 dots) Barcode height (001 to 999 dots) Print data (barcode data) Place anywhere after <ESC>V but before <ESC>Q. EXAMPLE <ESC>H0200<ESC>V0200<ESC>BC03100081234ABCD <ESC>H0310<ESC>V250<ESC>XS1234ABCD OUTPUT (4-18) NOTES Refer to Appendix: Reference Table 11 for additional information.
  • Page 59 Unit 4: Standard Command Codes CODE128 FUNCTION Specifies CODE128 barcode. FORMAT <ESC>BGaabbbn~n Narrow bar width (01 to 12 dots) Barcode height (001 to 999 dots) Print data (barcode data) Place anywhere after <ESC>V but before <ESC>Q. EXAMPLE <ESC>H0200<ESC>V0550<ESC>BG03100>GAB>B789>C123456 <ESC>H0310<ESC>V665<ESC>XSAB789123456 OUTPUT (4-19) NOTES Specify Start Code at the head of the data.
  • Page 60 Unit 4: Standard Command Codes POSTNET FUNCTION To print Postnet bar codes. FORMAT <ESC>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 <ESC>A <ESC>H0100<ESC>V0120<ESC>BP94089...
  • Page 61 Unit 4: Standard Command Codes FUNCTION Specifies the composite symbol of EAN/UCC. FORMAT <ESC>EUaabbn...n (Format 1) 1D barcode symbology 01: RSS-14 (13 digits) 02: RSS-14 Truncated (13 digits) 03: RSS-14 Stacked (13 digits) 04: RSS-14 Stacked Omni-directional (13 digits) 05: RSS Limited (13 digits) 07: UPC-A (11 digits) 08: UPC-E (10 digits fixed) 09: EAN-13 (12 digits)
  • Page 62 Unit 4: Standard Command Codes 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.
  • Page 63 Unit 4: Standard Command Codes 2D CODE COMMANDS PDF417 FUNCTION Specifies PDF417 of 2D code. FORMAT <ESC>2D10aabbcddeeffff<ESC>DNgggg,h...h = Minimum module width (01 to 09 dots) = Minimum module height (01 to 24 dots) = Security level (0 to 8) = Number of data code words per digit (01 to 30) 00: Automatic (width depnds on data number specified) = Digit number per symbol (03 to 90) 00: Automatic (height depends on data number specified)
  • Page 64: Micro Pdf

    Unit 4: Standard Command Codes MICRO PDF417 FUNCTION Specifies Micro PDF417 of 2D code. FORMAT <ESC>2D12aa,bb,c,dd(,e)<ESC>DN,n...n = Minimum module width (01 to 09 dots) = Minimum module height (01 to 24 dots) = Word quantity per line (1 to 4 columns) = Line quantity per symbol (2 rows) = Binary mode 0: Normal...
  • Page 65: Maxi Code

    Unit 4: Standard Command Codes MAXI CODE FUNCTION Specifies Maxi code of 2D code. FORMAT <ESC>2D20a, b, c, ddddddddd,<ESC>DNmmm,n...n = Mode 2: Delivery only (numeric only) 3: Delivery only (alphanumeric only 4: Standard symbol 6: Reader only = Service class in numeric (001 to 999) = Country Code in numeric (001 to 999) = Zip Code Mode 2: 0 to 999999999 (numeric only)
  • Page 66 Unit 4: Standard Command Codes QR CODE FUNCTION Specifies QR Code of 2D code. FORMAT <ESC>2D30 (Model 2)<ESC>DSk,n...n <ESC>2D31 (Model 1)<ESC>DNmmmm,n...n Error correction level L: 7% M: 15% Q: 25% H: 30% Cell size in dots (01 to 32) Data setting mode 0: Manual 1: Automatic Print data specification will differ with the following setting.
  • Page 67 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: <ESC>A <ESC>H0100<ESC>V0100 <ESC>2D30,L,05,0,0 <ESC>DS1,012345 <ESC>Q2 <ESC>Z Example 2D31: <ESC>A <ESC>H0100<ESC>V0100 <ESC>2D31,a,bb,c,d <ESC>DS3,n-n <ESC>DNmmmm,n-n <ESC>DS1,n-n <ESC>Q1 <ESC>Z...
  • Page 68: Micro Qr Code

    Unit 4: Standard Command Codes MICRO QR CODE FUNCTION Specifies Micro QR Code of 2D code. FORMAT <ESC>2D32,a,bb,c <ESC>DSk,n...n <ESC>DNmm,n...n Error correction level L: 7% M: 15% Q: 25% Cell size on one side in dots (01 to 32) Data setting mode 0: Manual 1: Automatic <ESC>DS: With the following parameter, the binary specification will still be available, but the data...
  • Page 69: Data Matrix Code (Ecc)

    Unit 4: Standard Command Codes DATA MATRIX CODE (ECC200) FUNCTION Specifies Data Matrix Code of 2D code. FORMAT <ESC>2D50aabbcccddd<ESC>DNmmmm,n...n Cell width in dots (01 to 06) Cell height in dots (01 to 16) Quantity of cells per row (000, fixed) Quantity of cell rows (000, fixed) Data size in binary (1 to 3116) Print data...
  • Page 70: System Commands

    Unit 4: Standard Command Codes SYSTEM COMMANDS BUZZER ACTIVATION FUNCTION Activate/Deactivate buzzer. This command can be used on MB4i series only. FORMAT <ESC>BU Parameter 0 : deactivated 1 : activated EXAMPLE <A> <BU>1 <Z> OUTPUT This command does not result in printer output. NOTES Place this command between <A>Start code and <Z>...
  • Page 71: Print Speed

    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 <ESC>CSa Designates the speed selection in ips Place immediately after <ESC>A and immediately before <ESC>Z in a separate data stream.
  • Page 72: Print Darkness

    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 <ESC>#Ea Print Darkness Value Must be placed immediately after <ESC>A and immediately before <ESC>Z in its own separate data stream.
  • Page 73 Unit 4: Standard Command Codes 2-COLOR PRINTING FUNCTION Specifies the printing in two colors: black and red. FORMAT <ESC>2Sa Print color 0: Black 1: Red Place after <ESC>A and <ESC>Z. EXAMPLE <ESC>A <ESC>2S1 <ESC>H001<ESC>V001 <ESC>XMRED <ESC>Q0001 <ESC>Z 1. Designate start of data transmission 2.
  • Page 74: Base Reference Point

    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.
  • Page 75 Unit 4: Standard Command Codes OFFSET FUNCTION Temporarily specifies the label stop position for each mode of operation. FORMAT <ESC>POabcc Offset 0: Not used 1: Dispenser mode 2: Tear-Off mode 3: Label pitch Offset direction +: Advance label feed -: Retract label feed Offset range in dots (00 to 99) Place after <ESC>A but before <ESC>V.
  • Page 76 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 <ESC>@ Place anywhere between <ESC>A and <ESC>Z. EXAMPLE <ESC>A <ESC>@...
  • Page 77: Eeprom Setup

    Unit 4: Standard Command Codes EEPROM SETUP FUNCTION Registers the operation of the printer in EEPROM. FORMAT <ESC>PG Place immediately after <ESC>A. EXAMPLE <ESC>A <ESC>PG <ESC>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.
  • Page 78 Unit 4: Standard Command Codes SERIAL INTERFACE, CONFIGURATION FUNCTION Allows configuration of the RS232C Serial Interface. FORMAT <ESC>I1abcd Baud rate 1: 9600 bps 2: 19200 bps 3: 38400 bps 4: 57600 bps 5: 115200 bps Parity 0: None 1: Odd 2: Even Flow control 0: Nil...
  • Page 79 Unit 4: Standard Command Codes SERIAL INTERFACE, CONFIGURATION FUNCTION Allows configuration of the IrDA Interface. FORMAT <ESC>I2abcde Baud rate 1: 9600 bps 2: 19200 bps 3: 38400 bps 4: 57600 bps 5: 115200 bps Parity 0: None 1: Odd 2: Even Transmission timeout in seconds 00 to 05: 5 06 to 99: 6 to 99...
  • Page 80: Irda Interface, Device Name Configuration

    Settings can be confirmed by performing a test print. This command becomes valid when the printer is powered on again. The default setting is as follows: Device name, SATO MOBILE PRINTER. 4-50 “i” Programming Reference PN: 9001158B...
  • Page 81 Unit 4: Standard Command Codes SENSOR TYPE FUNCTION To select a label sensing method for a print job. FORMAT <ESC>IGa 0: Reflective (Eye-Mark) sensor 1: Transmissive (Gap) sensor Place in separate data stream sent to the printer. EXAMPLE <ESC>A <ESC>IG1 <ESC>Z OUTPUT This command does not result in printer output.
  • Page 82: Print Mode Selection

    Unit 4: Standard Command Codes PRINT MODE SELECTION FUNCTION To set the printing method used for a job FORMAT <ESC>PMa 0: Continuous 1: Tear-Off Place in separate data stream sent to the printer. EXAMPLE <ESC>A <ESC>PM1 <ESC>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.
  • Page 83: System Priority

    Unit 4: Standard Command Codes SYSTEM PRIORITY FUNCTION Priority setting to System / Command. This command is available only on MB4i series. FORMAT <QS>a Parameter = 0 : Priority assigned to command 1 : Priority assigned to system setting EXAMPLE <A>...
  • Page 84: Graphic Commands

    Unit 4: Standard Command Codes GRAPHIC COMMANDS GRAPHICS, CUSTOM FUNCTION To create and print custom graphics (logos, pictures, etc.) on a label. FORMAT <ESC>Gabbbccc(data) Specifies format of data stream to follow B Binary format H Hexadecimal format Number of horizontal 8 x 8 blocks Number of vertical 8 x 8 blocks (data) Hex data to describe the graphic image...
  • Page 85: Graphics, Bmp File

    Unit 4: Standard Command Codes GRAPHICS, BMP FILE FUNCTION To allow the creation and printing of graphic images using a BMP file format. FORMAT <ESC>GMaaaaa,(data) aaaaa Number of bytes to be downloaded and printed Place anywhere within the job data stream. EXAMPLE <ESC>A <ESC>V0100<ESC>H0100<ESC>GM03800,(...Data...)
  • Page 86: Esc>A1 Media Size

    Unit 4: Standard Command Codes MEMORY STORE/RECALL COMMANDS FORM OVERLAY, STORE FUNCTION To store fixed print contents to the memory card. FORMAT <ESC>&S,aa,bbbb,cccc 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 <ESC>CC Memory Area Select command.
  • Page 87 Unit 4: Standard Command Codes FORM OVERLAY, STORE Example A: Normal Operation <ESC>A <ESC>V100<ESC>H100<ESC>P2<ESC>L0202 <ESC>XMABCD <ESC>V60<ESC>H60 <ESC>FW0808V800H200 <ESC>V320<ESC>H60 <ESC>FW04H200 <ESC>&S1 <ESC>Z Example B: When window size is specified <ESC>A <ESC>A1800400 <ESC><ESC>V100<ESC>H00<ESC>P2<ESC>L0202 <ESC>XMABCD <ESC>&S, 1, 20, 200 <ESC>Z Example C: When print is specified after <ESC>&S <ESC>A <ESC>V100<ESC>H100<ESC>P2<ESC>L0202 <ESC>XMABCD...
  • Page 88: Form Overlay, Recall

    Unit 4: Standard Command Codes FORM OVERLAY, RECALL FUNCTION To recall the label image from stored in the Expanded Memory. FORMAT <ESC>&R,aa Storage number (01 to 99) Place immediately following the <ESC>CC Memory Area Select command. EXAMPLE <ESC>A <ESC>&R,01 <ESC>Q1<ESC>Z OUTPUT There is not a printer output as a result of this command.
  • Page 89 Unit 4: Standard Command Codes FORMAT/FIELD, STORE FUNCTION To store a format field description in the memory card. FORMAT <ESC>YS,aa Format number to be stored (01 to 99) Field number to be stored (01 to 99) cc...c Field length to be stored (01 to 99) Place immediately following the <ESC>CC Memory Area Select command.
  • Page 90 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 <ESC>YR,aa Format number to be recalled (01 to 99) Field number to be recalled (01 to 99) cc...c Data to placed in the recalled field Place immediately following the <ESC>CC Slot Select command.
  • Page 91: Graphic Commands

    Unit 4: Standard Command Codes CUSTOM GRAPHICS, STORE FUNCTION To provide similar functionality to the <ESC>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.
  • Page 92 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 <ESC>GRaaa 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.
  • Page 93 Unit 4: Standard Command Codes BMP FILE, STORE FUNCTION To store for printing a graphic file in a BMP format in the memory. FORMAT <ESC>GTaaa,bbbbb,nn...n 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 <ESC>A <ESC>GT001, 12345, nn...n...
  • Page 94 Unit 4: Standard Command Codes BMP FILE, RECALL FUNCTION To recall a previously stored BMP file stored in memory. FORMAT <ESC>GCaaa Storage number (001 to 999) Place after <ESC>V, <ESC>H but before <ESC>Q. EXAMPLE <ESC>A <ESC>V100<ESC>H100 <ESC>GC001 <ESC>Q1<ESC>Z OUTPUT (4-35) NOTES The printed image can be expanded or rotated.
  • Page 95 Registration of External Character (<ESC>T1/T2). <ESC>*a,bbb (Format 2) Item to be cleared G: SATO graphic (clears with Registration of Graphic (<ESC>GI). M: BMP file (clears BMP with Registration of BMP File (<ESC>GT). F: Format (clears with Registration of Format (<ESC>YS).
  • Page 96 Unit 4: Standard Command Codes 4-66 “i” Programming Reference PN: 9001158B...
  • Page 97: Bluetooth Commands

    Unit 5: Optional Command Codes OPTIONAL COMMAND CODES • Bluetooth Commands • WLAN Commands “i” Programming Reference PN: 9001158B...
  • Page 98 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 <ESC>I6a-a PIN code: ASCII codes other than control codes 20H to 7EH (up to 16 alphanumeric characters 20H to 7EH).
  • Page 99 Unit 5: Optional Command Codes AUTHENTICATION MODE, CONFIGURATION FUNCTION Specifies the parameters related to Bluetooth authentication mode search and connectivity. FORMAT <ESC>I7abcde Authentication mode 0: None (1 digit fixed) 1: Level 2-1 2: Level 2-2 3: Level 3 ISI in Hexadecimal (0015 to 1000, 4-digits fixed) ISW in Hexadecimal (0012 to 0997, 4-digits fixed) PSI in Hexadecimal (0015 to 1000, 4-digits fixed) PSW in Hexadecimal (0012 to 0997, 4-digits fixed)
  • Page 100: Device Name, Configuration

    The quantity of characters used to identify the device name may vary up to 20 characters. If that quantity is exceeded, the command will be ignored. The default setting is as follows: SATO MOBILE PRINTER. When restarting the printer after command execution, the command contents will be processed for Bluetooth interface.
  • Page 101: Eap Authentication Specification

    Unit 5: Optional Command Codes WLAN COMMANDS EAP AUTHENTICATION SPECIFICATION FUNCTION Specifies authentication method. FORMAT <ESC>WCa Specification 0: Not used 1: EAP-MD5 2: EAP-TLS 3: EAP-PEAP Place after <ESC>A and before <ESC>Z. EXAMPLE <ESC>A <ESC>WC1 <ESC>Z OUTPUT This command does not result in printer output. NOTES This command is only valid for printers conforming to WLAN specifications.
  • Page 102: Password Specification

    Unit 5: Optional Command Codes PASSWORD SPECIFICATION FUNCTION Allows specification of the authentication password PIN code. FORMAT <ESC>WEa-a Password in alphanumeric characters (32 maximum) Place after <ESC>Z and before <ESC>Z. EXAMPLE <ESC>A <ESC>WE1234 <ESC>Z OUTPUT This command does not result in printer output. NOTES This command is only valid for printers conforming to WLAN specifications.
  • Page 103: Secret Key Specification

    Unit 5: Optional Command Codes SECRET KEY SPECIFICATION FUNCTION Allows specification of the secret key. FORMAT <ESC>WFa-a Secret key in alphanumeric characters (0 to 32) Place after <ESC>A and before <ESC>Z. EXAMPLE <ESC>A <ESC>WFAbCd1122 <ESC>Z OUTPUT This command does not result in printer output. NOTES This command is only valid for printers conforming to WLAN specifications.
  • Page 104: Socket Port Number Settings

    Unit 5: Optional Command Codes SOCKET PORT NUMBER SETTINGS FUNCTION Allows specification of the socket port (communications port). FORMAT <ESC>WGaaaa Socket port in numeric digits (4 fixed) Place after <ESC>A and before <ESC>Z. EXAMPLE <ESC>A <ESC>WG9100 <ESC>Z OUTPUT This command does not result in printer output. NOTES This command is only valid for printers conforming to WLAN specifications.
  • Page 105: User Name Specification

    Unit 5: Optional Command Codes USER NAME SPECIFICATION FUNCTION Allows the specification of a username to be used for access. FORMAT <ESC>WHa-a Username: an array of characters (1 to 16) Place after <ESC>A and before <ESC>Z. EXAMPLE <ESC>A <ESC>WHpetit-lapin <ESC>Z OUTPUT This command does not result in printer output.
  • Page 106 Unit 5: Optional Command Codes IP SETUP SETTINGS FUNCTION Specifies the method of entry for IP address setup. FORMAT <ESC>WIa Method 0: Manual 1: DHCP Place before <ESC>A and before <ESC>Z. EXAMPLE <ESC>A <ESC>WI1 <ESC>Z OUTPUT This command does not result in printer output. NOTES This command is only valid for printers conforming to WLAN specifications.
  • Page 107 Unit 5: Optional Command Codes IP ADDRESS SPECIFICATION FUNCTION Sets the IP address. FORMAT <ESC>W1a-a Settings without decimals up to 12 places. Place after <ESC>A and before <ESC>Z. EXAMPLE <ESC>A <ESC>W1128220000040 <ESC>Z OUTPUT This command does not result in printer output. NOTES This command is only valid for printers conforming to WLAN specifications.
  • Page 108 Unit 5: Optional Command Codes SUBNET MASKINGS SPECIFICATION FUNCTION Sets the subnet mask settings. FORMAT <ESC>W2a-a Settings without decimals up to 12 places. Place after <ESC>A and before <ESC>Z. EXAMPLE <ESC>A <ESC>W2255255255000 <ESC>Z OUTPUT This command does not result in printer output. NOTES This command is only valid for printers conforming to WLAN specifications.
  • Page 109: Default Gateway Specification

    Unit 5: Optional Command Codes DEFAULT GATEWAY SPECIFICATION FUNCTION Sets the gateway settings. FORMAT <ESC>W3a-a Settings without decimals up to 12 places. Place after <ESC>A and before <ESC>Z. EXAMPLE <ESC>A <ESC>W3128220001001 <ESC>Z OUTPUT This command does not result in printer output. NOTES This command is only valid for printers conforming to WLAN specifications.
  • Page 110 This command becomes valid upon restarting of the printer and may be confirmed by performing a test print. The default setting is as follows: SATO . When restarting the printer after command execution, the command contents will be processed for WLAN interface.
  • Page 111: Channel Specification

    Unit 5: Optional Command Codes CHANNEL SPECIFICATION FUNCTION Allows the specification of the channel to be used. FORMAT <ESC>W5aa Channel using 2 numeral digits (01 to 14) Place after <ESC>A and before <ESC>Z. EXAMPLE <ESC>A <ESC>W502 <ESC>Z OUTPUT This command does not result in printer output. NOTES This command is only valid for printers conforming to WLAN specifications.
  • Page 112 Unit 5: Optional Command Codes WLAN MODE SPECIFICATION FUNCTION Specifies the Wireless LAN mode. FORMAT <ESC>W6a Mode 1: AdHoc 2: Infrastructure Place after <ESC>A and before <ESC>Z. EXAMPLE <ESC>A <ESC>W62 <ESC>Z OUTPUT This command does not result in printer output. NOTES This command is only valid for printers conforming to WLAN specifications.
  • Page 113: Security Function Specification

    Unit 5: Optional Command Codes SECURITY FUNCTION SPECIFICATION FUNCTION Specifies the mode of security. FORMAT <ESC>W7a Security function 0: None 1: WEP 2: WPA Place after <ESC>A and before <ESC>Z. EXAMPLE <ESC>A <ESC>W71 <ESC>Z OUTPUT This command does not result in printer output. NOTES This command is only valid for printers conforming to WLAN specifications.
  • Page 114: Wep Key Specification

    Unit 5: Optional Command Codes WEP KEY SPECIFICATION FUNCTION Specifies the WEP key. FORMAT <ESC>W8ab-b Form selection A: ASCII B: HEX WEP key ASCII: 5 or 13 characters HEX: 10 or 26 characters Place after <ESC>A and before <ESC>Z. EXAMPLE <ESC>A <ESC>W8A0123456789abc <ESC>Z...
  • Page 115 Unit 5: Optional Command Codes AUTHENTIFICATION SPECIFICATION FUNCTION Specifies the authentication function. FORMAT <ESC>W9a Function 0: WPA-PSK 1: EAP Place after <ESC>A and before <ESC>Z. EXAMPLE <ESC>A <ESC>W90 <ESC>Z OUTPUT This command does not result in printer output. NOTES This command is only valid for printers conforming to WLAN specifications. This command must be preceded by the <ESC>A command and followed by the <ESC>Z command in a separate string and cannot be used in conjunction with other commands.
  • Page 116 Unit 5: Optional Command Codes 5-20 “i” Programming Reference PN: 9001158B...
  • Page 117 Unit 6: Bi-Directional Communications BI-DIRECTIONAL COMMUNICATIONS • Introduction • Return Status • Enquire & Response “i” Programming Reference PN: 9001158B...
  • Page 118: Receive Buffer

    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.
  • Page 119: Return Status

    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.
  • Page 120 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 ID NUMBER STATUS REMAINING PRINT NUMBER 000000 To 999999 Job ID specified by the command <ESC>IDxx will be displayed for the current job being printed.
  • Page 121: Enquire (Enq)

    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: <STX>{ # Byte ID }{ # Status Byte }{ # Byte Label Remaining }{ # Byte Job Name }<ETX> Identifies the current print job ID.
  • Page 122 Unit 6: Bi-Directional Communications MG RETURN STATUS TABLE NUMBER ITEM CONTENT BYTES 00H Label Print Mode 01H Journal Print Mode Print Mode 02H Two-Color Label Print Mode 03H Two-Color Journal Print Mode 04H Linerless Print Mode Not Used 00H Fixed Not Used 00H Fixed Darkness...
  • Page 123: Sensor Status (Sg)

    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 EYE-MARK GAP SENSOR DISPENSER HEAD-OPEN SENSOR LEVEL LEVEL...
  • Page 124: Interface Status (Ig)

    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 INTERFACE CONNECTION TYPE 3 Bytes Figure 6-4, Return Status/Format Diagram IG RETURN STATUS TABLE NUMBER...
  • Page 125: System Version Information (Sb)

    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. RETURN STATUS/FORMAT PRINTER FW FONT RESERVED 52 Bytes Figure 6-6, Return Status/Format Diagram SB RETURN STATUS TABLE NUMBER...
  • Page 126 Unit 6: Bi-Directional Communications 6-10 “i” Programming Reference PN: 9001158B...
  • Page 127: Reference Tables

    Unit 7: Appendix APPENDIX • Custom Graphics • Print Configuration Commands • Reference Tables “i” Programming Reference PN: 9001158B...
  • Page 128: Custom Graphics Example

    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).
  • Page 129 Unit 7: Appendix BIT MAP HEXADECIMAL FORMAT 11111111 11111111 11111111 11111111 11111111 11111111FF 11111111 11111111 11111111 11111111 11111111 11111111FF 11000000 00000000 00000000 00000000 00000000 00000011C0 11000000 00000000 00000000 00000000 00000000 00000011C0 11000000 00000000 11111111 11111111 11111111 11110011C0 11000000 00000000 10000000 00000000 00000000 00010011C0...
  • Page 130 Unit 7: Appendix 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$; .GB006006"; PRINT #1,CHR$(&HFF);CHR$(&HFF);CHR$(&HFF);CHR$(&HFF);CHR$(&HFF); PRINT #1,CHR$(&HFF);CHR$(&HFF);CHR$(&HFF);CHR$(&HFF);CHR$(&HFF); PRINT #1,CHR$(&HFF);CHR$(&HFF);CHR$(&HC0);CHR$(&H00);CHR$(&H00); PRINT #1,CHR$(&H00);CHR$(&H00);CHR$(&H03);CHR$(&HC0);CHR$(&H00); PRINT #1,CHR$(&H00);CHR$(&H00);CHR$(&H00);CHR$(&H03);CHR$(&HC0); PRINT #1,CHR$(&H00);CHR$(&HFF);CHR$(&HFF);CHR$(&HFF);CHR$(&HF3); PRINT #1,CHR$(&HC0);CHR$(&H00);CHR$(&H80);CHR$(&H00);CHR$(&H00); PRINT #1,CHR$(&H13);CHR$(&HC0);CHR$(&H00);CHR$(&H80);CHR$(&H00); PRINT #1,CHR$(&H00);CHR$(&H13);CHR$(&HC0);CHR$(&H00);CHR$(&H9F); PRINT #1,CHR$(&HFF);CHR$(&HFF);CHR$(&H13);CHR$(&HC0);CHR$(&H00); PRINT #1,CHR$(&H80);CHR$(&H00);CHR$(&H00);CHR$(&H13);CHR$(&HC0);...
  • Page 131: Pcx Graphics Example

    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).
  • Page 132 Unit 7: Appendix PRINTER CONFIGURATION COMMANDS PRINTER CONFIGURATION COMMANDS NUMBER SPECIFICATION DESCRIPTION BYTES Print Method 00H: Thermal Transfer 01H: Direct Thermal Head Density 00H: 8 dots/mm 01H: 12 dots/mm 02H: 24 dots/mm Print Speed 00H: 2 inch/sec 01H: 3 inch/sec 02H: 4 inch/sec 03H:...
  • Page 133 Unit 7: Appendix PRINTER CONFIGURATION COMMANDS NUMBER SPECIFICATION DESCRIPTION BYTES Gap Betwwen Labels 00H to 40H (0-64 dots) 00H to 60H (0-96 dots) 00H to C0H (0-192 dots) Buzzer Setup 00H: 01H: “i” Programming Reference PN: 9001158B...
  • Page 134 Unit 7: Appendix REFERENCE TABLES TABLE 1: CHARACTER FONT SET (<ESC>XU) W5 X H9 CHARACTER SIZE, 12 DOTS/MM HEAD DENSITY, THREE-FOLD HEIGHT/WIDTH “i” Programming Reference PN: 9001158B...
  • Page 135 Unit 7: Appendix TABLE 2: CHARACTER FONT SET (<ESC>XS) W17 X H17 CHARACTER SIZE, 12 DOTS/MM HEAD DENSITY, TWO-FOLD HEIGHT/WIDTH “i” Programming Reference PN: 9001158B...
  • Page 136 Unit 7: Appendix TABLE 3: CHARACTER FONT SET (<ESC>XM) W24 X H24 CHARACTER SIZE, 12 DOTS/MM HEAD DENSITY, ONE-FOLD HEIGHT/WIDTH 7-10 “i” Programming Reference PN: 9001158B...
  • Page 137 Unit 7: Appendix TABLE 4: CHARACTER FONT SET (<ESC>XB) W48 X H48 CHARACTER SIZE, 12 DOTS/MM HEAD DENSITY, ONE-FOLD HEIGHT/WIDTH 7-11 “i” Programming Reference PN: 9001158B...
  • Page 138 Unit 7: Appendix TABLE 5: CHARACTER FONT SET (<ESC>XL) W48 X H48 CHARACTER SIZE, 12 DOTS/MM HEAD DENSITY, ONE-FOLD HEIGHT/WIDTH 7-12 “i” Programming Reference PN: 9001158B...
  • Page 139 Unit 7: Appendix TABLE 6: CHARACTER FONT SET (<ESC>OA) W24 X H24 CHARACTER SIZE, 12 DOTS/MM HEAD DENSITY, ONE-FOLD HEIGHT/WIDTH 7-13 “i” Programming Reference PN: 9001158B...
  • Page 140 Unit 7: Appendix TABLE 7: CHARACTER FONT SET (<ESC>OB) W24 X H24 CHARACTER SIZE, 12 DOTS/MM HEAD DENSITY, ONE-FOLD HEIGHT/WIDTH 7-14 “i” Programming Reference PN: 9001158B...
  • Page 141 Unit 7: Appendix TABLE 8: BARCODE TYPE (<ESC>B) BARCODE 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 NW-7 (Codabar) [A123A].
  • Page 142 Unit 7: Appendix TABLE 9: BARCODE TYPE (<ESC>BD) BARCODE 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 NW-7 (Codabar) [A123A].
  • Page 143 Unit 7: Appendix TABLE 10: BARCODE TYPE (<ESC>D) BARCODE 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 NW-7 (Codabar) [A123A].
  • Page 144 Unit 7: Appendix TABLE 11: CHARACTER FONT SET (<ESC>BC) W24 X H24 CHARACTER SIZE, 12 DOTS/MM HEAD DENSITY, ONE-FOLD HEIGHT/WIDTH 7-18 “i” Programming Reference PN: 9001158B...
  • Page 145 Unit 7: Appendix TABLE 12: CODE128 DATA VALUES (<ESC>BG) VALUE SUBSET A SUBSET B SUBSET C VALUE SUBSET A SUBSET B SUBSET C “ “ & & ‘ ‘ < < NUL>(space) . >(space) SOH >! a or >! >J >J STX >"...
  • Page 146 Unit 7: Appendix TABLE 12: CODE128 DATA VALUES (<ESC>BG) VALUE SUBSET A SUBSET B SUBSET C VALUE SUBSET A SUBSET B SUBSET C DC4 >4 t >4 FNC4 >E Subset A >E Subset A >E NAK >5 u >5 FNC1 >F FNC1 >F FNC1 >F SYN >6...
  • Page 147 Unit 7: Appendix TABLE 13: CHARACTER FONT SET (<ESC>2D10) W24 X H24 CHARACTER SIZE, 12 DOTS/MM HEAD DENSITY, ONE-FOLD HEIGHT/WIDTH 7-21 “i” Programming Reference PN: 9001158B...
  • Page 148 Unit 7: Appendix TABLE 14: BARCODE TYPE (<ESC>2D12) COLUMNS ROWS ALPHABET ONLY NUMERIC ONLY BINARY MODE NOTE: The mixture of alphabet (capital/small letters), numeric, and control code may vary depending on the number of combined characters. 7-22 “i” Programming Reference PN: 9001158B...
  • Page 149 Unit 7: Appendix TABLE 15: CHARACTER FONT SET (<ESC>2D12) W24 X H24 CHARACTER SIZE, 12 DOTS/MM HEAD DENSITY, ONE-FOLD HEIGHT/WIDTH 7-23 “i” Programming Reference PN: 9001158B...
  • Page 150 Unit 7: Appendix TABLE 16: CHARACTER FONT SET (<ESC>2D20) W24 X H24 CHARACTER SIZE, 12 DOTS/MM HEAD DENSITY, ONE-FOLD HEIGHT/WIDTH 7-24 “i” Programming Reference PN: 9001158B...
  • Page 151 Unit 7: Appendix TABLE 17: CODE128 DATA VALUES (<ESC>2D30) ERROR ALPHA- ERROR ALPHA- VERSION NUMERIC BINARY VERSION NUMERIC BINARY CORRECTION NUMERIC CORRECTION NUMERIC 2232 1352 4417 2677 1840 1708 1035 3486 2113 1482 1224 2473 1499 1030 1897 1150 2409 1460 1003 4686...
  • Page 152 Unit 7: Appendix TABLE 18: CODE128 DATA VALUES (<ESC>2D31) ERROR ALPHA- ERROR ALPHA- VERSION NUMERIC BINARY VERSION NUMERIC BINARY CORRECTION NUMERIC CORRECTION NUMERIC 1030 1167 7-26 “i” Programming Reference PN: 9001158B...
  • Page 153 Unit 7: Appendix TABLE 19: CHARACTER FONT SET (<ESC>2D32) W24 X H24 CHARACTER SIZE, 12 DOTS/MM HEAD DENSITY, ONE-FOLD HEIGHT/WIDTH 7-27 “i” Programming Reference PN: 9001158B...
  • Page 154 Unit 7: Appendix TABLE 20: CHARACTER FONT SET (<ESC>2D32) W24 X H24 CHARACTER SIZE, 12 DOTS/MM HEAD DENSITY, ONE-FOLD HEIGHT/WIDTH 7-28 “i” Programming Reference PN: 9001158B...
  • Page 155 Unit 7: Appendix TABLE 21: CHARACTER FONT SET (<ESC>2D32) W24 X H24 CHARACTER SIZE, 12 DOTS/MM HEAD DENSITY, ONE-FOLD HEIGHT/WIDTH 7-29 “i” Programming Reference PN: 9001158B...
  • Page 156 Unit 7: Appendix TABLE 22: CHARACTER FONT SET (<ESC>2D50) W24 X H24 CHARACTER SIZE, 12 DOTS/MM HEAD DENSITY, ONE-FOLD HEIGHT/WIDTH 7-30 “i” Programming Reference PN: 9001158B...
  • Page 157 Unit 7: Appendix TABLE 23: PARAMETERS (<ESC>PG) ITEM DESCRIPTION Print Speed 1: 75mm/sec (maximum) 2: 103mm/sec (maximum) Print Darkness Level 1: Lightest 2: Light 3: Normal 4: Dark 5: Darkest Print Darkness Range A through C Backfeed 1; Motion 1 (head position) 2: Motion 2 (dispensing position) 3: No backfeed Zero Slash...
  • Page 158 Unit 7: Appendix 7-32 “i” Programming Reference PN: 9001158B...

This manual is also suitable for:

Mb410iMb400i

Table of Contents