SATO GL408e Programming Reference Manual

SATO GL408e Programming Reference Manual

Sbpl
Hide thumbs Also See for GL408e:
Table of Contents

Advertisement

SBPL PROGRAMMING REFERENCE
For printer model:
GL408e / GL412e
Read this Programming Guide before and during any development work in SBPL. Keep
this Guide handy for future reference.
www.satoamerica.com

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the GL408e and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for SATO GL408e

  • Page 1 SBPL PROGRAMMING REFERENCE For printer model: GL408e / GL412e Read this Programming Guide before and during any development work in SBPL. Keep this Guide handy for future reference. 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: (707) 644.1661 E-Mail: satosales@satoamerica.com techsupport@satoamerica.com www.satoamerica.com Copyright 2009 SATO America, Inc. All rights reserved.
  • 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>~A Cut, Label <ESC>~a Cut, Job <ESC>~B Cut, Last <ESC>AO Auto Online <ESC>A1 Media Size <ESC>&...
  • Page 4 <ESC>FM Memory Cartridge Format 3-11 <ESC>FP Memory Cartridge Printing 3-11 <ESC>FT Printing, Triangles 3-11 <ESC>FW Printing, Lines & Boxes 3-11 <ESC>FX Data Matrix Code, Sequential Number 3-12 <ESC>G Graphics, Custom 3-12 <ESC>GC BMP File, Recall 3-12 <ESC>GI Graphic, Store 3-12 <ESC>GM Graphics, BMP File 3-12...
  • Page 5 STANDARD COMMAND CODES Control Commands <ESC>A Start Label <ESC>Z Stop Label <ESC>Q Print Quantity <ESC>ID Job ID Store <ESC>WK Job Name Modification Commands <ESC>L Character, Expansion <ESC>P Character, Pitch <ESC>PR Character, Fixed Spacing <ESC>PS Character, Proportional Spacing <ESC>% Rotate, Fixed Base Reference Point <ESC>F Sequential Numbering 4-10...
  • Page 6 <ESC>BV Maxi Code 4-43 <ESC>BX Data Matrix Code 4-44 <ESC>DC Data Matrix Code, Data 4-45 <ESC>FX Data Matrix Code, Sequential Number 4-46 System Commands 4-47 <ESC>CS Print Speed 4-47 <ESC>#E Print Darkness 4-48 <ESC>NC Cutting Operation 4-49 <ESC>A3 Base Reference Point 4-50 <ESC>AR Print Area, Standard...
  • Page 7 BI-DIRECTIONAL COMMUNICATIONS Introduction General Configuration Serial Interface Receive Buffer Data Transmission Enquire & Response Enquire (SOH + ENQ) Cancel (SOH + CAN) Print Job Print Stop (SOH + DLE) Print Start (SOH + DC1) Obtain History Data (SOH + LW) Release Return Error (SOH + SUB) Printer Status (SOH + MG) Counter Status (SOH + ME)
  • Page 8 7-22 Table 33: Valid Commands (<ESC>&R) 7-23 Table 34: Valid Commands (<ESC>&S) 7-23 Table 35: Error Commands (<ESC>&S) 7-23 Table 36: Valid Commands (<ESC>/N) 7-24 Table 37: Specified Item Status 7-24 Table 38: Item Status In Process 7-24 SATO CONTACTS...
  • Page 9: About This Manual

    Unit 1: Introduction INTRODUCTION • About This Manual • Print Area Calculation SATO GL4xxe SBPL Programming Reference Page 1-1...
  • Page 10: About This Manual

    Page enumeration is two-part with each separated by a hyphen. The first character set references the Unit and the second identifies the page number. Page numbers begin with the numeral (1) one at the commencement of a new unit and ascends sequentially. SATO GL4xxe SBPL Programming Reference Page 1-2...
  • Page 11: Print Area Calculation

    Once this is done, one must calculate the label width in linear dots. That formula would be as follows for a 2 inch wide label: Resolution (DPI) x Label Width (Linear Inches) = Label Width (Linear Dots) 203 (DPI) x 2.0 (Linear Inches) = 406 (Linear Dots) SATO GL4xxe SBPL Programming Reference Page 1-3...
  • Page 12 POWER ON LINE STATUS LABEL RIBBON LINE FEED 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 SATO GL4xxe SBPL Programming Reference Page 1-4...
  • Page 13 PROGRAMMING CONCEPTS • Programming Language • Selecting Protocol Codes • Using Basic • Print Position Commands • GL-specific Commands SATO GL4xxe SBPL Programming Reference Page 2-1...
  • Page 14: Programming Language

    The commands, which are referred to as SATO Command Codes, contain non-printable ASCII characters (such as <STX>, <ETX>, <ESC>) and printable characters. These commands must be assembled into an organized block of code to be sent as one data stream to the printer, which in turn interprets the command codes and generates the desired label output.
  • Page 15: Selecting Protocol Codes

    02 Hex Data start 03 Hex Data end 1B Hex Command Code to follow 05 Hex Get printer status, Bi-Com Mode 18 Hex Cancel print job, Bi-Com mode Off-Line 40 Hex Take printer Off-Line SATO GL4xxe SBPL Programming Reference Page 2-3...
  • Page 16: Using Basic

    Sends an “<ESC>A” command code to the LPT1 parallel port 40 LPRINT E$;"H400";E$;"V100";E$;"XL1SATO"; Sends the data “SATO” to be to be placed 400 dots horizontally and 100 dots vertically on the label and printed in the “XL” font. 50 LPRINT E$;"Q1";...
  • Page 17 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 "XL1SATO" horizontally and 100 dots vertically on the label and printed in the “XL” auto smoothed font.
  • Page 18: Print Position Commands

    New Base Reference Point = Maximum Print Width - Label Width = (832 dots) - (406 dots) = 426 dots Each <ESC>H command would have the value “426” added to it to correctly position each field. SATO GL4xxe SBPL Programming Reference Page 2-6...
  • Page 19 The image is moved horizontally to the right 2 inches (406 dots) so that itcan be printed on a 2 inch wide label. For more information, see the Base Reference Point command description. SATO GL4xxe SBPL Programming Reference Page 2-7...
  • Page 20 Unit 2: Programming Concepts This page is left blank intentionally SATO GL4xxe SBPL Programming Reference Page 2-8...
  • Page 21 COMMAND QUICK REFERENCE • A through Z (all commands) SATO GL4xxe SBPL Programming Reference Page 3-1...
  • Page 22 Form Overlay, Store. Stores a label image in Expanded Memory. Storage number (00 to 99) bbbb Horizontal size of window to be stored (50 to Hmax) cccc Vertical size of window to be stored (50 to Vmax) SATO GL4xxe SBPL Programming Reference Page 3-2...
  • Page 23 *a,bbb Clear Memory Card. Stores a label image in Expanded Memory. Memory section to be cleared. G: SATO graphics file (001 to 999) P: PCX graphics file (001 to 999) F: Stored formats (001 to 999) O: TrueType fonts, memory card (001 to 009)
  • Page 24 Code 128 and SSCC symbols, which are fixed width bar codes. For values a, bb, ccc and d see instructions for Babbcccd. For UPC/EAN bar codes, this command puts descender bars and humand readable text below the symbol. SATO GL4xxe SBPL Programming Reference Page 3-4...
  • Page 25 Memory Area Select command for the memory area to be initialized. aaaa..a 8 character alphanumeric password Print Memory Card Status. Reports the status of the currently active Memory Card to the host by printing a status label. SATO GL4xxe SBPL Programming Reference Page 3-5...
  • Page 26 Data to be printed. BPn...n Postnet. Prints Postnet bar codes. n...n 5 digit ZIP (Postnet-32 format) 6 digits (Postnet-37 format) 9 digit ZIP+4 (Postnet -52 format) 11 digit ZIP+4+DPC (Postnet-62, Delivery Point format). SATO GL4xxe SBPL Programming Reference Page 3-6...
  • Page 27 2: Interleaved 2 of 5 5: Industrial 2 of 5 6: Matrix 2 of 5 Narrow space in dots (01-99) Wide space in dots (01-99) Narrow bar in dots (01-99) Wide bar in dots (01-99) SATO GL4xxe SBPL Programming Reference Page 3-7...
  • Page 28 Guide cell thickness (01 to 15) 01 indicates normal type. Repeat Label. Prints a duplicate of the last label printed. Card, Slot for Use. Selects the memory area for all following expanded memory commands. Memory Area 1 Memory Area 2 SATO GL4xxe SBPL Programming Reference Page 3-8...
  • Page 29 Character type specification HRI data HRI print data DCxx...x Data Matrix. Print Data. Prints data using Data Matrix format specified in BX Data Format command. xx...x Data to be printed. Cannot exceed 500 characters. SATO GL4xxe SBPL Programming Reference Page 3-9...
  • Page 30 Unit 3: Command Quick Reference COMMAND QUICK REFERENCE INSTRUCTION DESCRIPTION Font, Vector. Specifies printing of the unique SATO vector font. A: Helvetica Bold (proportional spacing) B: Helvetica Bold (fixed spacing) Font width (50 to 999 dots) Font height (50 to 999 dots)
  • Page 31 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 Length of horizontal side SATO GL4xxe SBPL Programming Reference Page 3-11...
  • Page 32 Quantity of bytes to download (max DOS file size is 32K). GPaaaaa PCX File. Downloads PCX file to the internal graphics image memory. aaaaa Quantity of bytes to download (max DOS file size is 32K). SATO GL4xxe SBPL Programming Reference Page 3-12...
  • Page 33 Multiple to expand horizontally (01 to 12) Multiple to expand vertically (01 to 12) Language. Specifies the display language for the LCD. 0: English 1: French 2: German 3: Spanish 4: Italian 5: Portugese 6: Extensible language (Japanese, etc) SATO GL4xxe SBPL Programming Reference Page 3-13...
  • Page 34 PCX File, Store. Stores a PCX graphic file. Storage number (001 to 999) bbbbb Number of bytes in the file to be stored. cc...c Fixed Font Spacing. Returns the printer to fixed character spacing mode. SATO GL4xxe SBPL Programming Reference Page 3-14...
  • Page 35: Esc>A1 Media Size

    Mirror Image. Prints mirror image of data. Must be preceded by an <ESC>A1 Media Size command. Font type. Specifies the 8W x 15H dot matrix font (includes descenders). Form Overlay, Recall. Recalls the label image from the printer’s form overlay memory for printing. SATO GL4xxe SBPL Programming Reference Page 3-15...
  • Page 36 12 Hour (00 to 11) 24 Hour Clock (00 to 23) Minutes (00 to 59) Seconds (00 to 59) AM or PM JJJ: Julian Date (000 to 366) Week (00 to 53) Week (01 to 54) SATO GL4xxe SBPL Programming Reference Page 3-16...
  • Page 37 Day (01-31) Hour (00-23) Minute (00-59) Font Type. Specifies 48W x 48L dot matrix font (includes descenders). 0: Disables auto-smoothing of font 1: Enables auto-smoothing if expansion is greater than 3. Print data SATO GL4xxe SBPL Programming Reference Page 3-17...
  • Page 38 Number of characters in the field Stop Code. Ends all print jobs. 0 (zero) Replace Data (Partial Edit). Provides the ability to replace a specified area of the previous label with new data. SATO GL4xxe SBPL Programming Reference Page 3-18...
  • Page 39: Control Commands

    STANDARD COMMAND CODES • Control Commands • Modification Commands • Print Position Commands • Font Commands • Barcode Commands • 2D Code Commands • System Commands • Graphic Commands SATO GL4xxe SBPL Programming Reference Page 4-1...
  • Page 40: Control Commands

    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. However, these commands must precede and follow each print job sent to the printer. SATO GL4xxe SBPL Programming Reference Page 4-2...
  • Page 41: 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 <ESC>CAN code if using the Bi- Com mode. Multi-Buffer jobs can be cleared with the Clear Print Job (<ESC>*) and Memory command.
  • Page 42: Job Id Store

    If more than one ID number is sent in a single job, i.e. <ESC>A <ESC>ID01 ..<ESC>ID02 ..The last number transmitted will be used. SATO GL4xxe SBPL Programming Reference Page 4-4...
  • Page 43: Job Name

    If more than one Job Name is sent in a single job, i.e. <ESC>A <ESC>WKSATO ..<ESC>WKSATO AMERICA ..The last name transmitted will be used. SATO GL4xxe SBPL Programming Reference Page 4-5...
  • Page 44: Modification Commands

    1 x 1. Therefore, either send the Character Expansion command before all printed data, or send Line and Box commands last, preceding the Quantity (<ESC>Q) command. Refer to Appendix: Reference Table 1 for additional information. SATO GL4xxe SBPL Programming Reference Page 4-6...
  • Page 45: Character, Pitch

    Character Pitch will always revert to the default value unless it is specified before each new font command in the data stream. This command also affects Codabar, Code 39 and Industrial 2 of 5 bar codes. Refer to Appendix: Reference Table 2 for additional information. SATO GL4xxe SBPL Programming Reference Page 4-7...
  • Page 46: Character, Fixed Spacing

    Once this command is sent in the data stream, it is in effect until the end of the print job unless a reset command is sent. Refer to Appendix: Reference Table 4 for additional information. SATO GL4xxe SBPL Programming Reference Page 4-8...
  • Page 47: Rotate, Fixed Base Reference Point

    The specified values are valid until another Rotate (<ESC>%) command is received. Receipt of a Stop Print (<ESC>Z) command will reset the setting to the default value. (4-5b) Refer to Appendix: Reference Table 5 for additional information. SATO GL4xxe SBPL Programming Reference Page 4-9...
  • Page 48: Sequential Numbering

    It is necessary to specify the print position for each sequential field on a label. Up to eight different sequential fields can be specified per label. Alpha characters are ignore Refer to Appendix: Reference Table 6 for additional information. SATO GL4xxe SBPL Programming Reference Page 4-10...
  • Page 49: Print, Circles

    When the pattern designation value is outside the range is specified, it will be processed as “0” and also will not be a command error. When the print start position is outside of the printable area, printing will not be performed due to command error. (4-7b) SATO GL4xxe SBPL Programming Reference Page 4-11...
  • Page 50: Print, Triangles

    Exclusive use of key is initially off when powering on the printer. Key Entry <IZ> is invalid when the exclusive use of key is activated. SATO GL4xxe SBPL Programming Reference Page 4-12...
  • Page 51: Print, Lines & Boxes

    <ESC>H0320<ESC>V0100<ESC>FW20V0200 <ESC>H0350<ESC>V0100<ESC>FW1010H0200V0200 <ESC>Q1 <ESC>Z OUTPUT (4-9) NOTES It is recommended that all lines and boxes be specified in the normal print direction. Use the <ESC>EX0 Expanded Print Length command for maximum label length. SATO GL4xxe SBPL Programming Reference Page 4-13...
  • Page 52: Reverse Image

    If the height and width to be reversed contains anything other than alphanumeric data, the area is not printed. If the values specified exceed the maximum ranges, the reverse image is not created. SATO GL4xxe SBPL Programming Reference Page 4-14...
  • Page 53 Form overlays do not have to be recompiled each time they are called to be printed and therefore may result in much faster print output. Refer to Appendix: Reference Table 7 for additional information. SATO GL4xxe SBPL Programming Reference Page 4-15...
  • Page 54 The overlay is stored using the Form Overlay Store (<ESC>&) command. If this command is used with the Expanded Print Length (<ESC>EX0) command the Form Overlay length cannot exceed 9999 dots. Refer to Appendix: Reference Table 8 for additional information. SATO GL4xxe SBPL Programming Reference Page 4-16...
  • Page 55: Replace Data (Partial Edit)

    This command will not function if the power has been cycled off and back on since the last label was printed. Proportional Pitch text cannot be used with this command. SATO GL4xxe SBPL Programming Reference Page 4-17...
  • Page 56: Copy Image Area (Partial Copy)

    If you use the Rotate command; the V, H, X, and Y axis will be reversed. If the reference area of the target image exceeds the print area, it will not be printed. SATO GL4xxe SBPL Programming Reference Page 4-18...
  • Page 57: Journal Printing

    OUTPUT (4-14) NOTES Journal mode assumes a maximum label width. Otherwise, you may print where there is no label and damage your print head. It is effective only for the current print job. SATO GL4xxe SBPL Programming Reference Page 4-19...
  • Page 58: Recall And Print Of Font & Logo

    Specify the value of Unicode for print data. When calling and printing a logo, specify Print digit: 0002, Print data: <6B82> . Note that <826B> is the value of Shift JIS code of L. SATO GL4xxe SBPL Programming Reference Page 4-20...
  • Page 59: Mirror Image

    Any data outside the area defined by the Media Size (<ESC>A1) command is not mirrored the command is treated as a command error. Any print job containing the <ESC>RM command and without any print data will be treated as a command error. SATO GL4xxe SBPL Programming Reference Page 4-21...
  • Page 60: Media Size

    If the label size is changed, then this command must be re-specified to center the print image on the label. All eight variables “aaaa” and “bbbb” must be included in this command. SATO GL4xxe SBPL Programming Reference Page 4-22...
  • Page 61: Print Position

    Leading zeroes do not have to be entered - command “V1” is equivalent to “V0001”. Refer to Appendix: Reference Tables 9 & 10 for additional information. SATO GL4xxe SBPL Programming Reference Page 4-23...
  • Page 62: Font Commands

    The proportionally spaced fonts XU, XS, XM, XL and XA can be printed with fixed spacing using the Proportional Space (<ESC>PS) command. Refer to Appendix: Reference Tables 11 through 19 for additional information. SATO GL4xxe SBPL Programming Reference Page 4-24...
  • Page 63 Characters may be enlarged through the use of the Character Expansion (<ESC>L) command. Character spacing may be altered through the use of the Character Pitch (<ESC>A) command. A font must be defined for each field to be printed. There is no default font. SATO GL4xxe SBPL Programming Reference Page 4-25...
  • Page 64 = Vertical size (4 - 999 dots or P02 - P99) nn..n = Data to be printed. Place within the normal command stream. EXAMPLE <ESC>A <ESC>V0100<ESC>H0100 <ESC>RDA00,P28,P28,CG Times <ESC>V0200<ESC>H0100 <ESC>RDB00,075,075,CG Triumvirate <ESC>Q1 <ESC>Z SATO GL4xxe SBPL Programming Reference Page 4-26...
  • Page 65 If point size is used, the point size is preceded by a “P”. Refer to Appendix: Reference Tables 20 & 21 for additional information. SATO GL4xxe SBPL Programming Reference Page 4-27...
  • Page 66: Font, Vector

    FONT, VECTOR FUNCTION To specify printing of the unique SATO vector font. The vector font allows large characters to be printed with smooth, round edges. Each character is made of a number of vectors (or lines), and will require slightly more printer compiling time.
  • Page 67: Bar Codes

    = SSCC only. Not used for other bar code types 0: No human readable text 1: Human readable at top 2: Human readable at bottom Place immediately preceding the data to be encoded. SATO GL4xxe SBPL Programming Reference Page 4-29...
  • Page 68 <ESC>H0025<ESC>V0200<ESC>BD20210045676567 <ESC>H0075<ESC>V0310<ESC>XM45676567 <ESC>H0025<ESC>V0375<ESC>BD30215001234567890 <ESC>H0025<ESC>V0600<ESC>BD50210012345 <ESC>H0175<ESC>V0710<ESC>XS12345 <ESC>H0025<ESC>V0775<ESC>BD60210012345 <ESC>H0105<ESC>V0885<ESC>XS12345 <ESC>H0025<ESC>V0950<ESC>BA03100123455 <ESC>H0095<ESC>V1060<ESC>XS12345 <ESC>H0025<ESC>V1125<ESC>BC03100081234ABCD <ESC>H0080<ESC>V1240<ESC>XS1234ABCD <ESC>H0525<ESC>V0025<ESC>B002100A12345B <ESC>H0565<ESC>V0135<ESC>XS12345 <ESC>H0475<ESC>V0200<ESC>BD303100123456789012 <ESC>H0525<ESC>V0375<ESC>BD4031001234567 <ESC>H0525<ESC>V0550<ESC>DE03100123456 <ESC>H0500<ESC>V0600<ESC>OB0 <ESC>H0533<ESC>V0655<ESC>OB123456 <ESC>H0350<ESC>V0725<ESC>D30315009827721123 <ESC>L0101<ESC>H0320<ESC>V0800<ESC>OB0 <ESC>H0365<ESC>V0878<ESC>OB98277 <ESC>H0505<ESC>V0878<ESC>OB21123 <ESC>H0665<ESC>V0760<ESC>BF0313021826 <ESC>H0680<ESC>V0730<ESC>OB21826 <ESC>H0425<ESC>V1125<ESC>D30315000633895260 <ESC>L0101<ESC>H0395<ESC>V1200<ESC>OB0 <ESC>H0440<ESC>V1278<ESC>OB06338 <ESC>H0580<ESC>V1278<ESC>OB95260 <ESC>H0730<ESC>V1155<ESC>BF0314024 <ESC>H0745<ESC>V1125<ESC>OB24 <ESC>H0325<ESC>V0950<ESC>BG03100>GAB>D789>C123456 <ESC>H0435<ESC>V1055<ESC>XSAB789123456 <ESC>Q1<ESC>Z SATO GL4xxe SBPL Programming Reference Page 4-30...
  • Page 69 The <ESC>D and <ESC>BD commands are not valid for the MSI, Code 128, Code 93, UPC-E, Bookland, UCC128 and Postnet symbologies. Refer to Appendix: Reference Tables 24 through 26 for additional information. SATO GL4xxe SBPL Programming Reference Page 4-31...
  • Page 70: Barcode, Human Readable Information (Hri)

    8 dots/mm (203 dpi), “02” and “03” is the proper value for narrow bar width. 12 dots/mm (305 dpi), “03” and “04” is the proper value for narrow bar width. 24 dots/mm (309 dpi), “06”, “07”, and “08” is the proper value for narrow bar width. SATO GL4xxe SBPL Programming Reference Page 4-32...
  • Page 71: Ean/Ucc Composite Symbol

    This command does not support RSS Expand. Print of HRI cannot be designated with this command. If the value in 1D barcode symbology is not set to the data portion, composite symbol will not be printed. SATO GL4xxe SBPL Programming Reference Page 4-33...
  • Page 72 Place anywhere after <ESC>V but before <ESC>Q. EXAMPLE <ESC>H0100<ESC>V1125<ESC>BC0310008123 <ESC>H0155<ESC>V1240<ESC>XS1234ABCD OUTPUT (4-23) NOTES The quantity of digit data and input data must be equal. A command error will occur if the digit data and input data are not equal. SATO GL4xxe SBPL Programming Reference Page 4-34...
  • Page 73 = Print Data (numeric (0 to 9) 2 to 5 digits) Place anywhere after <ESC>V but before <ESC>Q. EXAMPLE <ESC>H0325<ESC>V0725<ESC>D30315009827721123 <ESC>L0101<ESC>H0295<ESC>V0800<ESC>ESC>OB0 <ESC>H0340<ESC>V0878<ESC>OB98277 <ESC>0480<ESC>V0878<ESC>OB21123 <ESC>H640<ESC>V0760<ESC>BF0313021826 <ESC>H655<ESC>V0730<ESC>OB21826 OUTPUT (4-24) NOTES Only numeric can be specified as print data. Refer to the attached table. SATO GL4xxe SBPL Programming Reference Page 4-35...
  • Page 74 If using “Start Code C” to specify an odd numbered digit, “0” will be added to the end of the print data before printing. When a Start Code is omitted, data will be printed with “Start Code B”. Refer to Appendix: Reference Table 27 for additional information. SATO GL4xxe SBPL Programming Reference Page 4-36...
  • Page 75 Note that check digit is automatically added; therefore, specify data in 17 digits excluding check digit. Place anywhere after <ESC>V but before <ESC>Q. EXAMPLE Without incrementing: <ESC>A <ESC>H0100<ESC>V0100<ESC>BI10415010123456000000001 <ESC>Q2 <ESC>Z With incrementing: <ESC>A <ESC>H0100<ESC>V0100<ESC>F001+001 <ESC>BI104150101234567000000001 <ESC>Q2 <ESC>Z SATO GL4xxe SBPL Programming Reference Page 4-37...
  • Page 76 If the expository font is outside of the print area, it will not be printed. When HRI is available, specify Vertical Print Position (<ESC>V) and Horizontal Print Position (<ESC>H) in consideration of print of expository font. SATO GL4xxe SBPL Programming Reference Page 4-38...
  • Page 77 Place immediately preceding the data to be encoded. EXAMPLE <ESC>A <ESC>H0100<ESC>V0120<ESC>BP94089 <ESC>H0100<ESC>V0160<ESC>BP123456 <ESC>H0100<ESC>V0200<ESC>BP123456789 <ESC>H0100<ESC>V0240<ESC>BP12345678901 <ESC>Q1 <ESC>Z OUTPUT (4-27) NOTES If the number of data digits does not match those listed, the command is ignored. Only numeric data will be accepted. SATO GL4xxe SBPL Programming Reference Page 4-39...
  • Page 78: Variable Ratio Barcodes

    You may use only one variable ratio bar code per label. If the data specified in this command is incorrect, the command is ignored and the ratio used will be based on the previous setting. SATO GL4xxe SBPL Programming Reference Page 4-40...
  • Page 79: Barcode Expansion

    This command must be preceded by the Variable Ratio Bar Codes (<ESC>BT) command. The following bar codes will be affected by the Character Pitch command: Codabar, Code 39, Interleaved 2 of 5, Matrix 2 of 5. SATO GL4xxe SBPL Programming Reference Page 4-41...
  • Page 80 The maximum Digit Number of Data is 2681; however, it may vary depending on the specification of minimum module size, security level, and print data type. If the specification of parameter or number of data is not matching, printing will not be properly performed. SATO GL4xxe SBPL Programming Reference Page 4-42...
  • Page 81: Qr Code

    This is referred to as “Parity Data”. When the character mode is set to other than binary mode, it is not necessary to set the data number parameter. SATO GL4xxe SBPL Programming Reference Page 4-43...
  • Page 82: Maxi Code

    OUTPUT (4-32) NOTES For mode 2, specify up to 9 numeric digits; and for mode 3, specify fixed 6 digits (alphanumeric - use English capital letters). “00H” cannot be specified for print data. SATO GL4xxe SBPL Programming Reference Page 4-44...
  • Page 83: Data Matrix Code

    If “000” is specified for Number of Cells per Line and Number of Cell Lines, optimum matrix size is automatically set based on the number of data. The thickness of normal type guide cell is “01”. Refer to Appendix: Reference Table 28 for additional information. SATO GL4xxe SBPL Programming Reference Page 4-45...
  • Page 84: Data Matrix Code, Data

    Place after <ESC>BX. EXAMPLE <ESC>A <ESC>H0100<ESC>V0100<ESC>BX011002020000000001 <ESC>DC1234567890 <ESC>Q1 <ESC>Z OUTPUT This command does not result in printer output. Refer to <ESC>DC for printer output. NOTES This code must be placed after the <ESC>BX command. SATO GL4xxe SBPL Programming Reference Page 4-46...
  • Page 85: Data Matrix Code, Sequential Number

    = Digit number (001 to 999) Place before <ESC>BX. EXAMPLE <ESC>A <ESC>H0100<ESC>V0100<ESC>FX001+001005003 <ESC>BX011002020000000001 <ESC>DC00006000 <ESC>Q1 <ESC>z OUTPUT Label Set 1: (4-34a) Label Set 2: (4-34b) NOTES This code must be placed before the <ESC>BX command. SATO GL4xxe SBPL Programming Reference Page 4-47...
  • Page 86: Print Speed

    3: 4 ips (100 mm/s) 4: 5 ips (125 mm/s) 5: 6 ips (150 mm/s) 6: 7 ips (175 mm/s) 7: 8 ips (200 mm/s) 8: 9 ips (225 mm/s) 9: 10 ips (250 mm/s) SATO GL4xxe SBPL Programming Reference Page 4-48...
  • Page 87: Print Darkness

    [Print darkness specification] = A ~ F (Omissible) The initial value is 3, and the valid parameter range is 1 - 5 for 8 dots/mm and 12 dots/ mm print head configurations. SATO GL4xxe SBPL Programming Reference Page 4-49...
  • Page 88: Cutting Operation

    Delimit Start of Data Transmission <A> and End of Transmission <Z> with this command for use. This command cannot be used in combination with other commands. This command is valid when printer is in standby state after the completion of print. SATO GL4xxe SBPL Programming Reference Page 4-50...
  • Page 89: Base Reference Point

    The printer will not “wrap” if any part of a character or image extends beyond the last print dot position. It will disappear and not be visible on any part of the label. SATO GL4xxe SBPL Programming Reference Page 4-51...
  • Page 90: Print End Position

    Changes the label stop position in the sensor invalid mode. FORMAT <ESC>EP Place after <ESC>A within the data stream. EXAMPLE <ESC>A <ESC>EP <ESC>Z OUTPUT This command does not result in printer output. NOTES None. SATO GL4xxe SBPL Programming Reference Page 4-52...
  • Page 91: Cut, Job

    It is recommended that the “~” be used whenever possible. When using the Cutter command, the total number of labels printed is the product of the cut value and the print quantity. SATO GL4xxe SBPL Programming Reference Page 4-53...
  • Page 92: Esc>Q Print Quantity

    If the cutter option has been enabled in the printer configuration and the cut value is (a = 0), the cutter is inactive. This command is independent of the <ESC>Q Quantity command. It will cut the specified number of labels. SATO GL4xxe SBPL Programming Reference Page 4-54...
  • Page 93: Cut, Last

    This command will feed the last printed label to the cut position, cut the label and then back feed to the head position in preparation for printing the next job. (4-40) NOTES The optional cutter assembly must be installed and enabled to use this function. SATO GL4xxe SBPL Programming Reference Page 4-55...
  • Page 94: Clear Print Jobs & Memory

    The “a” parameter can be used in either the multi-buffer or single job mode to clear specific parts of the memory. When the “a” parameter is used, the section of memory specified will not be cleared until the label is printed. SATO GL4xxe SBPL Programming Reference Page 4-56...
  • Page 95 This command does not result in printer output. NOTES Up to 32 characters are available for LCD messages. In the printer’s Receive Mode, specify the single-item buffer mode. This command is not disclosed to users. SATO GL4xxe SBPL Programming Reference Page 4-57...
  • Page 96: Repeat Label

    OUTPUT A duplicate of the previous label will be printed. NOTES This command will not have an effect if the printer’s power is cycled off and back on since printing the previous label. SATO GL4xxe SBPL Programming Reference Page 4-58...
  • Page 97: Eeprom Setup

    The entire or partial parameter entries is omissible by using commas for total settings. Any commas that are omitted will result in those settings remaining as default. Refer to Appendix: Reference Table 30 for additional information. SATO GL4xxe SBPL Programming Reference Page 4-59...
  • Page 98: Serial Interface, Configuration

    Printer Setting Utility program contained on the CDROM shipped with the printer. All command parameters must be present in the data stream sent to the printer. Selecting X-On/X-Off, Bi-Com3 or Bi-Com4 will automatically place the printer in the Multi Buffer mode. SATO GL4xxe SBPL Programming Reference Page 4-60...
  • Page 99 EEPROM. To change the value stored in the EEPROM, use the Printer Setting (<ESC>PC) command or use the Printer Setting Utility program contained on the CD-ROM shipped with the printer. SATO GL4xxe SBPL Programming Reference Page 4-61...
  • Page 100: Line Feed

    If several “H” values are specified after this command, the print position will be determined by the “H” value last specified. The font to be used must be redefined after each “H” command. SATO GL4xxe SBPL Programming Reference Page 4-62...
  • Page 101: User Download

    Downloading Auto Online and Zero Slash settings will overwrite the values selected using the LCD panel. If these settings are changed using the LCD panel, they will overwrite any previously downloaded settings. Refer to Appendix: Reference Table 31 for additional information. SATO GL4xxe SBPL Programming Reference Page 4-63...
  • Page 102 Place anywhere between <ESC>A and <ESC>Z. EXAMPLE <ESC>A <ESC>CL1 <ESC>Z OUTPUT This command does not result in printer output. NOTES This function may be set through the LCD and is not disclosed to users. SATO GL4xxe SBPL Programming Reference Page 4-64...
  • Page 103: Zero Slash

    This command can also be set using the LCD panel. The last setting received, whether it is via this command or manually input via the LCD panel will be active. The printer default setting can be set by user download. SATO GL4xxe SBPL Programming Reference Page 4-65...
  • Page 104: Online Feed

    This command can also be set using the LCD panel. The last setting received, whether it is via this command or manually input via the LCD panel will be active. The printer default setting can be set by user download. SATO GL4xxe SBPL Programming Reference Page 4-66...
  • Page 105 If a job contains elements out of the memory range, it is ignored. If the Forms Overlay (<ESC>&) command is used with Expanded Memory to expand the print area, the Form Overlay length is still limited to the maximum. SATO GL4xxe SBPL Programming Reference Page 4-67...
  • Page 106: Graphic Commands

    A custom graphic cannot be enlarged by the Character Expansion <ESC>L command and is not affected by either of the Rotation commands. Always design the graphic image in the appropriate orientation. SATO GL4xxe SBPL Programming Reference Page 4-68...
  • Page 107: Graphics, Bmp File

    64K. If the uncompressed file exceeds 64K, the graphic will not print. Only black and white BMP files can be downloaded. The file size specified by this command is the DOS file size in bytes. SATO GL4xxe SBPL Programming Reference Page 4-69...
  • Page 108: Graphics, Pcx File

    PCX file is 64K. If the uncompressed file exceeds 64K, the graphic will not print. Only black and white PCX files can be downloaded. The file size specified by this command is the DOS file size in bytes. SATO GL4xxe SBPL Programming Reference Page 4-70...
  • Page 109: Copy Image Area

    If using the Rotate command; the V, H, X and Y axis will be reversed. If the reference area of the target image exceeds the print area, it will not be printed. Refer to Programming Concepts of this manual for the values of Hmax and Vmax. SATO GL4xxe SBPL Programming Reference Page 4-71...
  • Page 110 Unit 4: Standard Command Codes This page is left blank intentionally SATO GL4xxe SBPL Programming Reference Page 4-72...
  • Page 111: Calendar Commands

    OPTIONAL COMMAND CODES • Calendar Commands • Memory Card Commands SATO GL4xxe SBPL Programming Reference Page 5-1...
  • Page 112: Calendar Commands

    January 1st (001) and the last day of the year is December 31st (365 or 366 for leap years). The TT command should not be specified for printing in numeric only barcodes. SATO GL4xxe SBPL Programming Reference Page 5-2...
  • Page 113: Calendar Increment

    If December 31st falls on a Wednesday, it belongs to the first week of the following year. If Calendar Increment calculation extends over the year, the result belongs to the week number of the following year. SATO GL4xxe SBPL Programming Reference Page 5-3...
  • Page 114: Calendar Configuration

    If December 31st falls on a Wednesday, it belongs to the first week of the following year. If Calendar Increment calculation extends over the year, the result belongs to the week number of the following year. SATO GL4xxe SBPL Programming Reference Page 5-4...
  • Page 115: Memory Card Commands

    If the flash memory was assigned a value of 1 instead, then a <ESC>CC1 sequence will be defining the flash memory as the memory to be used for subsequent data storage. SATO GL4xxe SBPL Programming Reference Page 5-5...
  • Page 116 Specify the Card Slot for Use <CC> prior to using this command. This command is for formatting a memory card and cannot be used in combination with other commands. If formatting the card by accident, registered data will be erased. SATO GL4xxe SBPL Programming Reference Page 5-6...
  • Page 117: Memory Cartridge Format

    To start printing from memory cartridge.. FORMAT <ESC>FP EXAMPLE <ESC>A <ESC>CC1<ESC>FP <ESC>Z NOTES This command cannot be used in combination with other commands. It will be printed by width 100mm and pitch 100mm. SATO GL4xxe SBPL Programming Reference Page 5-7...
  • Page 118: Memory Card Clear

    Beign Start of Data Transmission <A> and End of Data Transmission <Z> with this command. Specify the Card Slot for Use <CC> prior to using this command. To clear all data of the memory card, use Card Format <BJF>. SATO GL4xxe SBPL Programming Reference Page 5-8...
  • Page 119: Print Memory Card Status

    OUTPUT (5-2) NOTES This command is for printing the memory card status and cannot be used in combination with other commands. The status can be chaecked with the label of W68mm and H90mm. SATO GL4xxe SBPL Programming Reference Page 5-9...
  • Page 120: True Type Font, Recall

    Place anywhere between <ESC>A and <ESC>Z. EXAMPLE <ESC>A <ESC>H0100<ESC>V0100<ESC>BJR1010101000010TEST <ESC>Q1 <ESC>Z OUTPUT (5-3) NOTES This command is not valid without an optional memory card. Specify the Card Slot for Use <CC> prior to using this command. SATO GL4xxe SBPL Programming Reference Page 5-10...
  • Page 121: True Type Font, Store

    There is not a printer output as a result of this command. NOTES This command is not valid without an optional memory card. Specify the Card Slot for Use <CC> prior to using this command. SATO GL4xxe SBPL Programming Reference Page 5-11...
  • Page 122: Format/Field, Recall

    The number of data characters contained in the “cc...c” field cannot exceed the value designated in the <ESC>/N Field Store command. If it does, the data will be truncated to fit the field length defined in the store command. SATO GL4xxe SBPL Programming Reference Page 5-12...
  • Page 123: Format/Field, Store

    Use Field Store <ESC>/N in conjunction with this command. Attempts to store using a predefined field number will result in an error and the targeted content will be printed. Refer to Appendix: Tables 34, 35, & 39 for additional information. SATO GL4xxe SBPL Programming Reference Page 5-13...
  • Page 124 The label image can be moved by using the <ESC>V and <ESC>H commands when it is stored along with a window size. If it exceeds the printable area by being moved, the label image will be trancated. Refer to Appendix, Table 36 for additional information. SATO GL4xxe SBPL Programming Reference Page 5-14...
  • Page 125 PCX and BMP files can be stored but their combined size cannot exceed memory. The forms stored by this command are cleared by the <ESC>*R command. Refer to Appendix: Tables 37 & 38 for additional information. Figure for Example A Figure for Example B (5-5) SATO GL4xxe SBPL Programming Reference Page 5-15...
  • Page 126 Example B: When window size is specified <ESC>A <ESC>A1800400 <ESC><ESC>V100<ESC>H00<ESC>P2<ESC>L0202 <ESC>XMABCD <ESC>CC1 <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 <ESC>V60<ESC>H60 <ESC>FW0808V800H400 <ESC>V320<ESC>H60 <ESC>FW04H400 <ESC>CC1 <ESC>&S1 <ESC>V200<ESC>H100<ESC>OB12345 <ESC>Z SATO GL4xxe SBPL Programming Reference Page 5-16...
  • Page 127: Bmp File, Recall

    Place after the CC Memory Area Select command. EXAMPLE <ESC>A <ESC>CC1<ESC>V100<ESC>H100 <ESC>GC001 <ESC>Q1<ESC>Z OUTPUT (5-6) NOTES The <ESC>CC Memory Area Select command must be sent before this command. The printed image can be expanded or rotated. SATO GL4xxe SBPL Programming Reference Page 5-17...
  • Page 128: Bmp File, Store

    OUTPUT There is no printer output as a result of this command. NOTES This command requires the Expanded Memory Option. See your SATO representative for details. Data must be sent in binary format. The Memory Area Select Command <ESC>CCa must be sent before this command.
  • Page 129: Pcx File, Recall

    <ESC>A<ESC>CC1<ESC>%2 <ESC>V0330<ESC>H0600<ESC>PY001 <ESC>Q1<ESC>Z 3rd Rotation, Base Reference Point <ESC>A<ESC>CC1<ESC>%3 <ESC>V0100<ESC>H0800<ESC>PY001 <ESC>Q1<ESC>Z OUTPUT (5-7) NOTES This command requires Expanded Memory option. See your SATO representative for details. See the <ESC>PI Store PCX Graphics command. SATO GL4xxe SBPL Programming Reference Page 5-19...
  • Page 130: Pcx File, Store

    There is no printer output as a result of this command. See <ESC>PY PCX Graphics Recall command. NOTES This command requires Expanded Memory option. See your SATO representative for details. Graphics cannot be stored as part of a format. Only black and white PCX files can be stored.
  • Page 131 The graphic image to be stored cannot be rotated before it is stored. It can be rotated when it is recalled. Graphic images cannot be stored as part of a label format. See the <ESC>GI Custom Graphic Store command. SATO GL4xxe SBPL Programming Reference Page 5-21...
  • Page 132 <ESC>GIHaaabbb001(DATA) <ESC>GIHaaabbb002(DATA) <ESC>Z Do not use ASCII <CR> or <LF> characters (carriage return or line feed) as line delimiters within the graphic data or the actual image will not be printed as specified. SATO GL4xxe SBPL Programming Reference Page 5-22...
  • Page 133: Character, Custom Designed

    The characters are stored in volatile memory and must be reloaded if the printer power is lost. Do not use ASCII <CR> or <LF> characters (carriage return or line feed) as line delimiters within the graphic data or the actual image will not be printed as specified. SATO GL4xxe SBPL Programming Reference Page 5-23...
  • Page 134 Unit 5: Optional Command Codes This page is left blank intentionally SATO GL4xxe SBPL Programming Reference Page 5-24...
  • Page 135 BI-DIRECTIONAL COMMUNICATIONS • Introduction • Enquire & Response SATO GL4xxe SBPL Programming Reference Page 6-1...
  • Page 136 An error will also occur if an incorrect item number is identified. BCC must follow <ESC>Z if the BCC function is enabled. Print Data <STX><ESC>A<ESC>{ID 00000}{Print Data}<ESC>Z<ESC>BCC<ETX> Status Request <STX>SOH{ENQ}00000<ETX> SATO GL4xxe SBPL Programming Reference Page 6-2...
  • Page 137 This command stops the printing process and the host sends an ENQ command to confirm execution. Execution should be avoided while sending print or other data. If an error condition occurs, a NAK is returned and an ACK is returned if one does not. SATO GL4xxe SBPL Programming Reference Page 6-3...
  • Page 138 PRINTER STATUS (SOH + MG) Receipt of SOH followed by MG causes the printer to return information bounded by an STX-ETX pair that reports the current operating status of the printer. SATO GL4xxe SBPL Programming Reference Page 6-4...
  • Page 139 INTERFACE SETTINGS (SOH + H2) Receipt of SOH followed by H2 causes the printer to return information bounded by an STX-ETX pair that reports the current operating parameters of the interface. SATO GL4xxe SBPL Programming Reference Page 6-5...
  • Page 140 Avoid the inclusion and use of this command in the print data (<ESC>A - <ESC>Z). Note that five (5) digits are required and that when specifying “99999” the next item number will be “00000”. SATO GL4xxe SBPL Programming Reference Page 6-6...
  • Page 141 Avoid the inclusion and use of this command in the print data (<ESC>A - <ESC>Z). PARAMETER (ESC + PL + a BCC Check - 0: Not Available 1: Available Item Number Check - 0: Not Available 1: Available SATO GL4xxe SBPL Programming Reference Page 6-7...
  • Page 142 Unit 6: Bi-Directional Communications This page is left blank intentionally SATO GL4xxe SBPL Programming Reference Page 6-8...
  • Page 143: Custom Protocol Codes

    APPENDIX • Custom Characters/Graphics • Custom Protocol Codes • Reference Tables SATO GL4xxe SBPL Programming Reference Page 7-1...
  • Page 144 2. Lay out a grid and draw the image on the grid. • Each square represents one dot • Blacken squares for each printed dot 3. Transfer the image into two bit map representations and then into hexadecimal or binary format. SATO GL4xxe SBPL Programming Reference Page 7-2...
  • Page 145 To send binary characters using BASIC, the expression ìCHR (&HFF) will send the binary equivalent of FF (i.e., 11111111). 7. To recall the custom character from memory, send the following code to the printer: SATO GL4xxe SBPL Programming Reference Page 7-3...
  • Page 146: Custom Graphics Example

    2. Lay out a grid and draw the image on the grid. • Each square represents one dot • Blacken squares for each printed dot 3. Transfer the image into a bit map representation and then into hexadecimal format: SATO GL4xxe SBPL Programming Reference Page 7-4...
  • Page 147 “CHR$ (&HC0)” which sends the hexidecimal value of “C0” as binary data (11000000). The BASIC program listing for sending this graphic to the printer (using the RS232 port) in binary format is: SATO GL4xxe SBPL Programming Reference Page 7-5...
  • Page 148 PRINT #1,CHR$(&H03);CHR$(&HC0);CHR$(&H00);CHR$(&H03);CHR$(&HC0); PRINT #1,CHR$(&H00);CHR$(&H03);CHR$(&HC0);CHR$(&H00);CHR$(&H03); PRINT #1,CHR$(&HC0);CHR$(&H00);CHR$(&H03);CHR$(&HC0);CHR$(&H00); PRINT #1,CHR$(&H03);CHR$(&HC0);CHR$(&H00);CHR$(&H03);CHR$(&HC0); PRINT #1,CHR$(&H00);CHR$(&H03);CHR$(&HC0);CHR$(&H00);CHR$(&H03); PRINT #1,CHR$(&HC0);CHR$(&H00);CHR$(&H03);CHR$(&HC0);CHR$(&H00); PRINT #1,CHR$(&H01);CHR$(&H80);CHR$(&H00);CHR$(&H03);CHR$(&HC0); PRI NT #1,CHR$(&H00);CHR$(&H00);CHR$(&H00);CHR$(&H00);CHR$(&H03); PRINT #1,CHR$(&HC0);CHR$(&H00);CHR$(&H00);CHR$(&H00);CHR$(&H00); PRINT #1,CHR$(&H03);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$(&HFF); PRINT #1,E$; .Q1"; E$; .Z"; CHR$(3) CLOSE #1 SATO GL4xxe SBPL Programming Reference Page 7-6...
  • Page 149: Pcx Graphics Example

    DA$ = INPUT$(15706, #2) C$ = CHR$(27) WIDTH .LPT1:., 255 LPRINT C$; .A.; LPRINT C$; .V150"; C$; .H100"; C$; .GP15706,.; DA$ LPRINT C$; .Q1"; C$; .Z"; CLOSE #2 The printer output for this program is: SATO GL4xxe SBPL Programming Reference Page 7-7...
  • Page 150 Unit 7: Appendix SATO GL4xxe SBPL Programming Reference Page 7-8...
  • Page 151 ASCII characters or hex notation, allowing a complete 128 character (except for the “,”) set to be used for selecting the custom code. PROTOCOL COMMAND CODES PARAMETER STANDARD SETTING ALTERNATE SETTING OFFLINE h (Auto Online) 0=Yes, 1=No i (Zero Slash) 0=Yes, 1=No j j (Eurocharacter) User defined SATO GL4xxe SBPL Programming Reference Page 7-9...
  • Page 152: Reference Tables

    Modification <RF> Memory Card <GR> <GC> <PY> TABLE 6: VALID COMMANDS (<ESC>F) Font <XU> <XS> <XM> <XB> <XL> <OA> <OB> <RD> <$=> Barcode <B> <BC> <BG> <BI> <BP> <D> <D><d> <BD> <BT> <BW> SATO GL4xxe SBPL Programming Reference Page 7-10...
  • Page 153 Memory Card <GR> <GC> <PY> TABLE 11: VALID COMMANDS (<ESC>XU, XS, XM, XB, XL) Print Position <V> <H> Modification <P> <L> <%> <PS> <PR> <F> <&> </> <O> <WD> Barcode <D><d> Calendar <WA> SATO GL4xxe SBPL Programming Reference Page 7-11...
  • Page 154 TABLE 12: CHARACTER FONT SET (<ESC>XU) W5 X H9 CHARACTER SIZE, 12 DOTS/MM HEAD DENSITY, THREE-FOLD HEIGHT/WIDTH TABLE 13: CHARACTER FONT SET (<ESC>XS) W17 X H17 CHARACTER SIZE, 12 DOTS/MM HEAD DENSITY, TWO-FOLD HEIGHT/WIDTH SATO GL4xxe SBPL Programming Reference Page 7-12...
  • Page 155 TABLE 14: CHARACTER FONT SET (<ESC>XM) W24 X H24 CHARACTER SIZE, 12 DOTS/MM HEAD DENSITY, ONE-FOLD HEIGHT/WIDTH TABLE 15: CHARACTER FONT SET (<ESC>XB) W48 X H48 CHARACTER SIZE, 12 DOTS/MM HEAD DENSITY, ONE-FOLD HEIGHT/WIDTH SATO GL4xxe SBPL Programming Reference Page 7-13...
  • Page 156 W48 X H48 CHARACTER SIZE, 12 DOTS/MM HEAD DENSITY, ONE-FOLD HEIGHT/WIDTH TABLE 17: VALID COMMANDS (<ESC>OA, OB) Print Position <V> <H> Modification <P> <L> <%> <F> <&> </> <O> <WD> Barcode <D><d> Calendar <WA> SATO GL4xxe SBPL Programming Reference Page 7-14...
  • Page 157 TABLE 18: CHARACTER FONT SET (<ESC>OA) W24 X H24 CHARACTER SIZE, 12 DOTS/MM HEAD DENSITY, ONE-FOLD HEIGHT/WIDTH TABLE 19: CHARACTER FONT SET (<ESC>OB) W24 X H24 CHARACTER SIZE, 12 DOTS/MM HEAD DENSITY, ONE-FOLD HEIGHT/WIDTH SATO GL4xxe SBPL Programming Reference Page 7-15...
  • Page 158 The barcode will not have a guard bar and human readable information. UPC-A Fixed For print data, refer to the UPC-A code table. UCC/EAN128 Refer to UCC/EAN128 <BI>. Fixed POSTNET Specify in 5, 6, 9, or 11 digits. Fixed SATO GL4xxe SBPL Programming Reference Page 7-16...
  • Page 159 The barcode will not have a guard bar and human readable information. UPC-A Fixed For print data, refer to the UPC-A code table. NOTE: The model composition ratio may not be available for some barcode types. SATO GL4xxe SBPL Programming Reference Page 7-17...
  • Page 160 ~ >> SO >. n >. US >? DEL >? SI >/ o >/ FNC3 >@ FNC3 >@ DLE >0 p >0 FNC2 >A FNC2 >A DC1 >1 q >1 SHIFT >B SHIFT >B SATO GL4xxe SBPL Programming Reference Page 7-18...
  • Page 161 08H 10 inch/s Operation Mode 00H Continuous 01H Tear-Off 02H Cutter 03H Dispenser Not used 00H Fixed Not used 00H Fixed Not used 00H Fixed Print Darkness 00H - 01H + (Initial Value) SATO GL4xxe SBPL Programming Reference Page 7-19...
  • Page 162 Not Used 00H Fixed Not Used 00H Fixed Not Used 00H Fixed Not Used 00H Fixed Not Used 00H Fixed Not Used 00H Fixed Buzzer sound setting 00H Yes (Initial value) 01H No SATO GL4xxe SBPL Programming Reference Page 7-20...
  • Page 163 Horizontal Start Point Correction (dots) -792 to 792 (Initial value : 0) Not Used 0 Fixed Not Used 0 Fixed Not Used 0 Fixed Not Used 0 Fixed Not Used 0 Fixed Not Used 0 Fixed SATO GL4xxe SBPL Programming Reference Page 7-21...
  • Page 164: Esc>Wk Job Name

    Modification <ESC>0 Partial Edit <ESC>RM Mirror Rotation Barcode <ESC>BT Variable Ration Barcodes <ESC>BQ QR Code <ESC>VC Veri Code 2D Code <ESC>BV Maxi Code <ESC>BK PDF417 <ESC>BX Data Matrix Code Graphic <ESC>G Graphic Printing SATO GL4xxe SBPL Programming Reference Page 7-22...
  • Page 165: Esc>& Form Overlay, Store

    Form Overlay, Store <ESC>A3 Start Point Correction <ESC>YS Format, Store <ESC>CS Print Speed <ESC>/N Field, Store <ESC>#E Print Darkness <ESC>GI Graphic, Store <ESC>@ Offline <ESC>PI PCX File, Store <ESC>ID Job ID Number <ESC>BJF Card, Format SATO GL4xxe SBPL Programming Reference Page 7-23...
  • Page 166 TABLE 38: ITEM STATUS IN PROCESS DIGIT DESCRIPTION ASCII Offline Online - Wait to Receive. Online - Printing. Online - Standby (wait to dispense/cut). Online - Analyzing and Editing. Error Printer Paused (when receiving DLE command). SATO GL4xxe SBPL Programming Reference Page 7-24...
  • Page 167 Sensor Error Head Error Cartridge Read/Write Error Cartridge Full Cutter Error Calendar Error Rewind Full Cutter Open RFID Tag Error RFID Protect Error BCC Error Item Number Error Media Error Nonlock Error Other Error SATO GL4xxe SBPL Programming Reference Page 7-25...
  • Page 168 Unit 7: Appendix This page is left blank intentionally SATO GL4xxe SBPL Programming Reference Page 7-26...
  • Page 169 1SATO CONTACTS...
  • Page 170: Sato Group Of Companies

    Phone: 64-9-477-2222 Fax: 64-9-477-2228 Phone: 48-71-381-03-60 Fax: 48-71-381-03-68 SATO IBERIA S.A. • Extensive contact information of worldwide SATO Dels Corrals Nous, 35-39, Pol. Can Roqueta, operations can be found on the Internet at 08202 Sabadell, Barcelona, Spain www.satoworldwide.com Phone: 34-902-333-341...

This manual is also suitable for:

Gl412e

Table of Contents