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 21 of 33

IPL Programming Reference Manual: Chapter 7: IPL Command Reference, pages 177 to 186

Pages 177 to 186 of 298, from IPL Programming Reference Manual

The original document is the PDF (1.4 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 Intermec 3600 and Intermec 4400

Page 177

Program Mode Commands C d 39

HelvC NugFont

7

Bar Code, Select Type (continued) Code 49 c10

Selects Code 49. Use a <SUB> 1 to represent the function 1 character in Emulation mode. In Advanced mode, you can represent the function 1 character by entering <SUB><SUB> 1. You can represent the characters for functions 2, 3, and 4 in the same way. To produce a square symbol, specify a height magnification of 1 in Advanced mode. To specify a square symbol, use a height magnification of 250 in Emulation mode. The printer supports only the alphanumeric (0) and numeric (2) modes.

POSTNET c11

Selects POSTNET. POSTNET uses the height (“h”) and width (“w”) commands in the same way as a font. Other symbologies use “h” to specify the bar height and “w” to specify the narrow bar width. POSTNET uses “h” and “w” to magnify the base character cell. Each character cell is 13 dots high by 22 dots wide. The default width and height magnification for POSTNET is 2 x 2, resulting in a symbology sized according to the POSTNET specification.

PDF417 c12[[,m1][,m2][,m3]]; Selects PDF417. PDF417 is a stacked 2D symbology that provides the ability to scan across rows of code. Each row consists of start/stop characters, row identifiers, and symbol characters, which consist of four bars and four spaces each and contain the actual data. This symbology uses error correction symbol characters appended at the end to recover loss of data. This table lists the defaults: Parameter

Default

Description

,m1

0

,m2

9

,m3

0

The printer selects the number of columns needed to create a symbol that is as close to square as possible. The printer automatically selects the error correction level based on the amount of data. Truncating disabled.

7-71

Page 178

IPL Programming Reference Manual

Bar Code, Select Type (continued) Using ,m1 to Select the Number of Columns ,m1 is the number of columns of data characters. The range for ,m1 is 0 to 30 and the default is 0. If you select zero, the printer provides the number of columns needed to create a symbol that is as close to a square as possible. Note: When you select zero, the printer selects a height magnification that is three times the width magnification. The specifications of PDF417 recommend these magnification values for creating a symbol that you can scan easily.

Using ,m2 to Select an Error Correction Level ,m2 determines the level of error correction. Each level provides a certain number of detection characters, which can detect and recover a specific number of faulty characters. The range for ,m2 is 0 to 9. The default is 9 and allows the printer to automatically select the appropriate level. The level of error correction that works best for your data depends on the amount of characters in your symbols. If you decide to select your own error correction level, you will need to estimate the number of characters since they are formed by compressing the raw data you send to the printer. In general, 1.8 alphanumeric characters generate one symbol character. If you are using numeric data, 2.9 digits generate one data symbol character. Intermec recommends that you leave the error correction level at the default setting of 9. This setting lets the printer select a level, between level 2 and level 5, that provides the most efficient error correction of your data. The printer bases the level selection on the number of symbol characters your data generates.

7-72

Page 179

HelvC NugFont

Program Mode Commands C d 39

7

Bar Code, Select Type (continued) This table shows the m2 values (error correction levels), the recommended data amount that you should use for each value, and the number of error correction characters that it generates.

,m2

Recommended Amount of Data

Error Detection Characters

0 1 2 3 4 5 6 7 8 9

* * 1 - 40 41 - 160 161 - 320 321 - 863 † † † ‡

2 (error detected, no recovery) 4 8 16 32 64 128 256 512

*

You should only use ,m2 values of 0 and 1 if your labels do not have enough space for more error correction characters. These values are generally not recommended.

†

The printer reserves ,m2 values of 6, 7, and 8 for special applications where the symbol is subject to damage and requires a higher level of error correction.

‡

An ,m2 value of 9 lets the printer set ,m2 to the recommended value for each symbol based on the number of characters. An ,m2 value of 9 is the default setting.

Using ,m3 to Set the Truncate Flag ,m3 is a truncate flag that indicates whether to print the symbol in truncated form. If truncated, the symbols print without right row indicators and with only a one-module wide stop character. The values for ,m3 are 0 to disable truncating and 1 to enable truncating. The default is 0. To minimize errors and maintain the best reading performance, Intermec recommends that you leave ,m3 equal to 0. This table shows the approximate data capacity (maximum number of characters allowed) for the three character sets. Character Set

Data Capacity

Full ASCII

1108

Alphanumeric

1850

Numeric

2725

7-73

Page 180

IPL Programming Reference Manual

Bar Code, Select Type (continued) Note: 2D symbols encode data by compressing it in different amounts. Therefore, use these values as guidelines. The exact data capacity varies with the actual data being encoded.

Code One c13[,[,m1][,m2,m3]] Selects Code One. There are 15 versions of Code One. Each version has a different maximum data length. Code One is a 2D matrix symbology that stores a checkerboard pattern of data directly in a matrix. This feature makes Code One especially useful for applications such as small parts labels, which do not provide sufficient space for linear bar codes. Code One automatically generates error correction symbol characters that it adds to the matrix. In addition to data storage and error correction symbols, each Code One symbol contains a set of horizontal lines in the center, called a finder pattern, that helps the readers quickly locate and identify each symbol. Code One symbols also contain vertical reference bars to help the readers locate the relative positions of each data bit. Code One symbols accommodate varying amounts of data using a different method than other codes. Other codes adjust their size to fit the data exactly. Code One symbols are divided into versions of specific sizes. Each version can accommodate an amount of data from one bit to the maximum amount that will fit into that version. If more data is present than the version can accommodate, the printer will not print the label. Code One symbols cannot be read with a laser scanner. They are read by a digital imager that captures the entire symbol at once instead of scanning each component individually. The imager decodes the components of each Code One symbol after it captures the image, permitting faster data collection. This table lists the defaults:

7-74

Parameter

Default

Description

,m1 ,m2 ,m3

0 1 1

Code One version, variable First position in the group Total number of symbols in the group is one symbol

Page 181

HelvC NugFont

Program Mode Commands C d 39

7

Bar Code, Select Type (continued) Using ,m1 to Select a Code One Version ,m1 is the version of Code One you are printing. Code One selections with all the ,m1 variables are shown below. The default for ,m1 is 0. c13,0[,m2,m3]

Code One, variable length (Autoselects from Code One version A to Code One version H)

c13,1[,m2,m3]

Code One version A c13,2[,m2,m3]

Code One version B c13,3[,m2,m3]

Code One version C c13,4[,m2,m3]

Code One version D c13,5[,m2,m3]

Code One version E c13,6[,m2,m3]

Code One version F c13,7[,m2,m3]

Code One version G c13,8[,m2,m3]

Code One version H c13,9[,m2,m3]

Code One version S10 c13,10[,m2,m3]

Code One version S20 c13,11[,m2,m3]

Code One version S30 c13,12[,m2,m3]

Code One version T16 c13,13[,m2,m3]

Code One version T32 c13,14[,m2,m3]

Code One version T48

It is important that you select the correct version of Code One for the data you are encoding. If you try to encode data in the wrong version, your symbol may not print. If your data lengths vary greatly for different labels, or if you are not sure which symbology to select, you can select variable Code One version (,m1 = 0). This version lets the printer choose the correct version of Code One (from version A to Version H) based on the data length. If you know your data lengths are consistent, or if the printer always chooses the same version, you should manually select the Code One version to save printer memory.

7-75

Page 182

IPL Programming Reference Manual

Bar Code, Select Type (continued) You may notice that part of your Code One symbols do not contain data. This situation occurs because each version of Code One has a fixed size, and the version that is large enough to accommodate all of your data may be larger than you need. This situation does not mean that you should use a version of a smaller size, because if it is too small to accommodate your data, the symbol will not print. This table shows the data lengths that each Code One version accommodates. Note: The data lengths in this table approximate the maximum amount of data for each version of Code One. The printer compresses the data before it encodes it, which shortens the length of the amount you send. This condition should not affect printing, but if you select the variable length, the printer may select a Code One version that is smaller than the one listed next to your data length. ,m1 Value

Code One Type

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 variable* A B C D E F G H S10 S20 S30 T16 T32 T48

*, 7-76

Full ASCII

Alphanumeric

Numeric

10 19 44 91 182 370 732 1480

13 27 64 135 271 553 1096 2218

10 24 38

13 34 55

22 44 104 217 435 886 1755 3550 6 12 18 22 55 90, - - - - - The printer selects the correct Code One type based on the data length. Encodes only numeric data.

Page 183

HelvC NugFont

Program Mode Commands C d 39

7

Bar Code, Select Type (continued) Note: For full ASCII and alphanumeric columns, the maximum number of characters is actually less than those listed for each version of Code One. That number varies depending upon the number of character type changes (lowercase to uppercase, numeric to alphanumeric, and so on). The more shifts between these different types, the less data you can encode.

Using ,m2 and ,m3 to Group Symbols ,m2 and ,m3 define symbols that are part of a group. ,m2 is the position of the current symbol in the group, and ,m3 is the total number of symbols in the group. For example, setting ,m2,m3 to ,2,5 indicates that the current symbol definition is the second in a group of five. Both ,m2 and ,m3 range from 1 to 15, with a default of 1. Note: If you are using groups of symbols with the ,m2 and ,m3 variables, make sure ,m2 (the position in the group) is never greater than ,m3 (the total number of symbols in the group). The printer does not check to ensure that you define all positions of a group. For example, if you set ,m3 to 5, and you define only three positions, the printer prints the three. When you scan these symbols, the scanner waits for all five symbols and will not be able to transmit the data.

Defining Height and Width for Code One Code One modules must be square; therefore, when you define a field for Code One, you only need to enter one value for both the height and width magnification. If you enter more than one value, the printer uses the last value for both height and width and ignores all previously entered magnification values. If you do not enter a value, the printer uses a default value of 3 for both height and width magnification. Using Groups of Code One Symbols Use groups of Code One symbols to encode data so that you can scan separate symbols more efficiently. When you scan a group of symbols, the scanner accumulates the data from all members of the group and transmits the data as if it came from a single symbol.

7-77

Page 184

IPL Programming Reference Manual

Bar Code, Select Type (continued) Maxicode c14[,m1]

Selects Maxicode. Maxicode is a fixed-size 2D symbology where the printer ignores height and width magnification. This symbology is made up of offset rows of hexagonal elements, each of which is 35 mils wide by 40 mils high, arranged around a bull’s-eye finder pattern. Each hexagon represents one bit of information and is either black or white depending on the state of the encoded data bit. United Parcel Service (UPS) developed Maxicode for the specific purpose of encoding information about a parcel. This table lists the possible values for ,m1. The default value autodiscriminates between Modes 2, 3, and 4. Note: If you have developed previous applications using Mode 0, your printer will still support your application; however, we recommend using Mode 2 or 3 for new applications. Mode (,m1)

Description

2 3 4 5 6

Structured Carrier Message for numeric postal codes up to 9 digits Structured Carrier Message for alphanumeric postal codes up to 6 characters Standard Symbol Full Enhanced Error Correction (EEC) Reader Programming

When you select Maxicode, you must format your data to conform to these five fields. Note: The header only applies to Structured Carrier Message (Modes 2 and 3). The Structured Carrier Message header is optional. Field

Description of Field

Number of Characters

Default

1

Header (optional)

Nine

None

2

Postal code

Six or nine

None

3

Country code

Three

840 (U.S.)

4

Service class

Three

999

5

Secondary Message

84

None

1

2

3

4

5 p IPL.018

7-78

Page 185

HelvC NugFont

Program Mode Commands C d 39

7

Bar Code, Select Type (continued) Notes:

The NULL character is not supported. If the NULL character appears in the user data, you will lose it along with any following data. All control characters (<RS>, <GS>, <EOT>, etc.) must be preceded by a <SUB> character, as illustrated in the following examples. This example illustrates the command for Maxicode Mode 2: <STX><ESC>C<ETX> <STX><ESC>P<ETX> <STX>E1;F1<ETX> <STX>H0;o10,10<ETX> <STX>B1;o100,300;f1;c14,2;h6;w6;d0,100<ETX> <STX>R<ETX> <STX><ESC>E1<CAN><ETX> <STX>Maxicode Sample Mode 2<CR><ETX> <STX>[)><SUB><RS>01<SUB><GS>01982039280<SUB><GS>840<SUB> <GS>001<SUB><GS>1Z94924221455215<SUB><RS>Intermec 6001 36th Ave West Everett, WA 98203<SUB><EOT><ETX> <STX><ETB><ETX> This example illustrates the command for Maxicode Mode 3: <STX><ESC>P<ETX> <STX>E1;F1<ETX> <STX>H0;o10,10<ETX> <STX>B1;o100,300;f1;c14,3;h6;w6;d0,100<ETX> <STX>R<ETX> <STX><ESC>E1<CAN><ETX> <STX>Maxicode Sample Mode 3<CR><ETX> <STX>[)><SUB><RS>01<SUB><GS>96T51654<SUB><GS>484<SUB> <GS>066<SUB><GS>1Z00000256<SUB><RS><SUB><EOT><ETX> <STX><ETB><ETX>

7-79

Page 186

IPL Programming Reference Manual

Bar Code, Select Type (continued) JIS-ITF c15[,m]

Selects JIS-ITF bar code. Default for ,m is 0. You can set c15[,m] to these values: c15,0 c15,1 c15,2

Selects 5 dot narrow bar width magnification. Selects 8 dot narrow bar width magnification. Selects 10 dot narrow bar width magnification.

The next command defines a data source for the current field and how many characters are in the field. d[n][,m]

Selects the category for the JIS-ITF bar code. The default for n,m is 0,14. You can set d[n][,m] to these values: d0[,m] d2[,m] d3[,m]

This field receives data from a host. The ,m is the data length, which can be set to 6 (condensed), 14 (standard), and 16 (extended). This field acts as a slave field and receives its data from another field (master slave). The ,m is the master slave field ID. The printer defines the data during Program mode (fixed). The ,m determines the JIS-ITF type. If the data length is not exactly 6, 14, or 16, the printer uses the next highest JIS-ITF type with zero padding in front.

The JIS-ITF bar code is the Japanese Industry Standard for Interleaved 2 of 5. JIS-ITF bar codes are in a box of solid black that measures 0.19 inch (4.75 mm) and always include an interpretive field [21 x 14O CR-B (JIS x 9001)] centered beneath the bar code field. Valid narrow bar width magnifications are 5, 8, and 10 dots. Due to printhead dot size limitations, the printer cannot achieve a true 2.5 to 1 ratio when using a narrow bar width of 5 dots. The printer uses a wide bar width of 12 dots for a true 2.4 to 1 ratio instead. JIS-ITF bar code fields consist of these three categories: standard, condensed, and enlarged. If you are not using the command to define the source of the field data, the printer automatically chooses a category. If your bar code field contains 14 characters, the printer uses standard JIS-ITF. If your field contains 6, the printer uses the condensed version, and if your field contains 16, the printer uses the enlarged version.

7-80