Monarch 9400™ SeriesThermal PrinterTC9400PM Rev. A 8/90 ©1990 Monarch Marking Systems, Inc. All rights reserved.Programmer’s Manual
Each data type has its own data stream structure. Refer to"Message Structures" in this manual.9400 Series Programmer’s Manual2-2
Function CodesCode 128 has four function codes (f1-f4). These specialcharacters can be entered as:• fixed characters when defining a code 128 field (
Table A-1. 128 Bar Code Character SetsAny of the following characters can be used in onlinecommunication with the printer by sending the character’ss
Code Code Code Bar Pattern Value A B C B S B S BS23 7 7 23 31213124 8 8 24 31122225 9 9 25 32112226 : : 26 32122127 ; ; 27 31221228 28 32211229 = =
Code Code Code Bar Pattern Value A B C BSBSBS67 ETX c 67 14112268 EOT d 68 14122169 ENQ e 69 11221470 ACK f 70 11241271 BEL g 71 12211472 BS h 72 1
9400 Series Programmer’s ManualB-10
For supplies, service, or assistance call:TOLL FREE:1-800-543-6650 (In the U.S.A.)1-800-263-4650 (In Canada)Printed in U.S.A.
3. Communication RequirementsTo enable communications between the printer and thecomputer, the printer communications setup must match thesetup for t
There are three main buffers: batch, format, and graphic. Theprinter also has a 1024 byte input buffer which holds data untilit is processed into th
Setting Communication ValuesTo set the communication parameters, follow the instructionsbelow. For more information on operating the printer, refer t
4. Select the parity you need and press . You’ll seeEnter Word Length [7-8]: 85. Select the word length you need and press . You’llseeEnter St
Cable InterfaceThe printer accepts standard RS-232C electrical signaltransmissions when it is connected to a DB-25S connectorconfigured as Data Termin
The cable interface for PC null modems is shown below.9400 PCFG 1 1 FGTD 2 2 TDRD 3 3 RDRTS 4 4 RTSCTS 5 5 CTSDSR 6 6 DSRCD 8 8 CDDTR 20 20 DTRSG 7 7
4. Message StructuresThis chapter has information and message structures for• Formats• Batch DataGraphic image data is discussed in Chapter 5.Creatin
Send data to the printer just as you would send any print datato a printer from your computer.For example, if you have a file named FORMAT1.DAT on anM
Error NotificationData handling and error checking are resident in the printer. Ifan error in transmission occurs, an error is displayed on theprinte
Each product and program carries a respective writtenwarranty, the only warranty on which the customer can rely.Monarch reserves the right to make cha
Monetary SymbolsThe default monetary symbols are the U.S. dollar and cents.The ASCII characters $ (24 hex) and ^ (5E hex) represent thedollar and cent
CommandsThe following characters are used in 9400 series online datastreams.Command CharactersProgramming ConventionsAll online commands from the host
Format DataFormat data contains the following.• Format identification number and name• Supply size• Online field definitions for text, bar code, line
ExampleThis example has three text fields and one bar code field. { F1,0558,0507;ONLINE T00,I,000,0475,0050,1,1,0,0,B T01,I,000,0406,0050,1,1,0,0,
WIDTH One to four digits to define the width of thesupply in tenths of millimeters (across theprinthead).Values:9425 191-634 (0.75 to 2.5 inches)9445
• Make sure your format name begins with a semi-colon(;).• Make sure the record ends with a record separator ( ).Message Structures4. Message Struct
Text Field RecordThe text field record is constructed as shown below.SyntaxT##,IFLAG,IVALUE,ROW,COL,MAG,TFONT,C-ROT,F-ROT,COLOR FieldContentsT## Must
ROW One to four digits to define the rowlocation of the field on the supply. This isthe distance from the the guide edge zeropoint at the bottom of t
MAG One to two digits as the magnificationfactor for the font of text fields.Values: 1 - 10NOTE: Font magnifications creatinggreater than 30% black pr
ExampleT05,I,0,230,30,1,1,0,0,B This text field has the following attributes:• Text field number is T05.• This field does not change value with succe
Table of Contents1. Introduction ...1-12. Overview ...
Bar Code Field RecordThe bar code field record is constructed as shown below.SyntaxB##,IFLAG,IVALUE,ROW,COL,DENSITY,BFONT,F-ROT,HEIGHT,HR Field Conte
ROW One to four digits to define the rowlocation of the field on the supply. This isthe distance from the the guide edge zeropoint at the bottom of t
DENSITY One digit for the bar code density forInterleaved 2 of 5, Code 128, MSI, Code39, and UPC/EAN barcodes.Values: 1-5Some bar codes do not support
HR (Human readable characters) One digitfor the location of human readablecharacters printed with a UPC or EAN barcode. If no value is given, no hum
• No human readable characters appear with this barcode ( 0).Syntax Checklist• Make sure this record is preceded by a format headerrecord.• Make sure
UPCA You must send a leading zero, 11 digits ofdata and a check digit (13 digits total).UPCE The printer automatically prints a leadingzero for this b
• batch data when printing.To send the Function Codes, use a tilde(~) followed by a three digit ASCII code asshown in the following table.For example,
Line FieldThe message structure below transmits a line field. This datastream defines the bit map to form a graphic line field. Use theline field to
COLUMN One to four digits to define the columnlocation of the field on the supply. This isthe distance from the guide edge zeropoint at the left edge
THICKNESS One or two digits for the line thickness indots. 9425 1 dot = 1/192 inch9445 1 dot = 1/192 inch9465 1 dot = 1/192 inch (horizontal line)1 d
5. Using Graphics...5-1Defining Graphic Image Data...5
• Make sure the row and column locations in this recordare less than the supply length and width.• Make sure your end point does not make the line run
ExampleThis example draws a simple 1-inch box starting at row 50 andcolumn 50 on a 2" x 2.5" tag, as shown below. (Line widthvalues are for
Batch DataThe batch data stream contains:• Batch information:- format number (layout for the print image)- print quantity- supply definition- item des
QUANTITY One to four digits for the quantity to print ina given batch.Values: 1-9999CUT/TAKEUPOn printers with a knife:One digit to control how ticket
REP One to four digits for the supply repetitionfor cutting, and increment/decrement field.Values: 1-9999PARTS One digit for the number of parts acros
;BATCH_NAME One to eight characters for the name ofthe batch. A priority batch name mustbegin with a decimal. For example:.SOCKS12.NOTE: Each batch
Syntax Checklist• Make sure this record begins with an open brace ({).• Make sure the first parameter (batch header) beginswith B.• Make sure the numb
If there is a text field you don’t want to use, enter that fieldnumber and a semi-colon with no print data.ExampleThis example contains data to print
• If the field is an incrementing field, you can enter anytype of characters; however, only the numeric data willincrement.• Make sure the print data
For example, batch 1 below prints a date in text field T01.Since batch 1 and batch 2 are printed on the same day, batch2 can leave out field T01. Sin
Appendix A: Sample Data Streams...A-1Formats, Text and Bar Code Fields ...A-1Line Fields...
{ S TYPE }Field ContentsS Must be the letter ‘S’ to identify the batchseparator selection.TYPE A single digit to turn the batch separatorselection on
ExampleFormat data stream.{ F 12, 560, 508;SMALL2IN T1, I, 0, 300, 50, 1, 1, 0, 0, B T2, I, 0, 200, 50, 1, 1, 0, 0, B T3, I, 0, 150, 50, 1, 1, 0, 0
9400 Series Programmer’s Manual4-36
5. Using GraphicsThere are two stages to printing a graphic:• Create the data stream for the graphic image• Place the image into a format.To print a
This example shows how black dots and white dots form an image of the letter A.To create a data stream for this image, start with the bottomrow. Coun
The data stream uses letters to identify dot counts.• CAPITAL letters represent black dots.• lowercase letters represent white dots.Using the coding c
The graphic data stream contains a graphic header recordfollowed by data streams for each row of dots in the image.Syntax{ G##,0,0,0,0 ;...dot codes.
NOTE: The parameters ROW, COLUMN,LINES and DOTS exist tomaintain the 9420/9440 datastructure. These parameters arenot used by the9425/9445/9465/9474
ExampleThis graphic data streamgenerates the letter A fromthe grid earlier in thissection. The format andbatch data streams to printa sample tag foll
The graphic has the following attributes:• This graphic is assigned a number of 1.• This graphic is 46 dots tall.Syntax Checklist• Make sure the data
9400 Series Programmer’s Manualiv
Placing the Image in a FormatThe message structure below places a graphic field in a format.You can have up to 100 graphic images. The graphic record
This value is measured in tenths ofmillimeters (TOMMS) and must be lessthan the maximum length of the supply.Values: 0-2032COLUMN One to four digits t
The following batch data stream prints the tag below.{B11,1,1,1,1,0,C;LETTER-A T0;LETTER-A GRAPHIC }ExampleG1,100,40 The graphic is inserted into
Clear Image BufferThis command clears all or selective graphics from the imagebuffer. Once graphic data is sent to the printer, that graphicstays in
Compressing the Data StreamImage data usually consists of a large amount of repetitivedata. Therefore, the printer uses a data compressionalgorithm f
Long Version Compressed Version{G1,0,0,0,0 {G1,0,0,0,0 ;dHsHd ;3dHsHd ;dHsHd ;eGsGe ;dHsHd ;eHqHe ;eGsGe ;fGqGf ;eHqHe ;2fHoHf
9400 Series Programmer’s Manual5-14
6. Quick ReferencesText Font SizesThe 9425, 9445, 9465, and 9474 printers can print using9425/9445/9465/9474 fonts, or using 9420/9440 fonts(9420/944
Parallel CharactersRotated CharactersValue/Font Characters/Inch CharacterHeight (in.)IM1/Standard 21.3 12.0 0.102/Reduced 64.0 24.0 0.073/Bold 19.2 7.
9420/9440 FontsThe 9420/9440 fonts are monospaced (every letter uses thesame amount of space). The following tables show thecharacters per inch for p
1. IntroductionThis manual tells you how to enter online formats and batchdata for downloading to Monarch 9400™ series printers.The following printer
Parallel Character Width (in Dots) for the 9425, 9445,and 9474The following table shows the width of the 9425, 9445, and9474 characters in dots. Uppe
Parallel Character Width (in Dots) for 9465 *Inter-character gapThe table below shows the character width (in dots) for the9420/9440 fonts. There is
Serial Character Width (in Dots) for 9420/9440 FontsBar CodesThe table below lists bar code selections and values.Value/Font Dots Wide1/Standard 242/R
Bar Code DensitiesBecause the 9465 printhead has more dots per horizontalinch, parallel bar codes on the 9465 only have a higher densitythan serial ba
Bar Code Densities (9425/9445/9474)* For more information on Code 128, see Appendix B. ** This density is not supported on the 9474 printer.Value Ba
Bar Code Densities (9420/9440)* For more information on Code 128, see Appendix B.Value Bar Code Density (Char/in)1 Code 39I 2 of 5Code 128*MSI6.6312.0
Bar Code Densities (9465, Parallel Print)* For more information on Code 128, see Appendix B.Value Bar Code Density (Char/in)1 Code 39I 2 of 5Code 128*
Bar Code Densities (9465, Serial Print)* For more information on Code 128, see Appendix B.Value Bar Code Density (Char/in)1 Code 39I 2 of 5Code 128*MS
Line WidthThe following tables show the horizontal and vertical linewidths. On the 9425/9445/9474 and 9420/9440 printers, theline widths are the same
Horizontal Line Widths (9465)The following table shows the horizontal line widths for the9465. Line WidthLineNumber Appearance Inches MM1.005.132.
9400 Series Programmer’s Manual1-2
Vertical Line Widths (9465)The following table shows the vertical line widths for the 9465. Line WidthLineNumber Appearance Inches MM1.003.0762.00
Special CharactersThe following table shows the ASCII code for specialcharacters available in the standard font.Code 128 Function CodesThe following t
9420/9440 Horizontal Print LocationIf the printer is set for 9420/9440 compatible mode, the fieldlocation starts at the nearest 8th dot (nearest 0.04
Offline Onlineinches mm tomms1.64 041.8 4021.69 042.9 4121.73 043.9 4231.77 045.0 4331.77 045.0 4331.81 046.0 4441.85 047.1 4551.89 048.2 4651.94 049.
ASCII CharactersThe following table shows the characters available in eachfont. HR1 and HR2 are human readable fonts for bar codes.Character Std Redu
Printable Characters by FontFollowing are the printable characters (not at actual size).Human Readable 1 and Human Readable 2 are not availableoffline
English/Metric ConversionInches TOMM Inches TOMM Inches TOMM Inches TOMM - - 0.060 15 0.075 19 0.100 250.125 31 0.150 38 0.175 44 0.200 500.225 57
English/Metric Conversion (cont.)Inches TOMM Inches TOMM Inches TOMM Inches TOMM4.425 1124 4.450 1130 4.475 1137 4.500 11434.525 1149 4.550 1156 4.575
9400 Series Programmer’s Manual6-22
Appendix A: Sample Data StreamsThis appendix contains sample data streams for formats,batches, and graphics. The illustrations show the tags that ar
2. OverviewThe 9400 Series Thermal Printer can receive print data onlinefrom a host computer. During online communication, the hostcomputer treats t
Line FieldsThis example shows how to use line fields to create a box.Sample Format Data Stream{ F2,0550,0507;BOX L0,50,50,0,304,10 L1,50,50,1,304,1
Graphic ImagesThis Graphic data streamprecedes the format that uses it.Sample Graphic DataStream{ G3,0,0,0,0 ;dHsHd ;dHsHd ;dHsHd ;eGsGe ;eHqHe
Sample Format Data Stream{ F3,0550,0507;GRAPHIC T0,I,0,400,100,1,1,0,0,B G3,200,200 }Sample Batch Data Stream{ B3,1,1,1,1,0,1;LETTER-A T0;LETTER
Compressed Graphic DataThis example shows the same graphic data stream incompressed format.Sample Compressed Graphic Data Stream{ G3,0,0,0,0 ;3dHsHd
Sample Format Data Stream{ F3,0550,0507;GRAPHIC T0,I,0,400,100,1,1,0,0,B G3,200,200 }Sample Batch Data Stream{ B3,1,1,1,1,0,1;LETTER-A T0;LETTER
Appendix B: Code 128 InformationThe 128 bar code is divided into 3 character sets (Code A,Code B, and Code C). Depending on the character set used,t
Bar Code 2 is not as wide as Bar Code 1 because all of itscharacters are printed with bar symbols from code C.Only 6 of Bar Code 1’s characters are pr
Here’s why bar code 1 is wider:• The 8 numbers in each example appear in groups offour or more, and they appear in even-numberedquantities, therefore,
The table below shows the characters per inch for Code 128.The table shows the values for numeric data, and foralphanumeric data at each of the three
Quiet ZoneWhen you estimate the area you’ll need for the bar code,remember to add the length of the quiet zone. The quiet zoneis an area of white spa
Commenti su questo manuale