Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 10 of 22

Monarch Printers 9403, 9820, 9830, 9835, pages 91 to 100

Pages 91 to 100 of 219

The original document is the PDF (1.1 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.

Filed in the catalog under the Monarch 9446

Page 91

{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

5-20 Defining Field Options

Page 92

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 Defining Field Options 5-21

Page 93

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

5-22 Defining Field Options

Page 94

6

C R E AT I N G G R A P H I C S This chapter provides information on how to u map out the graphic image using the hexadecimal (hex) or run length method.

u create a graphic packet using a graphic header, bitmap, duplicate, next-bitmap, text, constant text, line, and box Fields.

u place a graphic image into a format.

You can use graphic packets to create compliance labels or bitmapped images. To include a graphic packet within your format, your format must contain a graphic field. See "Placing the Graphic in a Format," for more information.

Creating Graphics 6-1

Page 95

Overview of Compliance Labels You can create compliance labels by using a graphic packet for the fixed fields and a format packet for the variable fields of your compliance label. The fixed fields of a compliance label are composed of text, lines, or boxes, which are repeated on each label. The variable fields are composed of text, bar codes, and order information, which changes with each label. Using a graphic packet for the fixed fields saves time, because the printer does not have to image all the lines or boxes each time the compliance label is printed. Also, using a graphic packet for a compliance label reduces the number of fields in your format. Formats have a maximum number of fields per packet (0-999 or 0-99 for 9403). However, you can bypass that requirement by placing your compliance layout in a graphic packet. When you process your formats, you only need one line in the format packet to reference the graphic packet. The following example shows how to reference a graphic packet from within a format packet. { F,1,A,R,E,400,400,"RDCI" p G,57,0,0,0,0 p C,40,10,0,2,2,2,B,L,0,0,"To:",0p B,2,13,V,310,30,8,4,50,8,L,0 p } start of header format header reference to graphic packet constant text field bar code field end of header

Once you have your compliance label format set, all you need to do is add the variable sections (bar codes, addresses, and order information) to the format packet. To see a sample compliance label graphic packet, see "Sample Compliance Graphic Packet." To see a sample compliance label using a graphic packet within a format, see "Sample Compliance Label."

6-2 Creating Graphics

Page 96

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.

Determining a Method You can use one of two methods to map out your graphic image: Hex Method

The dot sequences are segmented into binary numbers, and then converted to hex numbers. A graphic using gray-scaling, several slanted lines, or several vertical lines typically translates more efficiently with hex representation.

Run Length Encoding Method

The dot sequences are segmented into black and white strings within a row. The total count of each white string is converted to a lower-case letter, corresponding to numeric value. The total count of each black string is converted to an uppercase letter, corresponding to numeric value. This method can reduce imaging time for graphics that contain repetitive rows of dots. A graphic with horizontal lines or very few white-to-black borders typically translates more efficiently with run length encoding. Creating Graphics 6-3

Page 97

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 Compliance Labels To use a graphic packet to design your compliance label: 1. Decide which fields are fixed (constant text, lines, boxes) and which fields are variable (addresses and shipping information). 2. Design your compliance label as you would any other format.

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 30% of any given square inch of the supply. If the black print exceeds this limit, you may lose data or damage the printhead.

6-4 Creating Graphics

Page 98

In the first label, the large "M" logo and thick black line exceed the allowed black to white print ratio. In the second label, the large "M" logo does not exceed the black to white print ratio. 2 inches Exceeds Limit

Exceeds Limit

2 inches 0.5"

0.5"

Does not exceed limit

Does not exceed limit

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. The number "1" turns a dot on and "0" turns a dot off.

Creating Graphics 6-5

Page 99

1. Assign 1 to every black square and 0 to every white square. 00000000000000000000000000000000000000000000000000111111111111111111111111110000000000000000000000000000 00000000000000000000000000000000000000011111111111000000000000000000000000001111111110000000000000000000 00000000000000000000000000000000001111100000000000000000000000000000000000000000000001111110000000000000 00000000000000000000000000000011110000000000000000111111111111111111111111110000000000000001111000000000 00000000000000000000000001111100001111111111111111111111111111111111111111111111111111111110000111110000 00000000000000000000000110000011111111111111111111111111111111111111111111111111111111111111111000001100 00000000000000000000000110001111111111111111111111111111111111111111111111111111111111111111111111111110 00000000000000000000000111111111111111111111111111111111111111111111111111111111111111111111111111111110 00000000000000000000000111111111111111111111111111111000000000000000000011111111111111111111111111111110 00000000000000000000000111111111111111111111000000000000000000000000000000000000011111111111111111111100 00000000000000000000000001111111100000000000000000000111111111111111111100000000000000000011111111110000 00000000000000000000000000011111110000000000000000000111111111111111111100000000000000000001111111000000 00000000000000000000000000011100000000111111111111111111111111111111111111111111111111100000000111000000 00000000000000000000000000000000001111111111111111111111111111111111111111111111111111111110000111000000 00000000000000000000000000000011111111111111000000000000000000000000000000000000011111111111111000000000 00000000000000000000000000011111110000000000000000000111111111111111111100000000000000000001111111000000 00000000000000000000000000011100000000111111111111111111111111111111111111111111111111100000000111000000 00000000000000000000000000000000001111111111111111111111111111111111111111111111111111111110000111000000 00000000000000000000000000000011111111111111000000000000000000000000000000000000011111111111111000000000 00000000000000000000000000011111110000000000000000000111111111111111111100000000000000000001111111000000 00000000000000000000000000011100000000111111111111111111111111111111111111111111111111100000000111000000 00000000000000000000000000000000001111111111111111111111111111111111111111111111111111111110000111000000 00000000000000000000000000000011111111111111000000000000000000000000000000000000011111111111111000000000 00000000000000000000000000011111110000000000000000000111111111111111111100000000000000000001111111000000 00000000000000000000000000011100000000111111111111111111111111111111111111111111111111100000000111000000 00000000000000000000000000000000001111111111111111111111111111111111111111111111111111111110000111000000 00000000000000000000000000000011111111111111000000000000000000000000000000000000011111111111111000000000 00000000000000000000000000011111110000000000000000000111111111111111111100000000000000000001111111000000 00000000000000000000000000011100000000111111111111111111111111111111111111111111111111100000000111000000 00000000000000000000000000000000001111111111111111111111111111111111111111111111111111111110000111000000 00000000000000000000000000000011111111111111000000000000000000000000000000000000011111111111111000000000 00000010000000000000000000011111110000000000000000000111111111111111111100000000000000000001111111000000 00000011000000000000000000011100000000111111111111111111111111111111111111111111111111100000000111000000 00000001111000000000000000000000001111111111111111111111111111111111111111111111111111111110000111000000 00000000111000000000000000000011111111111111000000000000000000000000000000000000011111111111111000000000 00000000111111000000000000011100000000111111111111111111111111111111111111111111111111100000001111000000 00000000111111100000000000000000001111111111111111111111111111111111111111111111111111111110001111000000

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. 00000000 00000000 00000000 00000000 00000000 00000000 00111111 11111111 11111111 11110000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000001 11111111 11000000 00000000 00000000 00001111 11111000 00000000 00000000 00000000 00000000 00000000 00000000 00111110 00000000 00000000 00000000 00000000 00000000 00000111 11100000 00000000 00000000 00000000 00000000 00000011 11000000 00000000 00111111 11111111 11111111 11110000 00000000 00011110 00000000 00000000 00000000 00000000 01111100 00111111 11111111 11111111 11111111 11111111 11111111 11111111 11100001 11110000 00000000 00000000 00000001 10000011 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111110 00001100 00000000 00000000 00000001 10001111 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111110 00000000 00000000 00000001 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111110 00000000 00000000 00000001 11111111 11111111 11111111 11111000 00000000 00000000 11111111 11111111 11111111 11111110 00000000 00000000 00000001 11111111 11111111 11110000 00000000 00000000 00000000 00000000 01111111 11111111 11111100 00000000 00000000 00000000 01111111 10000000 00000000 00000111 11111111 11111111 00000000 00000000 00111111 11110000 00000000 00000000 00000000 00011111 11000000 00000000 00000111 11111111 11111111 00000000 00000000 00011111 11000000 00000000 00000000 00000000 00011100 00000011 11111111 11111111 11111111 11111111 11111111 11111110 00000001 11000000 00000000 00000000 00000000 00000000 00111111 11111111 11111111 11111111 11111111 11111111 11111111 11100001 11000000 00000000 00000000 00000000 00000011 11111111 11110000 00000000 00000000 00000000 00000000 01111111 11111110 00000000 00000000 00000000 00000000 00011111 11000000 00000000 00000111 11111111 11111111 00000000 00000000 00011111 11000000 00000000 00000000 00000000 00011100 00000011 11111111 11111111 11111111 11111111 11111111 11111110 00000001 11000000 00000000 00000000 00000000 00000000 00111111 11111111 11111111 11111111 11111111 11111111 11111111 11100001 11000000 00000000 00000000 00000000 00000011 11111111 11110000 00000000 00000000 00000000 00000000 01111111 11111110 00000000 00000000 00000000 00000000 00011111 11000000 00000000 00000111 11111111 11111111 00000000 00000000 00011111 11000000 00000000 00000000 00000000 00011100 00000011 11111111 11111111 11111111 11111111 11111111 11111110 00000001 11000000 00000000 00000000 00000000 00000000 00111111 11111111 11111111 11111111 11111111 11111111 11111111 11100001 11000000 00000000 00000000 00000000 00000011 11111111 11110000 00000000 00000000 00000000 00000000 01111111 11111110 00000000 00000000 00000000 00000000 00011111 11000000 00000000 00000111 11111111 11111111 00000000 00000000 00011111 11000000 00000000 00000000 00000000 00011100 00000011 11111111 11111111 11111111 11111111 11111111 11111110 00000001 11000000 00000000 00000000 00000000 00000000 00111111 11111111 11111111 11111111 11111111 11111111 11111111 11100001 11000000 00000000 00000000 00000000 00000011 11111111 11110000 00000000 00000000 00000000 00000000 01111111 11111110 00000000 00000000 00000000 00000000 00011111 11000000 00000000 00000111 11111111 11111111 00000000 00000000 00011111 11000000 00000000 00000000 00000000 00011100 00000011 11111111 11111111 11111111 11111111 11111111 11111110 00000001 11000000 00000000 00000000 00000000 00000000 00111111 11111111 11111111 11111111 11111111 11111111 11111111 11100001 11000000 00000000 00000000 00000000 00000011 11111111 11110000 00000000 00000000 00000000 00000000 01111111 11111110 00000000 00000010 00000000 00000000 00011111 11000000 00000000 00000111 11111111 11111111 00000000 00000000 00011111 11000000 00000011 00000000 00000000 00011100 00000011 11111111 11111111 11111111 11111111 11111111 11111110 00000001 11000000 00000001 11100000 00000000 00000000 00111111 11111111 11111111 11111111 11111111 11111111 11111111 11100001 11000000 00000000 11100000 00000000 00000011 11111111 11110000 00000000 00000000 00000000 00000000 01111111 11111110 00000000 00000000 11111100 00000000 00011100 00000011 11111111 11111111 11111111 11111111 11111111 11111110 00000011 11000000 00000000 11111110 00000000 00000000 00111111 11111111 11111111 11111111 11111111 11111111 11111111 11100011 11000000

6-6 Creating Graphics

Page 100

3. One row at a time, convert each group of eight binary digits to hex values, using the binary to hex conversion chart found in Appendix C. starting at position 49 ... 00111111 = 3F 11111111 = FF 11111111 = FF 11110000 = F0 4. Write the hex values for each row as a continuous string. row 1, position 49 = 03FFFFFF00000 All hex numbers must be two digits. For example, write hex 0 as 00, or hex E as 0E. 5. Repeat steps 3 through 4 for each row on the grid. 6. Insert the hex values in syntax format.

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.

Creating Graphics 6-7