The text of a manual · part 4 of 4
Barcode Tagger 600 Barcoded Tray and Sack Label Computer User's Guide, pages 25 to 31
Pages 25 to 31 of 31
The original document is the PDF (136 KB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Whittier BT-600
Page 25
Barcode Tagger 600
Users Manual
Appendix ‘A’ Tagger Job File Programming Format The Tagger Job File (TJF) and Tagger Data Stream (TDS) are the standard protocols for transferring data between a host computer system to a Tagger/600 control unit.
TJF Overview TJF files are created either by a host computer or by the Barcode Tagger 600 and stored on IBM formatted 3-1/2” floppy diskettes. The files can be loaded into the Tagger /600 at a later date for tag printing, either as a batch or one-at-a-time as needed. When the tags are printed as needed the operator can add or delete tags as needed while a job is being processed.
Command Format and Syntax TJF files are ASCII text files. They may be created by any means from a simple text editor to custom programming. The Barcode Tagger 600 interprets each line of the file terminated with a CR/LF as a command. TJF files may contain comments preceded with a pound (#) sign. Improperly formatted commands are ignored. Improper or impossible tag request will cause the printing of an error message tag (not usable as a USPS tag) stating the error detected. Examples of TJF files are included in this section. Tip: If you have trouble de-bugging your TJF files, create a new job using the Barcode Tagger 600 keypad as a sample. Save it, export it to diskette, and then load it into your DOS text editor to examine.
TJF file sections The TJF file is broken into three sections. Each section is terminated by a line containing one or more equal signs (=). The first section identifies the file as a job file and the name of the job. The first line must read “WMP Tagger Job File Format July97” terminated by a CR/LF. The second line contains the name of the job file. The name may be as long as 40 characters, and is terminated by a CR/LF. The third line consists of one or more equal signs terminated by a CR/LF, and ends the first section. The second section pre-programs the Barcode Tagger 600 for the type of job to be printed. Seven parameters must be set in this section. Each parameter must be set on a separate line terminated by a CR/LF. The exact order of the parameters is not important. Each parameters is set by a command line formatted as follows: parameter = setting CR/LF. The number of spaces between the parameter, equal sign and setting are not important.
Copyright © 1998 Whittier Mailing Products. Whittier Ca. All rights reserved.
25
Page 26
Barcode Tagger 600
Users Manual
The following parameters must be set in the second section of the TJF:
Format
Tag Printer Act Printer Origin Line Point of Entry Mailer Code Category
= Tray Tray w/Extra 39 Tray w/Extra Text Sack Tray Fill In Sack Fill In = Yes No = Yes No = text (user created custom origin text) <Standard> (for standard origin line) = ### (3 digit for custom origin) ##### (5 digit for <Standard>) = (1 to 10 digits) Ignored if Origin not <Standard> = @#### (one alpha character class code, two digit process category, two digit sortation code. (See Appendix C)
The second section is terminated by one or more equal signs terminated with a CR/LF. The third section of the TJF file is the Tag section. This is where the individual tags are requested. This section is currently limited to 1000 entries. Each line contains 3 to 5 fields delimited by a comma. The format of each line is: Subtype, ZIP, Quantity, optional tray data type, optional tray data text. Spaces are ignored.
subtype
Three digit subtype code. The first digit is the length of ZIP (0,3,5 or 9).
ZIP
The number of digits of ZIP that will be looked at is based on the first digit of subtype. When ZIP length is 0, no lookup is required. ZIP length of 3 looks up a three digit ZIP. 5 is a five-digit ZIP, and 9 is a five-digit ZIP code plus a route type (C for carrier route, R for rural route, etc), and a three-digit route number. Route numbers may be padded with leading zeros.
Quantity
Number of labels to be printed, up to 999.
optional tray data text literal text to be printed.
Copyright © 1998 Whittier Mailing Products. Whittier Ca. All rights reserved.
26
Page 27
Barcode Tagger 600
Users Manual
TJF Sample one: WMP Tagger Job File Format July97 Lightblue Smuff ================================================= # no comments may appear before this point # the top three lines of the file identify it # as a job file and the name of the job # Format = Tray Tag Printer = Yes # Format = {Tray, Tray Fill In, Sack, Sack Fill In } # Printer = {Yes, No } # Act Printer = Yes # designates this as an ACT job # optional # Origin Line = Whittier Mailing Service # text or "<Standard>" # required # Point of Entry = 906 # ##### if Origin line is <Standard>, otherwise ### # required # Mailer Code = # text # optional, ignored if Origin Line is not <Standard> # Category = A0101 # @####, must be a valid category consisting of a single letter # class code, a two digit process category code, and a two digit # sortation code # required ================================================= # <subtype>, <ZIP>, <quantity> # <subtype> consists of a single digit number describing the length # of <ZIP> followed by a two digit tray type code, optionally # followed by one more digit to indicate the specific choice of # address where there are choices, such as APO or APO/FPO. # the number of digits of <ZIP> that will be looked at is # based on <subtype>, extra digits on the end MUST be zeros # and will be ignored. For example, 90600 and 4350000 are # valid 3 Digit ZIP codes. # this list currently limited to 1000 entries 004, 0, 1 333, 342, 1 550, 90632, 1 333, 982, 2 333, 966, 1 =================================================
Copyright © 1998 Whittier Mailing Products. Whittier Ca. All rights reserved.
27
Page 28
Barcode Tagger © 600
Users Manual
TJF Sample two:
WMP Tagger Job File Format July97
STDA/LTRS/ECR Format = Tray Tag Printer = Yes Act Printer = No Origin Line = <Standard> Point of Entry = 90605 Mailer Code = Category = C0101 962, 90502B023, |
561, 90605, 1
561, 23421, 1
561, 23423, 3
TJF Sample three:
WMP Tagger Job File Format July97
ACT
Format = Tray Tag Printer = Yes Act Printer = Yes Origin Line = <Standard> Point of Entry = 90605 Mailer Code = Category = C0102 334, 234, 1
550, 00000, 1
334, 234, 1
Copyright © 1998 Whittier Mailing Products. Whittier Ca. All rights reserved.
28
Page 29
Barcode Tagger 600
Users Manual
Appendix ‘B’ Tagger Data Stream Programming Format TDS Overview TDS sets a standard for transferring data via RS-232 serial data link directly to the Barcode Tagger 600, similar to sending data to a printer. TDS simplifies and formats the data into a command set that ‘tells’ the Barcode Tagger 600 how the host sorted the data and grouped it into sack or trays. The Barcode Tagger 600 then looks up all the necessary data, formats the data according to USPS standards and prints the tag(s) in real time. The TDS standard defines a data stream feed to the Tagger/600. This standard breaks down into two specific standards: the hardware connection and the data structure necessary for communicating with the Barcode Tagger 600.
Hardware Standard The Barcode Tagger 600 communicates with a host PC through a 9 pin PC/AT serial port with a null modem cable. Null modem cables are commonly available as “LapLink” cables that have both 9 and 25 pin RS-232 connectors on each end of the cable. The communication settings for the host RS-232 port are ASCII, 9600 BPS, 8 bits, no parity, 1 stop bit, xon-xoff flow control.
Software Standard TDS consists of a command group of characters transmitted to the Tagger/600 and a response acknowledgment transmitted from the Tagger/600 to the host. Each command begins with an open bracket ‘[‘ and ends with a closed bracket ‘]’. Characters transmitted outside brackets are ignored. After a command is sent to the Tagger/600 a response is transmitted back to the host. The response is a verbose string describing the state of the command. ‘Command Valid’ transmitted from the Tagger/600 to the host indicates that the command was correctly formatted and will be executed immediately. Other responses (i.e., ‘Command Invalid’, ‘Printer failure’, etc.) indicate that no tag will be printed. Subsequent to any response the Tagger/600 is ready for the next command.
Command Structure: Unlike some portions of the TJF Standard, the order of parameters within a TDS command is critical. Each parameter of the command is separated by commas.
Format of the TDS command string: Use Print Tag format if you want the Barcode Tagger 600 to figure out the information to print on the tag. [Print Tag,July97,<Origin_Text>,<Origin_ZIP>,<Catagory_string>,<Subtype_string>,<Tag_ZIP>,<Tag_qty>,<Optional_data_text>]
Copyright © 1998 Whittier Mailing Products. Whittier Ca. All rights reserved.
29
Page 30
Barcode Tagger 600
Users Manual
TDS command strings Origin_Text Exact text of origin line (upper case) Origin_ZIP
### - three digit point of origin
Catagory_string
@#### - single letter category code, two digit process code, two digit sortation code (see Appendix C)
Subtype_string
### - three digit subtype code (see Appendix C)
Tag_ZIP
The number of digits of ZIP that will be looked at is based on the first digit of subtype. When ZIP length is 0, no lookup is required. ZIP length of 3 looks up a three digit ZIP. 5 is a fivedigit ZIP, and 9 is a five-digit ZIP code plus a route type (C for carrier route, R for rural route, etc), and a three-digit route number. Route numbers may be padded with leading zeros.
Tag_qty
Number of tags to be printed
Optional_data_text
Actual text to be printed in Optional data area on tray tag, eight characters (will be padded with trailing spaces if needed).
If you want to send specific information to the Barcode Tagger 600 of what is to be printed on the tag or to specify certain settings use the following commands: [Format Tag,<format>] format in one of: Tray Tray Fill In Sack Sack Fill In None [Clear Buffer]
[Format Act,<format>] format is one of: None Standard
[Set,<field>,<value>] field is one of: ActAirport (3 letter airport code) ActBarcode (8 character) ActClass (1 character) Barcode (8 or 10 digit) CityState Contents Extra Extra39 Origin Zebra (logical, 1 or 0) Zipcode (3 or 5 digits) Ziptag Right adjusted portion of the content line
[Print Buffer [,<quantity>]]
Copyright © 1998 Whittier Mailing Products. Whittier Ca. All rights reserved.
30
Page 31
Barcode Tagger 600
Users Manual
Appendix ‘C’ Class, Type, Sortation, Subtype codes CLASS A First Class B Periodicals C Standard D Package Services F News TYPE 01 Letters 03 Flats 04 Machinable 05 Irregular 07 Commingled Irregular 08 Parcels 13 Drop Shipment SORTATION 01 Nonautomated 02 Automated 03 Regular 14 DBMC Rate 15 Bound Printed Matter 16 Media Mail 17 Machinable 18 Presorted 20 Priority Drop Shipment 21 Manual 22 Express Drop Shipment 23 Merged 24 Barcoded
SUBTYPE 000 Fill-In 002 Mixed AADC 004 Mixed ADC 010 Mixed BMC 012 Mixed AADC at BMC 014 Mixed ADC at BMC 320 3-Digit 321 3-Digit / 3-Digit Scheme 330 SCF 333 ADC 334 AADC 338 Destination ASF 339 Destination BMC 366 3-Digit Carrier Routes 550 5-Digit 555 5-Digit Mach and Irreg 556 5-Digit Scheme 561 5-Digit Carrier Routes 567 5-Digit Scheme Carrier Routes 568 Merged 5-Digit 569 Merged 5-Digit Scheme 960 Carrier Route 962 Basic Carrier Route 963 High Density Walk Sequence 964 Saturation Walk Sequence
NOTE: This equipment has been tested and found to comply with the limits for a Class A digital device, pursuant to Part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference when the equipment is operated in a commercial environment. This equipment generates, uses, and can radiate radio frequency energy and, if not installed and used in accordance with the instruction manual, may cause harmful interference to radio communications. Operation of this equipment in a residential area is likely to cause harmful interference in which case the user will be required to correct the interference at his own expense.
Copyright © 1998 Whittier Mailing Products. Whittier Ca. All rights reserved.
31