The text of a manual · part 9 of 19
Monarch 9412, 9413, 9414 Printers, pages 81 to 90
Pages 81 to 90 of 184
The original document is the PDF (1.3 MB). 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 Monarch 9414 and Paxar 9414
Page 81
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. Syntax
R,52,row/column,dimension p
R1. R
Option Header.
R2. 52
Indicates Option 52.
R3. row/column
Indicates if you are defining the number of rows or columns. R C
Row Column
If you specify rows, the bar code expands in columns, or vice versa. R4. dimension
The number of rows or columns defined for the bar code. The default is 4. Valid values: 3-90 for rows 1-30 for columns
Example
R,52,C,10 p
Defines the column width of 10, which expands the PDF417 bar code length by 10.
Defining Field Options 5-11
Page 82
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. R
Option Header.
R2. 60
Option 60.
R3. I/D
I D incrementing field decrementing field
R4. amount
Amount to increase or decrease. Range: 0- 999.
R5. l pos
Leftmost position in inc/dec portion of field. If this value is not entered, the default value 1 is used. Range: 0 - 2710.
R6. r pos
Rightmost position in inc/dec portion of field. If this value is not used, the entire field length is used as the default. Range: 0 - 2710.
Example
R,60,I,5,1,6 p
Increments a field by 5 each time the field is printed. The field increments beginning with the first left position and ending with the sixth position.
Fixing the First Number in the Incrementing Sequence There are two ways to enter the first number in the incrementing sequence. You can use batch data or use Option 1 to define the first number as a fixed character.The first number in the sequence must contain the same amount of digits as the highest number to be counted. For example, to count the numbers 1 to 999, the first number in the sequence must be entered as 001.
5-12 Defining Field Options
Page 83
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. In some cases, neighboring fields that do not change (constant fields) may be covered with white space from the changing field’s (variable fields) area. Use this option to reimage the constant field, or it may appear broken. The most common use for this option is with incrementing fields on your label, because they may cover a constant field. Syntax
R,61 p
R1. R
Option Header.
R2. 61
Option 61.
Example
R,61 p
Reimages the constant field that appears next to a variable field.
Re-Image ON
Re-Image OFF
In the above example, Option 61 was applied to the bar code field to keep the incrementing field (Box #) from blocking out the bar code field.
Defining Field Options 5-13
Page 84
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. Do not use check digits with price fields. Do not define a check digit scheme for these bar codes, because they have predefined check digits: UPC, EAN, Code 39 (with the MOD43 check digit), and Code 93. Syntax A1. A
{A,selector,action,device,modulus, fld_length,D/P,"weights" p } Check Digit Header. Assign a number from 1-10 to this check digit formula.
A3. action
Adds a check digit scheme. Enter A.
A4. device
Storage device. Options: F Flash (9414 only) N Non-volatile RAM (9412/9413 default) R RAM (9414 default) NOTE: To clear a check digit packet from memory, see "Clearing Packets from Memory" in Chapter 3.
A5. modulus
Number from 2-11. The modulus is used to divide the sum of products or the sum of digits.
A6. fld_length
The maximum number of characters the field will contain. Range: 0 - 2710.
A7. D/P
Algorithm. The algorithm determines how the check digit is calculated. Options: D P
5-14 Defining Field Options sum of digits sum of products
Page 85
A8. "weights"
String of digits used for calculation. A weight string is a group of two or more numbers that is applied to a field. The number of digits in this string should equal the number in fld_length. Enclose in quotation marks. Range: 0 - 2710.
{A,1,A,R,10,5,P,"65432" p }
Example
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. Weights are applied to each digit, starting with the last digit in the weight string. They are applied right to left, beginning at the right-most position of the field. Remember, a weight string must contain at least two different numbers. This example has a weight string of 1,2,3,4. field:
5
2
3
2
4
5
2
1
9 weight string:
4
1
2
3
4
1
2
3
4
2. Each digit in the field is multiplied by the weight assigned to it: field:
5
2
3
2
4
5
2
1
9 weight string:
4
1
2
3
4
1
2
3
4 products:
20
2
6
6 16
5
4
3 36
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 Defining Field Options 5-15
Page 86
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. 9 10 98 90 8 5. Subtract the remainder from the modulus. The result becomes the check digit. In this case, the check digit is 2. 10 - 8 = 2
Sum of Digits Calculation This is an example of how the printer uses Sum of Digits to calculate a check digit for this data: 5
2
3
2
4
5
2
1
9
1. Weights are applied to each digit, starting with the last digit in the weight string. They are applied right to left, beginning at the right-most position of the field. Remember, a weight string must contain at least two different numbers. This example has a weight string of 1,2,3,4. field:
5
2
3
2
4
5
2
1
9 weight string:
4
1
2
3
4
1
2
3
4
2. Each digit in the field is multiplied by the weight assigned to it: field:
5
2
3
2
4
5
2
1
9 weight string:
4
1
2
3
4
1
2
3
4 products:
20
2
6
6 16
5
4
3 36
5-16 Defining Field Options
Page 87
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. 4 10 44 40 4 5. Subtract the remainder from the modulus. The result becomes the check digit. In this case, the check digit is 6. 10 - 4 = 6
Defining Field Options 5-17
Page 88
5-18 Defining Field Options
Page 89
PRINTING
6
This chapter describes how to u download files to the printer.
u define the batch header, batch control, and batch data files.
u modify formats u create DOS batch files.
Printing 6-1
Page 90
Turn on the printer and make sure it is ready to receive data before you download. See your host’s documentation or System Administrator for information on ways to download. When downloading, send your packets in this order: 1. Memory configuration packet (M) 2. Configuration packets (A-F) 3. Any of the following: F
Check digit packets (see Chapter 5)
F
Format packets (see Chapter 4)
4. Batch data (see "Defining the Batch Header") To download from a PC: 1. Check that the PC and the printer are connected. 2. Check that communications have been established between the PC and the printer. 3. Send the communication settings packet to select the printer’s communication settings. See "Defining the Communication Settings Packet" in Chapter 3 for more information (only used for serial communication). If you change the printer’s communication settings, make sure they match those at the host before sending any packets to the printer. 4. Type this command at the DOS prompt: COPY LABEL1.FMT COM1 Transmits a file called "LABEL1.FMT" to COM1. COPY LABEL1.BCH COM1 Transmits a batch called "LABEL1.BCH" to COM1.
If you use the COPY command to download your formats, set flow control to DTR (not XON/XOFF). Also, do not use the MS-DOS prompt from inside Windows, because you will get a framing error.
6-2 Printing