Programmer’s Manual Monarchâ Sierra Sportä 2 Printer ERS"| "DIAP 0| , 0 0 , ,2 B,L,0 ,100 A,R,E ,0,1,1,1, ,B,L,0,0| , 1 , F { 1 ,4 | ,1,1, ,V,80 "ea." T,1,5 ,80,102,0 ,B,L,0,0, "| ,1 U ,V T,2,6 56,0,1,1 ,L,0,0,"SK ,0| 1 B , , L 0 1 , ,B ,0 1, C,8 ,0,1, 5,0,1,1,1 ,0,0| 4 , 5 C,6 ,V,65,3 ,B,L 1,1,1 0 ,0,0| T,3,1 ,V,50,4,0, 1,1,1,B,L ,0| , 0 ,0 T,4,1 ,50,110,0 1,1,1,B,L , V , T,5,2 ,50,143,0 45,8,L,0| ,V ,0, 5 , 6 , T 0,4,4 , V , 0 B,7,1 } 0,1| ,1,1, 0 , 0 , E N,1| {B,1, 99"| . 1,"$9 16"| "| .
Each product and program carries a respective written warranty, the only warranty on which the customer can rely. Paxar reserves the right to make changes in the product, the programs, and their availability at any time and without notice. Although Paxar has made every effort to provide complete and accurate information in this manual, Paxar shall not be liable for any omissions or inaccuracies. Any update will be incorporated in a later edition of this manual. ©2000 Paxar Americas, Inc.
TA B L E O F C O N T E N T S GETTING STARTED. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1 About This Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Standard Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Creating an MPCLII Format Packet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Printer Memory . . . . . . . . .
Making Print Adjustments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-8 Defining the System Setup Packet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-9 Defining the Supply Setup Packet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-10 Defining the Print Control Packet. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-12 Defining the Monetary Formatting Packet . . . . . . . . . . . . . . . . . . . . .
DEFINING FIELD OPTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1 Applying Field Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-2 Combining Field Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-2 Option 1 (Fixed Data) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-3 Option 2 (Data Type Restrictions). . . . . . . . . . . . . . . .
Determining How to Store the Image . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-8 Using RAM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-8 Using Temporary Storage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-8 Creating a Graphic Packet. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-9 Positioning the Graphic Image . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Modifying Formats . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-10 Optional Entry Method . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-10 STATUS POLLING . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-1 Inquiry Request (ENQ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-2 Inquiry Response . . . . . . . . . . . . . . . . . . . .
Data Formatting Failures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Machine Faults. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Flash Memory Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Hard Printer Failure Errors. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-15 8-16 8-18 8-19 PRINTER OPTIMIZATION . . . . . . . . . . . . . . . . . .
Scalable/TrueType® Font Information. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-9 Format Considerations. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-9 Downloading Fonts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-10 Using UNICODE (Double-Byte) TrueType® Fonts . . . . . . . . . . . . . . . . . . . . . . B-11 Character Mapping Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Code Page 1257 (Baltic) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Code Page 1258 (Vietnamese). . . . . . . . . . . . . . . . . . . . . . . . . . . . . ASCII to Hexadecimal Conversion Chart . . . . . . . . . . . . . . . . . . . . . . . . . . . . Binary to Hex Conversion Chart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Dot to Run Length Encoding Chart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ON (Black) Dots . . . . . . . . . . . . .
1 G E T T I N G S TA R T E D Before you read this manual, review the printer information in the Operator’s Handbook. About This Manual This manual is for the developer who is creating the formats for the printer. Use this manual to design and print your own custom formats on the Monarch® Sierra Sport 2 printer. This chapter creates a sample Monarch® Printer Control Language II (MPCLII) packet. Standard Features The following features are standard on the printer: 203 dots per inch (DPI) printhead, 1.
Creating an MPCLII Format Packet A format defines which fields appear and where the fields are printed on the label. The printer requires this information in a special form. This section describes how to create a sample MPCLII format packet. Make sure supplies are loaded, you have a fully charged battery, the printer is connected to a host and ready to receive data, and you have software in the printer. Refer your Operator’s Handbook for more information. 1.
You have created a format packet for your MPCLII printer. Now, a batch packet must be created before you can print the format. 5. Type the following batch header, after the text field line: {B,25,N,1 p 6. Type the following bar code data: 1,"02802811111" p 7. Type the following text field data: 2,"TEXT FIELD" p } 8. Save your file as SAMPLE.FMT. 9. Import the packets into your communications software or send it to the printer’s communication port through the Monarch® MPCL Toolbox Download Utility.
Using Flash Memory Use flash memory for permanent storage. It is non-volatile; the contents stay in place until erased. The printer has 2MB of flash memory, depending on your configuration. To load flash memory, use either the Monarch® MPCL Toolbox Soft Font Utility (fonts) or the Label Designer software (formats). Every time you download these packets into flash memory, another copy is made, even if it is already in memory. After doing this several times, you will eventually use up flash memory.
7. Create a format packet, based on how you filled out your worksheet. See Chapter 3, "Defining Fields," for more information. Determining Format Contents Before you lay out your format, you need to make a few decisions. For example: N How large is your supply? N Which fonts do you want to use? N Do you want to include a bar code? N Do you want to include graphics? Determining the Print Area The print area varies, depending on the size of your supply. Below are the maximum and minimum print areas.
Use the following formulas to convert inches to dots and metric: Dots = inches x 203 Metric (1/10mm) = inches x 254 English (1/100 inch) = 100 x (dots/203) Dots = Metric (1/10 mm) x .797 Drawing Rough Sketches After you decide what information you want to print, sketch how you want the information to appear on the label. Note any areas that are preprinted on the label, such as a logo.
Using Supply Layout Grids A supply layout grid contains measurement markers. These markers help you accurately position information on your label. Decide whether you want to design formats using English, Metric, or Dot measurements. Choose from the following grids: N English The English grid is measured in 1/100 inches. N S u p p ly L a y o u t (In c h e s ) 1 2 1 0 .8 9 .6 Metric 8 .4 The Metric grid is measured in 1/10 millimeters (mm). 7 .
C o n s i d e r i n g F i e l d Ty p e s After you select a supply size, the next step in designing a format is to decide what information you want to print on the label. For example, you may want to print your company name, price of an item, and a bar code that combines information from other places. Everything you want to print falls into one of the following categories. Field Type Description Examples Text Contains letters, numbers, or symbols you want to print.
Considering Fonts When working with fonts, you have three considerations: N font appearance N font size (bitmapped) N font spacing (monospaced or proportional) See Appendix B, "Fonts," for samples of each font. U s i n g t h e F o r m a t Wo r k s h e e t The Format Worksheet is divided into sections that list the field types. Each section has boxes to fill in with parameters that define your format. A format worksheet is included in Appendix D, "Format Design Tools.
1-10 Getting Started
CONFIGURING THE PRINTER 2 This chapter discusses how to N set communication parameters. N upload the printer’s configuration or font information. N configure the printer using online configuration packets. N use immediate commands to control the printer’s operation at any time.
Setting Communication Parameters Use the following information if you are connecting to the printer’s 9-pin serial port. The communication parameters at the printer must match those at the host, or you will not be able to communicate. You can use the communication settings packet to set communication parameters for your printer. On MS-DOS computers, you can use the MODE command to set communication values on your PC.
Using MPCLII Conventions Here are some guidelines to follow when using MPCLII. MPCLII Punctuation Use the following symbols when creating MPCLII packets: Character Decimal Value Description { (left bracket) 123 start of header } (right bracket) 125 end of header p (vertical bar) 124 field separator* , (comma) 044 parameter separator "ABC" (quotation marks) 034 Quotation marks enclose character strings. Empty quotes ("") identify null strings or unused fields.
Standard Syntax Guidelines When creating MPCLII packets: N Begin each packet with a start of header ({). N End each packet with an end of header (}). N Define no more than 200 fields in a format. Each p indicates one field. However, options are not counted as fields. N The field number (0 - 999) must be unique. Monarch recommends starting at 1, instead of 0. N Do not use a field number more than once per format. N Define all fields in the order you want to image/print them.
U si n g O n l i n e C o n f i g u ra t i o n Pa cke t s Use online configuration packets to change the printer settings. You must send the online configuration packets one at a time, supplying all parameters for each packet. Leave the parameters blank that you do not need to change. For example, { I,A,,,,1 p } prints a slashed zero and uses the last sent online System Setup parameters. Make a copy of the online configuration worksheet in Appendix D, "Format Design Tools," and save the original.
Always include an I, immediately after the left bracket { and before the packet identifier (A, B, C, etc.). The I parameter identifies the data stream as a configuration packet. Include the I parameter with each packet if you are sending them individually. Include it only at the beginning of a data stream if you are sending multiple packets. This is the syntax to use when you create online configuration packets: Syntax { I, 1 - 8 optional records A, parameter 1...parameter B, parameter 1...
Syntax {I, Example {I, p C,0,25,0,0,0 p } p } Adds a configuration to non-volatile RAM and specifies English units. It also uses the default contrast, moves print 0.25 inches closer to the bottom of the supply and does not change the margin adjustment, prints at the default print speed, and uses the default printhead width. Example {I,0,U,N p } Uploads the printer configuration from nonvolatile RAM and returns the following to the host.
Configuration Syntax Guidelines When creating a printer configuration packet: N Follow the "Standard Syntax Guidelines" listed at the beginning of this chapter. N Begin a packet with the configuration header (I). N Download multiple configuration packets within one packet or download a single configuration packet. N Include the first five ANSI codes, at a minimum, in the control characters packet.
D ef i n i n g t h e S ys t em S e t u p Pa cke t Use the system setup packet (A) to select the power up mode, display language, print separators between batches, print a "slashed zero," and select the symbol set. Syntax A1. A {I,A,powup_mode,language,sep_on,slash_zero, symbol_set p} System Setup Packet A2. powup_mode Online Mode. Enter 0. A3. language Display Language. Enter 0 (for English). A4. sep_on Batch Separators. The printer does not print batch separators. Enter 0. A5. slash_zero Slash Zero.
Example {I,A,0,0,0,1,0 p } Powers up the printer in the online mode, displays prompts in English, does not print a separator after each batch, prints zeros with slashes through them, and uses the internal symbol set. D ef i n i n g t h e S u p p l y S e t u p Pa cke t Use the supply setup packet (B) to select supply type, ribbon, feed mode, supply position, and cut position. Syntax {I,B,supply_type,ph_energy,feed_mode, supply_posn p} B1. B Supply Setup Packet B2. supply_type Supply Type.
B5. supply_posn -99 - 99 in 1/203 inch. 0 is the default. Adjusts the machine to print at the vertical 0,0 point on the supply. This adjustment accounts for mechanical tolerances from machine to machine. The supply position adjustment only needs to be made on the initial machine setup. Adjust the supply position if formats do not start at the 0,0 point on the supply. Increase the supply position to move print up, decrease to move print down on the label. To verify the 0,0 point, print the diagnostic labels.
Defining the Print Control Packet Use the print control packet (C) to set the contrast, print, and margin adjustment, print speed, and printhead width. Syntax {I,C,contrast,print_adj,margin_adjust, speed_adj,ph_width p } C1. C Print Control Packet C2. contrast -28 - 40. 0 is the default. You may need to adjust this value depending on the type of supplies you are using. For example, linerless supplies require a higher print contrast, but receipt paper requires less contrast. C3.
Defining the Monetar y Formatting Packet The monetary formatting packet (D) selects the monetary symbols to print for a price field. Use the monetary formatting packet to select primary and secondary monetary symbols, and designate the number of digits to appear at the right of a decimal. Syntax {I,D,cur_sym,secondary,decimals p } D1. D Monetary Formatting Packet D2. cur_sym Currency Symbol.
D ef i n i n g t h e Co n t r o l Ch a ra cte rs Pa cke t Use the control characters packet (E) to change the MPCLII control characters, enable and disable the immediate commands, and change the default terminator character for job requests and ENQ’s. Changes take effect with the first character following the end of header character } of the configuration packet. Each control character must be unique and cannot appear anywhere else in your packet, except within quotation marks.
E4. "string 2" Terminator for job requests and data uploads. Up to any 3 characters in the 0 - 255 decimal range. The default is none. Sending "" disables this sequence. After you change these parameters, all packets, including any future configuration packets, must use the new control characters. Monarch recommends using the tilde and ASCII character code sequence when sending this packet multiple times. Also, set the packet delimiters to characters within the 21 hex - 7E hex range.
Using Immediate Commands Immediate commands affect printer operation as soon as the printer receives them, even if they are included within a packet or used inside quotation marks. You can use immediate commands to change immediate command or status polling control characters, reset the printer, or cancel and repeat batches. Enabling Immediate Commands When the printer is first turned on, these commands are not available.
Command Parameter ^CA Cancels all the batches in the queue unless an error exists on the printer. ^CB Cancels only the current batch being printed unless an error exists. Disables the MPCL data escape character (the tilde) and inhibits MPCL from acting on ANY data escape sequence from the host. Sets the MPCL data escape character to the ASCII value given by the d parameter. The value can be any ASCII character. Aborts an error condition.
Defining the Communication Settings Packet Use the communication settings packet (F) to set the baud rate, word length, stop bits, parity, and flow control for serial communications. Changing the communication settings takes approximately two seconds. Communications sent during this interval will be lost. Make sure the host communication values match the values on the printer. Syntax {I,F,baud,word_length,stop_bits,parity, flow_control p } F1. F Communication Settings Packet F2. baud Baud Rate.
D ef i n i n g t h e Ba ck f ee d Co n t r o l Pa cke t Use the backfeed control packet (G) to enable or disable the backfeed option, set the dispense position and the backfeed distance. Backfeed works by advancing each printed label to the desired dispense position. Once that label is removed, the next label to be printed is backed up underneath the printhead. In continuous mode, only the last label in the batch is advanced to the dispense position.
Special Considerations When Using Backfeed Make a note of the following items: N Be careful when tearing supplies, because the adhesive can adhere to the printhead or platen roller. N Backfeed affects each label in the on-demand mode (purchase optional) or the first and last label of the batch in continuous mode. N When backfeed is enabled and multiple batches are sent, the printer may not backfeed between each batch.
Defining the Memor y Configuration Packet Use the memory configuration packet (M) to customize the size of your printer’s buffers, which gives you greater flexibility in your formats. Memory must be allocated in 1/2K increments. The memory configuration packet does not accept decimals, so enter whole numbers. Multiply the amount to reallocate (in K) by 10. For example, To reallocate (in K) Enter this amount 1 10 1.5 15 2 20 2.5 25 153 1530 229.
M4. buffer size Buffer size in 1/10K ranges. Options: 5 - 40 Transmit (10 is the default) 20 - 160 Receive (40 is the default) 160 - 1142 Image (389 is the default) 160 - 1280 Format (160 is the default) 640 - 1280 Downloadable Fonts (640 is the default) 10 - 1280 Scalable Fonts (640 is the default) Note: For the scalable font buffer, specify 10 if you do not use the buffer. When using the buffer, specify a minimum of 40.
About Memory Buffers Transmit Buffer Used to send ENQ, job, and upload responses. This buffer must be allocated as volatile (R) RAM. Receive Buffer Used to save data received from the host before it is processed by the printer. Changing this buffer size affects the amount of data the printer can receive without using flow control. This buffer must be allocated as volatile (R) RAM. Image Buffer Used to image the current format. Use the formula below to calculate the required image buffer size.
Format Buffer Used to store formats, batch data, and graphics. Use the following formula to calculate the required format buffer size: Linecount x 50/1024 Linecount is the number of lines in your format packet including the format header and all the options. The result of the above calculation is in kilobytes. Downloadable Fonts Buffer Used to store downloaded soft TrueType fonts. To determine the size of your downloadable fonts, send a font packet.
B u f f e r Wo r k s h e e t Make copies of this page to use as a buffer worksheet. Buffer Allocation Considerations Keep these items in mind when allocating memory. N Reallocate all the buffers if you need to reallocate any buffer. BUFFER SIZE Free memory from one buffer before you add it to another buffer. DEVICE N HEADER Do not allocate more memory than what is available.
N Send all buffer (re)allocations in one packet. The printer evaluates each individual buffer allocation separately. If one buffer allocation is invalid, the entire packet is invalid. For example, if you send {I,M,R,N,20 p M,T,N,60 p ...} the printer ignores the entire packet, because the second line allocates 6K for the transmit buffer, and 4K is the maximum for that buffer. If you define a buffer size that exceeds the maximum value, an error occurs. However, no information is lost.
Clearing Packets from Memor y You may want to remove packets from the printer to increase memory storage capacity or if the formats/fonts are no longer needed. In some cases, turning the printer off may clear the packets from memory. If not, send a format clear packet. Syntax {header,packet#,action,device p } 1. header Identifies A F G W 2. packet# Identification number of the packet to clear (1 - 999) or font number (0 - 9999). 0 is for all fonts. 3. action Enter C to clear the packet. 4.
U si n g t h e Fo n t Pa cke t You can use a font packet to add or clear downloaded fonts from memory, upload your font buffer, font data, or the cell size information for a particular font. The font packet is useful when you are downloading fonts. If you are using downloaded fonts, the font number and the number of bytes each downloaded font uses is listed. This packet does not list the number of bytes the standard printer fonts use.
Example {W,0,M,R p } Selects all fonts and checks the memory usage in RAM. The printer returns the following to the host: {W,0,M,R p Number of bytes free, Number of bytes used p } Example {W,0,H,Z p } Selects all fonts and uploads the font size information for any downloaded fonts.
Spacing Monospaced (0) or proportional (1). Type Bitmapped (0) or scalable (1). Baseline Bottom of the font. Cell Width Horizontal number of dots to contain the widest character. Cell Height Vertical number of dots to contain the tallest character. Nominal Width Average width for lower-case letters. Nominal Height Average height for lower-case letters. Inter-Character Gap Default spacing between characters in monospaced fonts.
Example {F,0,H,Z p } Selects all formats in memory and returns the following: Example {F,0,H,Z p Fmt_1,406,406 p Fmt_10,324,406 p Fmt_15,812,812 p Fmt_20,305,609 p Fmt_25,1218,406 p } Displays the format number, supply length and supply width (in dots) for each format in memory. Example {F,1,H,Z p } Selects format1 and returns the following to the host: {F,1,H,Z p Fmt_1,406,406 p } Displays the supply length and supply width (in dots) for format1.
2-32 Configuring the Printer
DEFINING FIELDS 3 This chapter provides a reference for defining N the format header N text and constant text N bar code fields N line and box fields.
Defining the Format Header A Format Header begins a format file. Syntax {F,format#,action,device,measure,length, width,"name" p F1. F Format Header. F2. format# Unique number from 0 - 999 to identify the format. F3. action Action. Enter A to add the format to the printer. F4. device Format storage device. Options: R RAM F Flash Memory F5. measure Unit of measure. Options: E M G F6.
D e f i n i n g Te x t F i e l d s Create a separate definition for each text field. If text falls on two lines, each line of text requires a separate definition. Syntax T,field#,# of char,fix/var,row,column, gap,font,hgt mag,wid mag,color,alignment, char rot,field rot,sym set p T1. T Text Field. T2. field# Unique number from 0 - 999 to identify this field. T3. # of char Maximum number of printed characters (0 - 2710) in the field. T4. fix/var Fixed or variable length field.
T6. column Distance from the left edge of the print area to the pivot point to find the column location. English Metric Dots T7. gap 0 - 189 0 - 479 0 - 383 Number of dots between characters (203 dots per inch). Range: 0 - 99. Note: For monospaced fonts, the additional spacing is added to the existing inter-character gap. This is also true for proportionally spaced fonts, but remember that the inter-character gap varies with character combinations.
T9. hgt mag Height magnifier, 1 7 (times- for bitmapped fonts). With TrueType/Scalable fonts, use 4 - 255, for the font’s point size. Use a magnifier of 1 with proportionally spaced fonts, because characters lose smoothness at higher magnifications. See Appendix B, "Fonts," for more information about fonts. T10. wid mag Width magnifier, 1 - 7 (times). With TrueType/Scalable fonts, use 4 - 255, for the font’s point size. Proportionally spaced fonts do not have a set width.
T12. alignment Options: L Align on left side of field. C Center text within field (monospaced fonts only) R Align on right side of field (monospaced fonts only) B Align at midpoint of field E Align at endpoint of the field Use L, B, or E for any font. T13. char rot Character rotation. The field or supply does not rotate, only the characters do.
T15. sym set Symbol set. Use 0 for the Internal Symbol Set.
Defining Bar Code Fields Each bar code field requires a separate definition. Syntax B,field#,# of char,fix/var,row,column, font,density,height,text,alignment, field rot p B1. B Bar Code Field. B2. field# Unique number from 0 - 999 to identify this field. B3. # of char Maximum number of characters. If the bar code uses a check digit, allow an extra character for the check digit. The actual maximum number of characters is limited by the size of the label and bar code density. Range: 0 - 2710.
B4. fix/var Fixed (F) or variable (V) length field.
B5. row Distance from bottom of the print area to the pivot point of the field. The pivot point varies, depending on how the field is justified. Pivot points: Left/Center/Right-Justified Fields End-Justified Fields Balanced Fields Remember to include text or numbers that may appear with the bar code for the row measurement. English Metric Dots B6. column Distance from the lower left edge of the print area to the pivot point.
B7. font B8. density Bar 1 2 3 4 5 6 7 8 9 10 11 12 13 14 code. Options: UPCA UPCE 0 Interleaved 2 of 5 Code 39 (no check digit) Codabar EAN8 EAN13 Code 128 MSI UPCA +2 UPCA +5 UPCE +2 UPCE +5 EAN8 +2 15 16 17 21 22 23 31 32 33 36 40 41 44 50 EAN8 +5 EAN13 +2 EAN13 +5 LAC POSTNET Code 93 Code 16K PDF417 MaxiCode Quick Response Code 39 (MOD 43 check digit) UPCA & Price CD EAN13 & Price CD Interleaved 2 of 5 with Barrier Bar Bar code density. Use 0 for Quick Response bar codes.
Bar code Type Density Selector Density (% or cpi) Narrow Element (dots/mils) Narrow to Wide Ratio Data Length Appearance Codes Available Char Set UPCA +2/+5 Price CD 2 4 76% 114% 2/9.9 3/14.8 N/A 11 or 12 14/17 1, 5, 6, 7 or 8 0 to 9 UPCE +2/+5 2 4 76% 114% 2/9.9 3/14.8 N/A 6 or 7 9/12 1, 5, 6, 7 or 8 0 to 9 EAN8 +2/+5 2 4 76% 114% 2/9.9 3/14.8 N/A 7 or 8 10/13 1, 5, 6,7 or 8 0 to 9 EAN13+2/+5 Price CD 2 4 76% 114% 2/9.9 3/14.
Bar code Type Density Selector Density (% or cpi) Narrow Element (dots/mils) Narrow to Wide Ratio Data Length Appearance Codes Available Char Set CODE 93 3 4 5 7 10 3.7 4.5 5.6 7.5 11.2 6/29.6 5/24.6 4/19.7 3/14.8 2/9.9 N/A 0 to 2710 8 00H to 7FH MSI 4 5 7 4.2 5.6 7.2 4/19.7 3/14.8 2/9.9 1:2.0 1:2.0 1:2.5 0 to 14 8 0 to 9 Bar code Type Density Selector POSTNET 0 (fixed at 4.3 cpi) 24/118.2 10/49.3 4/19.
B9. height Bar code height, in 1/100 inches, 1/10 mm, or dots. Minimum values: English 1 Metric 2 Dots 1 For Quick Reference bar codes, the value you enter is the symbol’s maximum height. Small bar codes may not be scannable. B10. text Appearance of text with bar code. For UPC and EAN, use 1 or 5 - 8. For Quick Response, use 0 2. For all others, use 8.
D e f i n i n g C o n s t a n t Te x t F i e l d s A constant text field is a set of fixed characters that prints on all labels. Define each constant text field separately. This field is not assigned a field number, but is counted as a field (keep this in mind, as the printer allows a maximum of 200 fields per format). The characters in this field cannot be changed by batch data. Field options do not apply to constant text fields.
C5. font Style of font. Options: Standard 1 6 Reduced 2 10 Bold 3 11 OCRA-like 4 50 HR1 5 HR2 CG Triumvirate Typeface Bold CG Triumvirate Typeface EFF Swiss Bold (scalable) Or a valid downloaded font selector number. Fonts 5 and 6 are for numeric data only. The CG Triumvirate typefaces support only the ANSI and DOS Code Page 437 and 850 Symbol Sets. The scalable font does not support Code Page 1256 (Arabic). See Appendix C, "Symbol Sets/Code Pages," for more information. C6.
If a line field is defined after the overlay field, the line field is not blocked out by the overlay field, regardless of the overlay field’s color attribute. C9. alignment Alignment of constant text in the field. Options: L Align on left side of field. C Center text within field (for monospaced fonts only) R Align on right side of field (for monospaced fonts only) B Align at midpoint of field E Align at end of field. Use L, B, or E for any font. C10. char rot C11. field rot Character rotation.
C13. sym set Symbol set. Use 0 for the Internal Symbol Set.
Defining Line Fields Use lines to form borders and mark out original prices. Define each line separately. This field is not assigned a field number, but is counted as a field (keep this in mind, as the printer allows a maximum of 200 fields per format). You can define any line length and a thickness up to 99 dots, as long as the solid black print does not exceed 30 percent of any given square inch of the label. L i n e Ty p e s You can create horizontal and vertical lines.
L3. row Distance from bottom of print area to the starting point. English 0 - 1200 Metric 0 - 3045 Dots 0 - 2436 L4. column Distance from left edge of the print area to line origin. English 0 - 189 Metric 0 - 479 Dots 0 383 L5. angle /end row If Using Segments: Row location of ending point. Measure from bottom of print area. Ranges same as row above. On horizontal lines, this value must match item L3. If Using Vectors: Angle of line. Options: 0, 90, 180, or 270. L6.
L7. thickness Using the chart below for reference, write the line thickness (1 - 99) in box L7. Measured in dots. Note: L8. "pattern" Example Line thickness fills upward on horizontal lines, or to the right on vertical lines. Line pattern. Enter "". L,S,110,70,110,350,10,"" p Defines a horizontal line field as a segment starting at row 110, column 70 and ending at row 110, column 350. The line thickness is 10 dots. Defining Box Fields Use boxes to form borders or highlight items of interest.
Q2. row Distance from bottom of print area to lower left corner of box. English 0 - 1200 Metric: 0 - 3045 Dots: 0 - 2436 Q3. column Distance from left edge of print area to lower left corner of box. English 0 - 189 Metric 0 - 479 Dots 0 - 383 Q4. end row Distance from bottom of print area to upper right corner of box. Ranges same as row. Q5. end col Distance from left edge of print area to upper right corner of box. Ranges same as column.
Q6. thickness Using the chart below for reference, write the desired line thickness (1 - 99) in box Q6. Measure in dots. Note: Q7. "pattern" Example Line thickness fills upward on horizontal lines, or to the right on vertical lines. Line pattern. Enter "". Q,240,80,270,130,3,"" p Defines a box field starting at row 240, column 80. It ends at row 270, column 130. It has a thickness of 3 dots.
3-24 Defining Fields
DEFINING FIELD OPTIONS 4 This chapter provides a reference for defining N field options in formats N check digit packets.
Applying Field Options Field options further define text and bar code fields. The text, constant text, or bar code field must be previously defined before you can apply any field option to it. Define options immediately after the field to which they apply. Combining Field Options You can use more than one option with most fields. When you use multiple options for the same field, you must place the options in the order you want to apply them to your format. Restrictions Some options cannot be used together.
Option 1 (Fixed Data) Fixed data is information (a company name or store number) you want to print on all labels. You can define fixed characters for an entire field or for part of a field. Syntax R,1,"fixed char" p R1. R Option Header. R2. 1 Option 1. R3. fixed char Characters to insert. Enclose in quotation marks. If you are defining fixed characters for part of a field, place underscores(_) in non-fixed positions. Any spaces in the phrase are fixed characters. Range 0 to 2710.
O p t i o n 2 ( D a t a Ty p e R e s t r i c t i o n s ) This option restricts the data type for a particular field. You can use Option 2 only once per field. If you do batch entry only in the batch packet, you do not need to apply Option 2. Use this option only for offline batch entry. Syntax R,2,char_code p R1. R Option Header. R2. 2 Option 2. R3. char code Character 1 2 3 4 5 6 type for the field.
Option 4 (Copy Data) You can create a field that uses data from another field. This is useful for creating merged fields or sub-fields. You can copy the information from multiple fields into one field by applying the copy procedure more than once. Copy data is the only option you can apply to a field more than once.
Example R,4,3,1,3,1,1 p Copies data from field #3, starting at the first position and copying three characters. In the destination field, the information is placed in position 1 and copied as formatted data. Merging Fields You can copy data to merge the contents of fields. Use the copy data option as many times as necessary to copy all the appropriate fields into the merged field. In the following example, two text and two non-printable fields are shown.
O p t i o n 30 ( Pa d d i n g Da t a) You can add characters to one side of a field to "pad" the field. Padding allows you to fill in the remaining spaces when the entered data does not fill an entire field. If a variable length field is not completely filled with batch data, this option fills the remaining positions in the field with the character designated by Option 30. Syntax R,30,L/R,"character" p R1. R Option Header. R2. 30 Option 30. R3. L/R Indicates type of padding R4.
Option 31 (Calculate Check Digit) The printer generates a check digit if you apply Option 31 to the field. You cannot use this option if the field contains a UPC, EAN, or Code 39 (with the MOD43 check digit) bar code. Syntax R,31,gen/ver,check digit # R1. R Option Header. R2. 31 Option 31. R3. gen/ver Enter G to generate a check digit. p R4. check digit # Specifies a check digit scheme. Enter a number that identifies a check digit scheme that has been defined.
Option 42 (Price Field) You can apply options that will insert monetary symbols automatically. Do not use this option with Option 31 (define a check digit) or Option 60 (increment or decrement a field). This option is not recommended for bar codes. When determining the maximum number of characters, add the maximum number of digits and the monetary symbols. Syntax R,42,appearance code p R1. R Option Header. R2. 42 Option 42. R3.
Option 50 (Bar Code Density) You can apply this option to bar code fields when you want to create custom densities. When you apply this option, it overrides the density value in the bar code field. When using this option, set the density parameter in your bar code field to the default value. You can only use this option once for each bar code field. This option overrides the density selected in the bar code field. Bar codes produced using Option 50 may not be scannable.
O p t i o n 5 1 ( P D F 4 1 7 S e c u r i t y / Tr u n c a t i o n ) You can define a security level and choose whether or not to truncate a PDF417 bar code. Higher security levels add data to a bar code, improving scan reliability. Some damaged bar codes may still be scannable if the security level is high enough. You can use this option to create standard PDF417 bar codes or use the truncated option to create a narrower bar code.
Option 52 (PDF417 Width/Length) This option defines the image width or length of a PDF417 bar code. If you define a fixed number of columns (width), the bar code expands in length. If you define a fixed number of rows (length), the bar code expands in width. Column value does not include start/stop or left/right indicator columns. If this option does not immediately follow the PDF417 bar code field, the default settings are used. You can only use this option once per PDF417 bar code field.
Option 60 (Incrementing/Decrementing Fields) You may have an application, such as serial numbers, in which you need a numeric field to increment (increase in value) or decrement (decrease in value) on successive tickets within a single batch. Incrementing or decrementing can be applied to numeric data only. If you have a field that includes letters and digits, apply incrementing or decrementing to only the portion of the field that contains digits. Syntax R,60,I/D,amount,l pos,r pos p R1.
Option 61 (Reimage Field) This option redraws (reimages) a constant field when you have a constant field next to a variable field on your label. It can be used on text, constant text, bar code, line, or box fields. These printers do not redraw an area if the field data does not change. When a field changes, that area is cleared and the new field data is imaged. However, the new field data may require a larger area than the previous field did.
Using Check Digits Check digits are typically used to ensure that a text or bar code field scans correctly. If you apply Option 31, the printer calculates a check digit. A check digit scheme determines how the printer calculates a check digit. When you define a check digit scheme, you assign a number to identify it. This number is later entered in box R4 when you apply Option 31 to a field. You can use check digits with text or bar code fields. Check digit calculations are performed on numeric data only.
Example {A,1,A,R,10,5,P,"65432" p } Adds check digit scheme number 1 to the printer’s memory. The modulus is 10, the maximum number of characters in the field is 5. The check digit is calculated by using the Sum of Products and the string of digits used in the calculation is "65432." Sum of Products Calculation This is an example of how the printer uses Sum of Products to calculate a check digit for this data: 5 2 3 2 4 5 2 1 9 1.
3. Next, the product of each digit is added together. This is the sum of the products. 20 + 2 + 6 + 6 + 16 + 5 + 4 + 3 + 36 = 98 4. Divide the sum of the products by the modulus (10 in this case), only to the whole number. The balance is called the remainder. 10 9 98 90 8 5. Subtract the remainder from the modulus. The result becomes the check digit. In this case, the check digit is 2.
field: weight string: products: 5 4 20 2 1 2 3 2 6 2 4 3 4 6 16 5 1 5 2 2 4 1 9 3 4 3 36 3. Next, the digits of the products are added together. Two-digit products are treated as two separate digits. This is the sum of the digits. 2 + 0 + 2 + 6 + 6 + 1 + 6 + 5 + 4 + 3 + 3 + 6 = 44 4. Divide the sum of the digits by the modulus (10 in this case), only to the whole number. The balance is called the remainder. 10 4 44 40 4 5. Subtract the remainder from the modulus.
5 C R E AT I N G G R A P H I C S This chapter provides information on how to N map out the graphic image using the hexadecimal (hex) or run length method. N create a graphic packet using a graphic header, bitmap, duplicate, next-bitmap, text, constant text, line, and box fields. N place a graphic image into a format. You can use graphic packets to create bitmapped images. To include a graphic packet within your format, your format must contain a graphic field.
Overview of Bitmapped Images A printed image is formed through a series of dots. Each square on the grid below represents a dot on the printhead. The graphic image is created by blackening dots in a specific pattern. You can print varying shades of gray according to the concentration of dots on the image. When the dots are printed together, the end result is a graphic image.
The most efficient encoding method depends on how complicated your graphic image is and whether or not imaging time is a concern. You may want to experiment with both encoding methods to get optimal performance. Designing Bitmapped Images Once you determine the encoding method to use, you can begin mapping out your graphic image. The image that you map must be an upside down mirror image of the final result. Special Considerations Solid black print cannot exceed 25% of any given square inch of the supply.
2 inches 2 inches Exceeds Limit 0.5" Does not exceed limit Exceeds Limit Does not exceed limit 0.5" Using the Hex Method The following steps explain how to derive a hex character string from a bitmapped graphic. Each square on the grid represents a dot. A black square indicates the dot is ON, and a white square indicates the dot is OFF. A sequence of binary numbers, called a bit pattern or bitmap, determines what dots are on and off. The numbers "0" and "1" are used for this purpose.
2. Section off the grid in columns of eight. If any rows are not divisible by 8, add enough 0’s to complete a column.
Using the Run Length Encoding Method The following steps explain how to derive a run length character string from a bitmapped graphic. Each square on the grid represents a dot. A black square indicates the dot is ON, and a white square indicates the dot is OFF. For visual clarity, the following example shows "1" to indicate when a square is ON, and "0" to indicate when a square is OFF. You do not have to convert your dots when using the run length method.
2. Replace each number you have written with its corresponding code from the Dot to Run Length Encoding Chart provided in Appendix C, "Symbol Sets/Code Pages." Be sure to use CAPITAL letters for black dots and lower-case letters for white dots. 26 on (Z) 11 on (K), 26 off (z), 9 on (I) . . If the number is greater than 26, write z, followed by the letter corresponding to the amount over 26. For example, to represent 45 off dots, write zs. 5 on (E), 45 off (zs), 6 on (F) . . 3.
Determining How to Store the Image Once you have mapped out your graphic image, determine how you want to store it. You have two options: N RAM N Temporary Storage N Flash Using RAM You should use RAM when the graphic image is used by several formats, because you only have to send the graphic image once. This eliminates the need to send the graphic image repeatedly. See "Placing the Graphic in a Format," for more information about using the graphic packet in a format.
C re ati n g a Gr ap h i c Pa cke t Your graphic packet can contain N bitmapped fields (for bitmapped images) N constant text fields N lines N boxes. Images using hex representation or run length encoding are bitmapped images. See "Designing Bitmapped Images" to design your bitmapped image. Once you design your graphic image, you are ready to define a graphic packet. This packet generates the graphic image you use in a format.
The area enclosed within the dotted lines represents the graphic image starting at 0,0 (as defined in the graphic header). If you want a fixed amount of white space around your graphic image, use something other than 0 for row and/or column. The area enclosed within the dotted lines represents the graphic image starting at 0,0 with a fixed amount of white space (10,10) around the graphic image.
Within a Format When you define the graphic field within your format, the row and column parameters represent where on the format to place the graphic image. If you are doing a compliance label, these numbers are usually 0,0, because your compliance label covers the entire supply. See "Placing the Graphic in a Format" for a sample compliance label. If you are placing a graphic (a logo, for example) within a certain area on your supply, enter the starting position (bottom left corner) of the graphic image.
Syntax {G,graphID,action,device,units,row,col, mode,"name" p G1. G Graphic Header. G2. graphID Unique number from 0 - 999 to identify the graphic image. G3. action The action to perform to the graphic. Options: A Add the graphic. C Clear the graphic from the printer. G4. device Graphic storage device: R T F Volatile RAM (format must contain a graphic field) Temporary Storage Flash Memory Note: G5. units Unit of measure. Options: E M G the G6.
Example {G,99,A,R,G,0,0,0,"99Wire" p Adds a graphic image identified by number 99 to volatile RAM. The graphic uses dot measurement. The image will be placed according to the row and column parameters in the graphic field. The imaging mode is 0 and the image is called 99Wire. Creating Bitmap Fields This defines one row of dots, starting at a specific row and column within the graphic image. Each unique row of dots requires a bitmap field. A bitmap field can later be repeated by using a duplicate field.
Creating Next-Bitmap Fields This field uses the previous field’s row and column locations. It allows you to use the bitmap or duplicate field data without having to recalculate row and column locations. This field represents one row of dots on the image. Syntax N,adjdir,adjamt,algorithm,"data" p N1. N Next-Bitmap Field. N2. adjdir Increments or decrements the row count. Inserts the duplicate line after or before the current row.
Creating Duplicate Fields If a line of data is identical to a previous bitmap or next-bitmap field, the duplicate field allows you to repeat the dot sequence without retyping the data. A duplicate field represents one row of dots on the image. Duplicate fields are useful when you have a graphic with a lot of repetition. Syntax D,adjdir,adjamt,count p D1. D Duplicate Field. D2. adjdir Increments or decrements the row count. Inserts the duplicate line after or before the current row.
Sample Hex Graphic Packet {G,99,A,R,G,0,0,0,"99WIRE" B,39,48,H,"3FFFFFF0" p B,40,32,H,"01FFC000000FF8" p B,41,32,H,"3E00000000000FC0" p B,42,24,H,"03C0003FFFFFF0000F" p B,43,24,H,"7C3FFFFFFFFFFFFFE1F0" p B,44,16,H,"0183FFFFFFFFFFFFFFFF06" p B,45,16,H,"018FFFFFFFFFFFFFFFFFFE" p B,46,16,H,"01FFFFFFFFFFFFFFFFFFFE" p B,47,16,H,"01FFFFFF80001FFFFFFFFE" p B,48,16,H,"01FFFFF0000000007FFFFC" p B,49,24,H,"7F800007FFFF00003FF0" p B,50,24,H,"1FC00007FFFF00001FC0" p D,0,4,4 p B,51,24,H,"1C03FFFFFFFFFFFE01C0" p D,0,4,4
Sample Run L ength Graphic Packet {G,99,A,R,G,0,0,0,"99WIRE" p B,39,50,R,"Z" p B,40,39,R,"KzI" p B,41,34,R,"EzsF" p B,42,30,R,"DpZoD" p B,43,25,R,"EdZZEdE" p B,44,23,R,"BeZZMeB" p B,45,23,R,"BcZZW" p B,46,23,R,"ZZZA" p B,47,23,R,"ZDsZE" p B,48,24,"TzkU" p B,49,25,"HtRqJ" p B,50,27,"GsSsG" p D,0,4,4 p B,51,27,"ChZWgC" p D,0,4,4 p B,52,34,R,"ZZEdC" p D,0,4,4 p B,53,30,R,"NzkN" p D,0,4,4 p B,70,5,R,"AuGsSsG" p B,71,5,R,"BtChZWgC" p B,72,6,R,"DxZZEdC" p B,73,7,R,"CtNzkN" p B,74,8,R,"FmChZWhC" p B,75,8,R,"GsZZEd
Placing the Graphic in a Format To include a graphic within a format: 1. Design the graphic image as shown in "Designing Bitmapped Images." 2. If you are using RAM, place a graphic field in the format file to reference the graphic. See the following section, "Defining the Graphic Field," for more information. If you are using temporary storage, you do not need a graphic field in your format to reference the graphic image. 3. Download all the necessary packets (check digit, format, etc.). 4.
G3. row Distance between the bottom of the print area on the supply to the bottom of the graphic image. Measured in selected units. English Metric Dot 0 - 1200 0 - 3045 0 - 2436 The row specified in the constant text, bitmap, line, or box field is added to the row value above to determine the actual position in the format. G4. column Distance between the left edge of the print area on the supply and the left edge of the graphic. Measured in selected units.
Sample Bitmap Graphic Image The following format shows the graphic packets (hex and run length) in a sample format.
PRINTING 6 This chapter describes how to N define the batch header, batch control, and batch data files N create a Print Control Packet.
Defining the Batch Header Batch data is the actual information printed on the supply. Batch data fills in the format’s text, bar code, and non-printable text fields. A batch packet contains three parts: batch header identifies the format and how many labels to print. batch control defines the print job. batch data (optional) defines the actual information printed on the label. A batch header begins the file. It tells which format the batch uses and how many labels to print.
B4. quantity Quantity to print (1-999). Note: Example Using 0 pre-images the field to reduce the imaging time for labels. See "Batch Quantity Zero Method" for more information. {B,1,N,1 p Defines a batch header that uses format #1 and reimages all fields using the online data. One label is printed with this batch. Defining the Batch Control Field The batch header must precede this field. The batch control field defines the print job and applies only to the batch that immediately follows.
Defining Batch Data Fields Batch data fields should be sent in field number order. Use continuation fields for large amounts of data. If you are using N (New) in the batch header, you must list all fields with your data in sequence. If you are using U, you need to list only those fields and data that changes from the last printed batch. Syntax field#,"data string" p C,"continuation" p field# Identifies the text, bar code, or non-printable text field in which to insert the following data. Range: 0 - 999.
For example, you can use "" or ~034 to print the " character in your batch data; otherwise, the tilde characters are ignored. You can also use ~XXX where XXX is the decimal equivalent of an unprintable character.
Entering Batch Data for QR Code QR Code requires certain parameters at the beginning of all batch data. Syntax error_cor "error_cor mask# data_input, char" p Level of error correction. Some damaged bar codes may still be scannable if the error correction is high enough. Options: H Ultra high reliability level Q High reliability level M Standard level L High density level Note: As you increase the error correction level, the maximum number of characters (in the field) decreases. mask# Mask number.
Structured Append Mode QR Code offers a mode called structured append (or concatenated) that allows you to collect data from multiple QR Code symbols and use that data elsewhere. For example, the components of a sub-assembly can have individual QR Codes and the QR Code for the entire assembly contains all the data from the individual codes. This mode also requires certain parameters at the beginning of all batch data.
Example 1,"D0205E9,Q0A," p C,"B006qrcode," p Defines the structured append mode (D) for QR Code. This is symbol (02) of a concatenated set containing (05) symbols. The parity byte is E9. The error correction level is Q, which provides a high reliability. Use 0 for the mask number. The data input mode is Automatic. The type of characters are binary (B) and there will be six (06) data characters (qrcode).
Downloading Methods You can download the format and batch data using one of three methods: sequential, batch, and batch quantity zero. Sequential Method Using the sequential method, you send all your format and batch data at one time. Use this method when your application does not require operator intervention to input data. All data is sent down at one time, and the printer then images each field. As soon as the last field is imaged, your labels begin to print.
To use the batch quantity zero method: 1. Send the format and a batch header in one file. The first time you send the batch header, use the parameter N (new batch), and the parameter 0 for (zero quantity). This ensures the label is properly positioned. The printer images constant text, line, and box fields, but does not print them. 2. Input data for each field, and send it with a batch header using the parameter U (batch update) and a quantity of zero.
7 S TAT U S P O L L I N G This chapter explains how to use status polling. There are two types of Status Polling: N Inquiry Request- information about the readiness of the printer. N Job Request- information about the current (or last received) job downloaded to the printer.
Inquir y Request (ENQ) An ENQ character acts as a request for printer status information. You can send an ENQ in front of, in the middle of, or immediately following any packet downloaded to the printer. An ENQ is a command that can be executed as part of a packet or sent on its own (using a communications program). An ENQ is processed immediately. The ENQ character is user defined. The ENQ character does not appear as a visible character; however, we are representing the ENQ character as E .
The following graphics can be used as a quick reference for the Status of Byte #2 and Byte #3. Byte #1 is the non-printable user-defined ENQ character.
E N Q R e f e r e n c e Ta b l e - B y t e # 2 Char @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z [ \ ] ^ _ ‘ Const. OFF Const. ON Comp. Failure Corr.
E N Q R e f e r e n c e Ta b l e - B y t e # 2 ( c o n t i n u e d ) Char a b c d e f g h i j k l m n o p q r s t u v w x y z { | } ~ Dec 127 Const. OFF Const. ON Comp. Failure Corr.
E N Q R e f e r e n c e Ta b l e - B y t e # 3 Char @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z [ \ ] ^ _ ‘ Const. OFF Const.
E N Q R e f e r e n c e Ta b l e - B y t e # 3 ( c o n t i n u e d ) Char a b c d e f g h i j k l m n o p q r s t u v w x y z { | } ~ Dec 127 Const. OFF Const.
Job Request A Job Request returns status information about the most recently processed print job. You can send a job request after an ENQ or batch.
Job Response The Job Response varies, depending on the type of request sent to the printer. The following syntax is the response for a Job 0, 1, or 2 request. Syntax {J,Status1,Status2,"FMT-1","BCH-2"} Status1 These errors stop the print job. Examples include out of stock, supply faults, or data formatting errors. These errors are numbered less than 24 on the "Job Status 0, 1, 2 Response Table," later in this chapter. Status2 These are errors in the syntax of the MPCL data stream.
The following syntax is the response for a Job 3 request. You may need to press FEED before the job response is returned. Syntax {J,"Status1 A,B","Status2 A,B,C,D,E","FMT-1","BCH-2"} "Status1 A,B" Status1 A contains the field number, in the format or batch, where an error was found. If the error is not in the format or batch, a "0" is returned. Status1 B contains an error number, which represents the actual printer error. The error numbers can be found in Chapter 8, "Troubleshooting.
Status2 C- Field Number represents the field number within each packet. The packet header is the first field and each subsequent field is indicated by the field separator. Status2 D- Parameter represents the parameter within the field that the error occurred. The numbering begins after the field identifier. Status2 E- Error Number is the error that coincides with the error numbers presented in Chapter 7, "Troubleshooting." "FMT-1/BCH-2" The format or batch number is returned.
The following syntax is the response for a Job 4 request. Syntax {J,printed,total,"FMT-1","BCH-2"} printed the number of tags or labels already printed in the batch. total the total number of tags or labels to be printed in the current batch. "FMT-1/BCH-2" The format or batch number is returned. Example {J,8,25,"FMT-3","Bch-2"} 8 out of 25 tags or labels have been printed from format number 3.
J o b S t a t u s 0 , 1 , 2 R e s p o n s e Ta b l e ( S t a t u s 1 C o d e s ) Number Meaning 0 No error 1 Stacker fault 2 Supply problem 4 Hot printhead 5 Printhead open 6 Insufficient memory 7 Ribbon problem 8 Field ## extends off tag 9 Field ## has a bad font/bar code 10 Field ## contains invalid data 11 Field ## has a graphic missing 12 Invalid communication channel 13 Invalid file type 14 All communication channels are busy 15 Receive overrun error 16 Receive parity e
J o b S t a t u s 0 , 1 , 2 R e s p o n s e Ta b l e ( S t a t u s 2 C o d e s ) Number Meaning 51 Invalid command Invalid separator value Graphic not found Format for batch not found Quantity/Multiples out-of-range Name descriptor too long Invalid cut value Invalid number-of-parts value Invalid orientation value Invalid thickness value Invalid text field Invalid bar code field Data string too long Invalid data field Row greater than stock length Row greater than format length Column greater than printhe
8 TROUBLESHOOTING This chapter explains how to N print diagnostics labels N reset the printer N call Technical Support. This chapter also provides explanations of your printer’s errors. The errors are classified by type and are listed in order. If you have trouble loading supplies or performing maintenance, refer to you Operator’s Handbook. Follow the directions provided with the error description to correct the problem.
Printing Diagnostics Labels 1. From the Diagnostics menu, select Printer. You will see: Test Label Sensors E D 2. From the Printer menu, select Test Label. After you select Test Label, you will see: Diag Label Test Pattern E D From the Test Label menu, select Diag Label. Two diagnostic labels print and you return to the Test Label menu. The diagnostic labels show the printer’s configuration, as well as the model number and software version number. With version 2.
Reading Diagnostics Labels The first diagnostic (test) label shows the model number, software version, and the printer’s configuration by packet. See Chapter 2, "Configuring the Printer" for more information about the printer’s configuration. The second diagnostic (test) label shows the model number, software version, total number of inches printed, voltage, print contrast, printhead resistance, number of bad dots, and memory. In the example above: N The printer has printed 119 inches of regular supplies.
If the PC and Printer Aren’t Communicating If your PC is having trouble communicating with your printer, follow these steps: N Check any messages that occur at the printer and at the computer. See the following error message listing in this chapter for more information. N Make sure you are using the correct printer cable. N Make sure the cable is plugged into the correct port on the computer. N Compare your printer’s communications settings (especially flow control) with the settings on your PC.
6. Reset your printer. For information on resetting your printer, see "Resetting Printers." 7. Reboot your computer. Refer to your computer documentation for specific instructions. 8. Print the Diagnostics labels. See "Printing Diagnostics Labels." If these steps do not solve the problem, call Technical Support.
Format Errors Error Code Description 001 Format ID number must be 1 - 99. 002 Name must be 1 - 8 characters inside quotes or a printer-assigned name (""). 003 Action must be A (add) or C (clear). 004 Supply length is invalid (maximum is 4"). See "Defining the Format Header" in Chapter 3 for valid lengths. 005 Supply width is invalid (maximum is 2"). See "Defining the Format Header" in Chapter 3 for valid widths.
014 Font style is invalid. See "Defining Text Fields" in Chapter 3 or Appendix B, "Fonts," for more information. 015 Character rotation must be 0 (0 degree), 1 (90 degree), 2 (180 degree), or 3 (270 degree). See "Defining Text Fields" in Chapter 3 for information. 016 Field rotation must be 0 (0 degree), 1 (90 degree), 2 (180 degree), or 3 (270 degree). See "Defining Text Fields" in Chapter 3 for information. 017 Field restriction must be V (variable) or F (fixed).
031 Human readable option must be 1 no CD or NS 5 NS at bottom, no CD 6 CD at bottom, no NS 7 CD and NS at bottom 8 no text 032 Bar code type is invalid. See "Defining Bar Code Fields" in Chapter 3 for valid options. 033 Bar code density is invalid. See "Defining Bar Code Fields" in Chapter 3 for the bar code density chart. 040 Line thickness must be 0 - 99 dots. 041 Line direction must be 0, 90, 180, or 270. 042 End row is invalid.
106 Print multiple is outside the range 1 - 24. 108 Multiple part supply is outside the range 1 - 5. Option Errors Error Code Description 200 Option number must be 2, 4, 30, 31, 42, 50, 51, 52, or 60. 201 Copy length is outside the range 1 - 2710. 202 Copy start position must be 1 - 255. 203 Destination start position must be 1 - 255. 204 Source field must be 0 - 999. 205 Copy type must be 1 (copy after rules) or 2 (copy before rules).
214 Truncation code must be S (standard) or T (truncated bar code). 215 Aspect code must be C (columns) or R (rows). 216 Option definition must be S (set) or T (template). 217 Input device device must be D (Default), H (Host), K (Keyboard), N (None), or S (Scanner). 218 Pad direction must be L (from left) or R (from right). 219 Pad character is outside the range 0 - 255. 220 Check digit selection must be G to generate check digit.
256 Printhead energy must be 0 (standard supplies), 1 (fax paper), or 2 (linerless/synthetic supplies). 257 Feed mode must be 0 (continuous) or 1 (on demand - if option is used). 258 Supply position is outside the range. 259 Contrast adjustment must be 28 - 40 dots. 260 Print adjustment must be -99 - 99 dots. 261 Margin adjustment must be -99 - 99 dots. 262 Speed adjustment must be 0. 263 Primary monetary symbol is invalid.
272 Invalid code page selection. Must be 0 (Monarch internal), 1 (ASCII), 2 (DOS Page 437), 3 (DOS Page 850), 4 (1250- Latin 2), 5 (1251- Cyrillic), 6 (1252- Latin 1), 7 (1253- Greek), 8 (1254- Turkish), 9 (1255Hebrew), 10 (1256- Arabic), 11 (1257- Baltic), 12 (1258- Vietnamese), 13 (852- Latin 2), 14 (855Russian), 15 (857- IBM Turkish), 16 (860- DOS Portuguese) or 19 (UNICODE). 282 RS232 Trailer string is too long. Use a maximum of 3 characters. 283 ENQ Trailer string is too long.
Check Digit Errors Error Code Description 310 Check digit scheme number must be 1 - 10. 311 Modulus must be 2 - 11. 314 Check digit algorithm must be D (sum of digits) or P (sum of products). Graphic Errors Error Code Description 325 Duplicating direction must be 0 (insert after) or 1 (insert before) in duplicate fields for graphics. 327 Amount of row adjustment must be 0 - 999 dots in duplicate fields for graphics. 328 Duplicate count must be 0 - 999.
Communication Errors Error Code Description 409 The printer memory is full. Delete unnecessary formats or graphics from memory. If you are using a graphic file that is very large, consider using another mapping method (such as run length encoding) to reduce the required memory. 410 Parity on the printer does not match the parity on the host. Check the parity setting under SETUP options. 411 Framing error. The printer cannot communicate with the host.
Data Formatting Failures Formatting errors indicate that a field will print incorrectly. After you have checked the data stream and corrected the data, retransmit the format and batch. For these errors, the batch still prints, but the field, font, bar code, or density may be incomplete, missing or contain incorrect data. 574 No CD scheme or room for CD. The CD scheme in the batch does not fit the format or the field contains blanks. 575 The graphic included in your format could not be found.
622 Not enough memory to create the downloaded TrueType characters in the scalable (vector) fonts buffer. Reconfigure the printer’s memory and increase the scalable (vector) fonts buffer. Resend the font, format, and batch packet after reconfiguring the memory. See "Reconfiguring Memory" for more information. If the error message persists, call Technical Support. Machine Faults These errors occur when there is a problem with the printer.
753 Printer sensed a mark that is too long. 756 The printer is out of supplies. Load supplies. 757 Load supplies. The calibrated supply length differs by plus or minus .25 inches from the format. 758 Check supply. Either the supply is not seen, or the on-demand sensor is broken (purchase optional). Check for a label jam. Clear the supply path or reload supplies. This error may occur if you remove a label too quickly in on-demand mode. The printer does not recalibrate after this error.
Flash Memory Errors These errors occur when there a problem occurs with the printer’s flash memory. 800 A directory in flash memory is full. 801 Flash memory is full. 802 A directory in flash memory cannot be found.. 803 There is no directory in flash memory. 810 A file in flash memory is not open. 811 A file in flash memory is already open. 812 The file in flash memory is full. 813 You cannot access flash memory. 820 An error occurred in the flash program.
Hard Printer Failure Errors These errors are hard printer failures. Call Technical Support if you receive these messages. 904 No memory for native layer. 907 Low RAM error. 909 RAM corrupted. 911 Version string mismatch. SYSTEM ERROR VECTOR ## ## can be: 2 Bus Error 3 Address Error 4 Illegal Instruction 5 Zero Division 6 CHK, CHK2 Instructions 7 TRAP Instructions 8 Privilege Violation 9 Trace 10 Line 1010 Emulator 48 User-defined vectors (48-255) This error is fatal.
8-20 Troubleshooting
9 P R I N T E R O P T I M I Z AT I O N This appendix provides information on how to improve your printer’s performance by N adjusting the print quality. N reducing the imaging time for printing. N providing general tips and hints for designing formats. This printer uses "smart imaging" to image and print fields on supplies. Smart imaging remembers the exact boundaries and locations of each field and places a boundary box (white space) around each field.
Adjusting the Print Quality Many factors affect print quality: type of supplies, print contrast, and the type of printer’s application. The type of supply should match the printer’s application. N Using premium supplies reduces smudged images, hard to read labels, and faded print. Supply type, print speed, and print contrast work together to improve the print quality of labels. Contact your Monarch Representative for more information.
Reducing Imaging Time Imaging time is the time it takes the printer to image the data for the first label after the printer receives the format and batch packet. There are several ways to reduce the imaging time: send formats and configurations once, use a batch quantity of zero, or update batch fields. N If the formats use the same check digit scheme, you only need to send the check digit scheme once. N Send formats once and use the batch update field to change information on the label.
To pre-image a label: 1. Send the format and a batch header in one file. The first time you send the batch header, use the parameter N (new batch), and the parameter 0 for (zero quantity). Example {B,1,N,0 p } The printer images constant text, line, box, and graphic fields, but does not print them. 2. Input data for each field, and send it with a batch header using the parameter U (update) and a quantity of zero. When the printer receives the data, it immediately images the field, but does not print it.
Increasing Throughput Reducing the imaging time increases throughput. You can also increase the baud rate to increase the transmission time and increase throughput. Make sure the communication settings at the printer match those at the host. General Format Tips and Hints The following tips and hints are helpful to keep in mind when designing MPCLII formats. With Formats If you want to modify your format fields, check digit fields, and configuration commands, use the optional entry method.
The first text field sets all the parameters for that field. The second text field’s number of characters and column location changes from what was defined in the first field. In the third text field, only the column location is changed. This method can be used on bar code and constant text fields as well. You should understand the basics of each field before using this method.
SAMPLES A This appendix contains sample formats. You can customize any of these formats to meet your needs. The samples pictured are oriented as if you are looking down at the keypad, watching labels come out of the front of the printer, as shown below.
S a mp l e U P C A Fo rma t Pa cke t {F,25,A,R,E,200,200,"Fmt 25" p C,140,40,0,1,2,1,W,C,0,0,"SAMPLE FORMAT", 1 p B,1,12,F,85,40,1,2,40,5,L,0 p T,2,18,V,50,50,1,3,1,1,B,L,0,0,1 p } Sample Batch Packet {B,25,N,1 p 1,"02802811111" p 2,"TEXT FIELD" p } A-2 Samples
Sample MaxiCode Packets MaxiCode is a two-dimensional bar code developed by UPS (United Parcel Service, Inc.). Data must be defined in a specific way for UPS. Refer to the Guide to Bar Coding with UPS or the AIM MaxiCode Specification for more details about data requirements. The printer supports modes 0, 1, 2, and 3. Contact Monarch for information about additional MaxiCode modes.
If you receive an error 612, check your MaxiCode data. You may have not correctly structured or left out one of the three required fields (postal code, class of service, and country code) or the "~029" character.
Mode 2 Sample {F,1,A,R,E,200,200,"MAXI_M2" p B,1,93,V,020,020,33,7,0,8,L,0 p } {B,1,N,1 p 1,"[)>~030" p C,"01~02996" p C,"068100000~029" p C,"840~029" p C,"001~029" p C,"1Z12345675~029" p C,"UPSN~029" p C,"12345E~029" p C,"089~029" p C,"~029" p C,"1/1~029" p C,"10~029" p C,"Y~029" p C,"~029" p C,"~029" p C,"CT~030" p C,"~004" p } MaxiCode bar-code (33) Message header Transportation header Postal Code (This field determines Mode) Country code Class of service Tracking number Origin carrier SCAC UPS shipper
Mode 3 Sample {F,1,A,R,E,200,200,"MAXI_M3" p B,1,93,V,020,020,33,7,0,8,L,0 p } {B,1,N,1 p 1,"[)>~030" p C,"01~02996" p C,"M5E1G45~029" p C,"124~029" p C,"066~029" p C,"1Z12345679~029" p C,"UPSN~029" p C,"12345E~029" p C,"089~029" p C,"~029" p C,"1/1~029" p C,"10~029" p C,"Y~029" p C,"~029" p C,"TORONTO~029" p C,"ON~030" p C,"~004" p } A-6 Samples MaxiCode bar-code (33) Message header Transportation header Postal Code (This field determines Mode) Country code Class of service Tracking number Origin carrier
H a n g Ta g E x a m p l e {F,1,A,R,E,275,125,"1TAG01"p C,228,20,0,50,8,8,A,L,0,0,"0047896320",1p C,203,20,0,50,8,8,A,L,0,0,"045",1p C,203,55,0,50,8,8,A,L,0,0,"12",1p C,203,85,0,50,8,8,A,L,0,0,"099",1p C,178,20,0,50,8,8,A,L,0,0,"00654113",1p C,178,85,0,50,8,8,A,L,0,0,"1158",1p C,54,37,0,50,14,14,A,L,0,0,"$49.
Label Example {F,1,A,R,E,300,150,"1LAB1530"p C,100,90,0,50,10,10,A,L,0,1,"BATTERY PACK",1p C,20,130,0,50,10,10,A,L,0,1,"1452-99311",1p C,230,128,0,50,12,10,A,L,0,1,"$5.
Label Sample 2 {F,1,A,R,E,110,200,"1LAB2011"p C,92,70,0,50,7,7,A,L,0,0,"PRETZELS",1p B,1,12,F,45,50,1,2,40,7,L,0p R,1,"028400067362"p C,18,105,0,50,10,10,A,L,0,0,"$.
A-10 Samples
B FONTS Our printers support two types of fonts: Bitmapped (traditional printer fonts such as Standard and Reduced) and Scalable/TrueType® (Font 50). This appendix gives a brief overview of each type of font and how your printer interprets fonts. It also shows examples of the fonts loaded in your printer.
Standard Font Reduced Font Bold Font OCRA-like Font B-2 Fonts
CG Triumvirate(tm) Typeface Bold CG Triumvirate(tm) Typeface EFF Swiss Bold Fonts B-3
Monospaced Font Magnification Monospaced characters occupy the same amount of space within a magnification. Use monospaced fonts for price fields and data you want to list in a column. Decide how wide and tall you want the characters to appear on the labels. The following two tables show the width and height of each of the monospaced fonts after magnification. This table includes the default (3 dots for Standard, 1 dot for Reduced, 3 dots for Bold) spacing. Width Mag.
Example 14 (Standard font dots) x 5 (magnification) = 70 + 3 (default spacing between characters). There are 73 dots in the Standard font at 5x. 1x 7x 1/100 in. K 10.8 Q 75.9 1/10 mm 27.4 192.8 dots 22 154 Standard Reduced n t 1/100 in. 6.9 48.28 1/10 mm 17.5 122.
u { Bold 1/100 in. 1/10 mm dots 16.7 117.24 42.4 297.8 34 238 OCRA-like (1x only) 1/100 in. 11.8 1/10 mm 30 dots 24 | Proportional Font Magnification Each character in a proportionally spaced font is a different width. You may be able to place more characters on a line using proportionally spaced fonts. You may want to experiment with these fonts and adjust field measurements in your format as needed. The following tables provide height and width magnification of sample characters.
C G Tr i u m v i r a t e Ty p e f a c e B o l d ( 9 p t . ) Width Mag. 1x 7x Minimum Average Maximum 1/100 in. 1.48 6.4 10.8 1/10 mm 3.76 16.26 27.4 Dots 1/100 in. 3 10.3 1/10 mm 26.2 203 Dots 21 6 13 44.8 22 75.9 = 114 < 91 D 192.8 C 154 J To calculate other font widths, multiply the font dots (3 dots for Minimum, 13 dots for Average, 22 dots for Maximum) by the magnification.
C G Tr i u m v i r a t e Ty p e f a c e ( 6 p t . ) Width Mag. 1x 7x Minimum Average Maximum 1/100 in. .99 2.96 5.9 1/10 mm 2.51 7.52 15 Dots 2 1/100 in. 6.9 20.7 41.4 1/10 mm 17.5 52.6 105.2 Dots 14 6 < 6 42 12 R X Height Maginfication 203 DPI 1/100 in. g 5.9 m 1/10 mm 14.99 105.1 dots 12 84 CG Triumvirate Typeface B-8 Fonts 41.
S c a l a b l e / Tr u e Ty p e ® F o n t I n f o r m a t i o n The scalable font characters print smoothly, without the jagged edges you may see when bitmapped fonts are magnified. Scalable/TrueType fonts are proportionally spaced (field width varies with each letter). Format Considerations When defining formats with scalable/TrueType fonts, keep the following in mind: N While field rotation can be set to any value (0-3), character rotation must be set to 0. N The slashed zero is not available.
The 72 point CG Triumvirate Typeface, Bold sample shows the one inch cell size. 6pt Sample 10pt Sample 24pt Sample 48pt 72pt Sample Sample Downloading Fonts The MONARCH® MPCL Toolbox (Soft Font Utility) is available on our Web site (www.paxar.com) and converts TrueType fonts to Hex or Run Length encoding. When downloading a TrueType font, you download the entire font. You cannot specify a subset (particular characters or point size) of the font.
U s i n g U N I C O D E ( D o u b l e - B y t e ) Tr u e Ty p e ® F o n t s Previously, our printers supported downloadable fonts, but with limited code pages. Characters are represented by character code pages. These fonts are designed to be regionally specific; therefore, all code pages may not be supported in a given font. For example, using Code Page 1252 (Latin 1), index 192 (represented as ~192 in an MPCL batch packet) prints this character, À.
Character Mapping Overview The printer can accept TrueType fonts in UNICODE character mapping. Character Mapping Code Page use in text or constant text fields Batch Data* TrueType Font Encoding UNICODE BIG5 102 UNICODE SJIS 102 UNICODE KSC5601 102 UNICODE GB2312 102 UNICODE UNICODE 102 * Characters in batch data must be entered based on their UNICODE ID.
L i c e n s i n g Yo u r F o n t s Monarch provides the Soft Font Utility to help you create and download international code pages/characters. However, it is your responsibility to license the fonts you purchase and download to your Monarch® printer. Contact your font supplier for licensing information. Using Font Numbers in Formats Use the following font numbers in your format when designating new fonts.
L ocating the Font Number in a Font Packet If you are creating font packets, the font number is the second parameter in the packet. Software is available to create the font data and packet. Call Technical Support for more information. Font Number Example {W,200,A,N,68 p font data p font data p } Use this number in T8 or in C5. See "Defining Text Fields" or "Defining Constant Text Fields" in Chapter 3 for more information.
S Y M B O L S E T S / C O D E PA G E S C This appendix contains a listing of the symbol sets, code pages, and extended character sets the printers support. Use the charts in this appendix to convert dot sequences from the image dot pattern to codes you can use in the fields. Use the Binary to Hex Conversion Chart to convert Binary dot sequences to Hexadecimal numbers for bitmap files. Use the Dot to Run Length Encoding Chart to convert dot sequences to alphabetic characters for bitmap files.
Using Code 128 Function Codes This table lists the characters for Bar Code 128 function codes. These functions are used with scanners. Code Function Code ~201 F1 ~202 F2 ~203 F3 ~204 F4 Entering Extended Characters When using extended characters in your batch data file, type a tilde in front of the three-digit code.
The Euro-dollar symbol at position ~192 is only available in the Standard, Reduced, and Bold fonts. The printer can accept TrueType fonts in UNICODE character mapping using Code Page 102. This code page contains thousands of characters, which are not represented in this manual.
ANSI Symbol Set Bold Character Set C-4 Symbol Sets/Code Pages
OCRA Character Set Code Page 437 (L atin U.S.
Code Page 850 (L atin 1) Code Page 852 (L atin 2) C-6 Symbol Sets/Code Pages
Code Page 855 (Russian) C o d e P a g e 8 5 7 ( I B M Tu r k i s h ) Symbol Sets/Code Pages C-7
Code Page 860 (MS-DOS Portuguese) Code Page 1250 (L atin 2) C-8 Symbol Sets/Code Pages
Code Page 1251 (Cyrillic) Code Page 1252 (L atin 1) Symbol Sets/Code Pages C-9
Code Page 1253 (Greek) C o d e P a g e 1 2 5 4 ( Tu r k i s h ) C-10 Symbol Sets/Code Pages
Code Page 1255 (Hebrew) Code Page 1256 (Arabic) Symbol Sets/Code Pages C-11
Code Page 1257 (Baltic) Code Page 1258 (Vietnamese) C-12 Symbol Sets/Code Pages
ASCII to Hexadecimal Conversion Chart Use the chart below to translate the characters printed on your test label. The chart lists ASCII characters and their hexadecimal and decimal equivalents. Char. Hex Decimal Char.
ASCII to Hexadecimal Conversion Chart (continued) Char. Hex Decimal Char. Hex Decimal $ 24 36 ; 3B 59 % 25 37 < 3C 60 & 26 38 = 3D 61 ’ 27 39 > 3E 62 ( 28 40 ? 3F 63 ) 29 41 @ 40 64 * 2A 42 A 41 65 + 2B 43 B 42 66 , 2C 44 C 43 67 - 2D 45 D 44 68 .
ASCII to Hexadecimal Conversion Chart (continued) Char. Hex Decimal Char.
Binar y to Hex Conversion Chart Binary Hex Binary Hex 00000000 00000001 00000010 00000011 00000100 00000101 00000110 00000111 00001000 00001001 00001010 00001011 00001100 00001101 00001110 00001111 00010000 00010001 00010010 00010011 00010100 00010101 00010110 00010111 00011000 00011001 00011010 00011011 00011100 00011101 00011110 00011111 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F 00100000 00100001 00100010 00100011 00100100 00100101 00100110 00100
Binary to Hexadecimal Conversion Chart (continued) Binary Hex Binary Hex 01000000 01000001 01000010 01000011 01000100 01000101 01000110 01000111 01001000 01001001 01001010 01001011 01001100 01001101 01001110 01001111 01010000 01010001 01010010 01010011 01010100 01010101 01010110 01010111 01011000 01011001 01011010 01011011 01011100 01011101 01011110 01011111 40 41 42 43 44 45 46 47 48 49 4A 4B 4C 4D 4E 4F 50 51 52 53 54 55 56 57 58 59 5A 5B 5C 5D 5E 5F 01100000 01100001 01100010 01100011 01100100 0110
Binary to Hexadecimal Conversion Chart (continued) Binary Hex Binary Hex 10000000 10000001 10000010 10000011 10000100 10000101 10000110 10000111 10001000 10001001 10001010 10001011 10001100 10001101 10001110 10001111 10010000 10010001 10010010 10010011 10010100 10010101 10010110 10010111 10011000 10011001 10011010 10011011 10011100 10011101 10011110 10011111 80 81 82 83 84 85 86 87 88 89 8A 8B 8C 8D 8E 8F 90 91 92 93 94 95 96 97 98 99 9A 9B 9C 9D 9E 9F 10100000 10100001 10100010 10100011 10100100 1010
Binary to Hexadecimal Conversion Chart (continued) Binary Hex Binary Hex 11000000 11000001 11000010 11000011 11000100 11000101 11000110 11000111 11001000 11001001 11001010 11001011 11001100 11001101 11001110 11001111 11010000 11010001 11010010 11010011 11010100 11010101 11010110 11010111 11011000 11011001 11011010 11011011 11011100 11011101 11011110 11011111 C0 C1 C2 C3 C4 C5 C6 C7 C8 C9 CA CB CC CD CE CF D0 D1 D2 D3 D4 D5 D6 D7 D8 D9 DA DB DC DD DE DF 11100000 11100001 11100010 11100011 11100100 1110
Dot to Run Length Encoding Chart ON (Black) Dots # of Dots Code # of Dots Code 1 2 3 4 5 6 7 8 9 10 11 12 13 A B C D E F G H I J K L M 14 15 16 17 18 19 20 21 22 23 24 25 26 N O P Q R S T U V W X Y Z # of Dots Code # of Dots Code 1 2 3 4 5 6 7 8 9 10 11 12 13 a b c d e f g h i j k l m 14 15 16 17 18 19 20 21 22 23 24 25 26 n o p q r s t u v w x y z OFF (White Dots) C-20 Symbol Sets/Code Pages
F O R M AT D E S I G N T O O L S Use copies of these worksheets and grids to create formats, batch data, and check digit schemes.
D-2 Format Design Tools HEADER BUFFER SIZE DEVICE JOB REQUEST STATUS REQUEST PRINTHD WIDTH SPEED ADJUST MARGIN ADJUST HEADER PRINT CONTROL SUPPLY POSN FEED MODE RIBBON ON SUPPLY TYPE HEADER SUPPLY SETUP SYMBOL SET SLASH ZERO SEPARATOR LANGUAGE M BUFFER IMMED. COMMAND DATA ESCAPE END OF TRANSMISSION FIELD SEPARATOR CHAR.
BATCH DATA B4 QUANTITY FIELD # DATA C C C C C C C C C C C C C C C E7 CUT-MULT E6 CUT-TYPE E5 MULTI-PART E4 PRINT-MULT E3 BATCH-SEP E2 FEED-MODE E1 HEADER BATCH CONTROL B BATCH CONTINUATION 1 2 3 4 5 6 7 8 9 10 11 12 13 14 B3 NEW / UPDATE B2 FORMAT # B1 HEADER BATCH HEADER B a t c h Wo r k s h e e t E DATA Format Design Tools D-3
A D-4 Format Design Tools A1 HEADER A1 HEADER A R A6 LENGTH A7 ALGORITHM WEIGHTS A8 A6 LENGTH A7 ALGORITHM A5 MODULUS R A5 MODULUS A4 DEVICE A3 ACTION A2 SELECTOR # A A4 DEVICE A3 ACTION A2 SELECTOR # A7 ALGORITHM A6 LENGTH A5 MODULUS A4 DEVICE A3 ACTION A2 SELECTOR # A1 HEADER C h e c k D i g i t Wo r k s h e e t WEIGHTS A8 R WEIGHTS A8
S u p p ly L a y o u t (In c h e s ) - In d ic a te s n o - p r in t a r e a 1 2 1 0 .8 9 .6 8 .4 Im a g e L e n g th 7 .2 6 4 .8 3 .6 2 .4 1 .2 0 .4 7 Im a g e W id th 0 .9 5 1 .4 2 1 .
S u p p ly L a y o u t (M e tr ic ) - In d ic a te s n o - p r in t a r e a 3 0 4 .8 2 7 4 .3 2 4 3 .8 2 1 3 .4 Im a g e L e n g th 1 8 2 .9 1 5 2 .4 1 2 1 .9 9 1 .4 6 1 3 0 .5 0 1 1 .9 Im a g e W id th D-6 Format Design Tools 0 2 4 .1 3 6 .
Supply Layout (Dots) - Indicates no-print area 2436 2192.4 1948.8 1705.2 Image Length 1461.6 1218 974.4 730.8 487.2 243.6 0 95.4 288.3 192.9 Image Width 0 383.
D-8 Format Design Tools
L IN E S L L L L Q E N D C O L U M N T H IC K N E S S P A T T E R N Q 5 Q 6 Q 7 G G R O T A T IO N C O D E # S R C F IE L D S R C S T A R T # T O D E S T .
L IN E S L L L L Q E N D C O L U M N T H IC K N E S S P A T T E R N Q 5 Q 6 Q 7 G G R O T A T IO N D R 1 D R 1 R 4 R G 6 D M O D E C R G 5 C D C O L U M N C G 4 C R O W C G 3 C O D E # S R C F IE L D S R C S T A R T # T O D E S T .
GLOSSARY Batch Data 2,"Monarch" p Defines the actual information (as fields within { }) printed on the label. Batch Control E,0,1,1,1 p Defines the print job (as a field). Batch Header {B,1,N,1} First line of a batch, immediately following ({). Identifies the format and batch quantity. Batch Packet {B,1,N,1 p 2,"Monarch" p } Contains a batch header and the batch data. Enclosed within { }. Bitmapped Fonts Reside in the printer’s RAM or in a ROM chip.
Format Header First line of a format, immediately following the start of packet ({). A format header must begin with F, followed by various header elements. {F,1,A,R,E,600,150,"Fmt-1" p Monospaced Fonts All characters have the same width and are easy to center justify. (Standard, bold, and reduced are monospaced.) Non-volatile RAM (NVRAM) Contains information that is SAVED on power-down. Option R,1,"Monarch" p Any line within a format that applies special formatting to a field.
INDEX A adding custom fonts 2-28 adjustm ents, print 2-8 algorithm ,in sum of digits 4-16 algorithm ,in sum of products 4-15 alignm ent,bar code 3-14 allocating m em ory 2-21 B backfeed packet syntax 2-19 bar code defining aspect ratios 4-11 P D F 417 options 4-11 bar code alignm ent 3-14 bar code density syntax 4-9 bar codes character lengths 3-9 custom izing density 4-9 defining 3-8 defining densities 4-9 determ ining distance from left/right 3-10, 3-15 determ ining distance from top/bottom 3-10 generati
bitm ap defining fields 5-13 defining next fields 5-14 defining the header 5-11 hexadecim al chart C -16 hexadecim al m ethod 5-2, 5-4 overview 5-2 run length chart C -20 run length m ethod 5-2, 5-6 storing the im age 5-8 bitm apped fonts definition of term 1-1 black to w hite print ratio 5-3 boxes defining 3-21 determ ining distance from left/right 3-22 determ ining distance from top/bottom 3-22 buffer definition of term 1-1 scalable font 2-24 buffer selection 2-21 buffer size selection 2-21 C calling tec
configuration packets backfeed control packet G com m unication settings packet F guidelines 2-8 header 2-5 m em ory configuration packet M m onetary form atting packet D overview 2-5 packet control characters E print control packet C 2-12 sam ple 2-6 supply setup packet B 2-10 system setup packet A 2-9 constant text fields character rotation 3-17 defining 3-15 determ ining distance from top/bottom 3-15 justification 3-17 m odifying character height m odifying character w idth 3-16 rotating 3-17 sam ple 3-1
system setup packet A 2-9 text fields 3-3 definition of term s 1-1 density using option 50 to custom ize design tools about the grid 1-7 check digit w orksheet D -3 form at w orksheet D -1 online configuration w orksheet w orksheet overview 1-9 designing a form at 1-4 draw ing a sketch 1-6 field type considerations 1-8 filling in w orksheets 1-9 font considerations 1-9 print area 1-5 using grids 1-7 w orksheet overview 1-9 determ ining form at content 1-5 device selection 2-21 diagnostics list of data error
reim aging 4-13 restrictions 4-2 security/truncation for P D F417 using m ultiple 4-2 w idth/length for P D F417 4-11 fields bar code rotation 3-14 batch control syntax 6-3 batch data syntax 6-4 constant text rotation 3-17 deciding a type 1-8 finding trailing spaces 9-6 font considerations 1-9 padding 4-7 picking a font 1-9 repeating param eters 9-5 text field rotation 3-6 types briefly described 1-8 using a w orksheet 1-9 using data entry/copied fields fixed data in constant text field 3-17 in text field 3
graphic im age including 5-18 graphic packets clearing from m em ory grid overview 1-7 J 2-27 job request syntax 7-8 job response explanation of 7-9 syntax for 0 - 2 7-9 syntax for 3 7-10 syntax for 4 7-12 job status explanation of response requesting 7-8 table 7-13 justification of bar code 3-14 of constant text fields of text field 3-6 H hard printer failure errors list of 8-19 help, getting 8-4 hex graphic packet sam ple 5-16 hum an readable characters placem ent considerations 9-6 selecting for a bar
m onospaced fonts definition of term 1-2 m onospaced fonts, m agnification of M m achine errors list of 8-16 m agnification considerations 9-6 of m onospaced fonts of proportional fonts m apping m ethod, hexadecim al m ethod, run length m argin adjustm ent selection M axicode data stream A -3 M axiC ode inform ation m easurem ent on a grid 1-7 m em ory allocating 2-21 clearing packets 2-27 packet syntax 2-21 storing im ages in R A M m em ory buffer dow nloadable fonts form at 2-24 im age 2-23 receive 2-23
P packet definition of term 1-2 packet A syntax 2-9 packet B syntax 2-10 packet C syntax 2-12 packet control characters factory defaults 2-3 resetting 2-15 selecting new 2-14 syntax 2-14 packet D syntax 2-13 packet E syntax 2-14 packet F syntax 2-18 packet G syntax 2-19 packet M syntax 2-21 packets batch 6-2 check digit schem e clearing from m em ory configuration 2-5 configuration upload guidelines 2-4 padding data 4-7 syntax 4-7 param eters definition of term 1-1 for batch control field for batch data fie
printers data errors 8-5 data form atting errors 8-15 hard printer failure errors 8-19 m achine fault errors 8-16, 8-18 w ays to configure 2-2 printing black to w hite ratio 5-3 canceling 2-16 horiz adjustm ent 2-8 overview 6-1 vert adjustm ent 2-8 problem running out of printer m em ory 2-27 problem s getting technical support 8-4 hum an readables cut off 9-6 im age tim e and changing data 9-5 im age tim e and unchanging data 9-3 im aging tim e and repeating field param eters 9-5 incorrect sym bols print 3
font, O C R A style B -6 font, standard style B -5 form at A -2 form at header 3-2 hex graphic packet 5-16 im m ediate com m and 2-16 increm enting/decrem enting field option 4-12 inquiry response 7-2 job request 7-8 job response 0 - 2 7-9 job response 3 7-10 job response 4 7-12 m em ory configuration packet F m ode com m and 2-2 m onetary form atting packet D m onospaced font m agnification packet control characters E padding data 4-7 print control packet C 2-12 printer configuration uploaded proportional
sum of products calculation 4-15 supply about the layout grid 1-7 m easurem ent on a grid 1-7 type/position selection 2-10 supply setup syntax 2-10 supply type/position selection 2-12 sym bol set C -1 ANSI C -1 entering C -2 Internal table C -3 options 3-7 selecting C -1 syntax backfeed control packet G com m unication settings packet F constant text field 3-15, 3-18 font upload packet 2-28 form at header 3-2 m em ory configuration packet M m onetary form atting packet D packet control characters E print co
V variable length padding for 4-7 vector fonts buffer 2-24 vectors defining 3-19 V ietnam ese characters volatile R A M definition of term 1-2 voltage selection 2-12 C -12 W w idth/length using option 52 4-11 w ord length selection 2-18 w orksheet check digit D -3 filling in 1-9 form at D -1 online configuration overview 1-9 12 Index D -2