The text of a manual · part 13 of 32
4400 Bar Code Label Printer User's Manual, pages 121 to 130
Pages 121 to 130 of 318
The original document is the PDF (2.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 Intermec 4400
Page 121
HelvC NugFont
Co d e 39 Designing Labels and Using Commands
6
•
Two bitmap fonts that can be recognized by optical character recognition (OCR) programs.
•
One smooth scaleable outline font from Bitstream Typeface Packages for the PC.
c20 8 POINT FONT c21 12 POINT FONT c22 20 POINT FONT c24 OCR FONT B c25- SMOOTH SCALABLE FONT
6-11
Page 122
4400 Bar Code Label Printer User’s Manual
Printer Internal Fonts c30 through c41
4400U.099
User-Defined Fonts In addition to the permanent fonts in your printer, you can also download user-defined (fixed) fonts. Bitmap fonts commonly:
6-12
• print in one fixed size.
• print quickly.
• are memory intensive when defined as large characters.
• consume less memory when defined as small characters.
• are widely available with Windows and PrintSet.
Page 123
HelvC NugFont
Co d e 39 Designing Labels and Using Commands
6
Downloading User-Defined Fonts You can download user-defined fonts (UDFs) to the 4400 printer and store them in non-volatile memory. Although the printer reserves 16 font ID numbers, 3 to 6, an d8 to 19) for UDFs, memory constraints may limit the number of fonts you can store. Intermec’s PrintSet software provides the easiest way to download fonts to the printer form a PC. If you do not have your 4400 printer connected to a PC, you can use PrintSet to create a *.PCF file for downloading at a later time. You can also use IPL commands to edit the *.PCF files. If you have not done so, install the PrintSet disk provided with this guide. PrintSet uses a standard Windows user interface and includes online help. Refer to the online help for specific instructions on using PrintSet.
Downloading Bitmap Fonts Use PrintSet to select and download bitmap fonts. Bitmap fonts can be memory intensive. You can use PrintSet to define a subset of that font (such as only the number). Then you can download that subset and save storage space on the printer. The 4400 printer accepts two formats for bitmap fonts: 1 bit per byte, or 6 bits per byte. PrintSet automatically converts all bitmap fonts to the 6 bits per byte format.
Lines and Boxes You can use the command set to define fields that appear as lines or as boxes when you print your label. Use the rotation commands to determine whether a line or box will appear vertically or horizontally and the height and width commands to set the length and thickness of the lines. The following figure shows a label where vertical and horizontal lines are used to separate data types and make the label easier to read.
6-13
Page 124
4400 Bar Code Label Printer User’s Manual
Lines and Boxes Separating Data on a Label
SHIPPING LABEL BASIS WT. 39-4838
GRADE DESCRIPTION
38448379237 ROLL WIDTH
536-0333
A - PLUS QTY
ROLLS/PKG.
338438
12
CUSTOMER ORDER NUMBER
372181192
ORDER ITEM NUMBER
234 - LOFT
LOCATION-PACKAGE NUMBER-GRADE
3839494
WEIGHT
230
LOAD NUMBER OR TRACKING NUMBER
ROLL NUMBER
3392-AZ
37282833 400
*INTERMEC* *INTERMEC* INTERMEC
ROLL POSITION
*372181192* *372181192* 372181192
3400-72
Graphics A graphic field is used to print a graphic. Before you can use this field you must download the graphic to the printer. Once the graphic is downloaded, you can call it up and print it just like any letter or bar code image. To get a graphic into a format that can be understood by the printer, you must send it as either a one bit per byte or six bits per byte bitmap image.
One Bit Per Byte One bit per byte is the standard graphics format used for downloading to an Intermec 8636 or 8646 printer. A one bit per byte bitmap image is an arrangement of ones and zeros that can look similar to the following example (but usually larger).
6-14
Page 125
HelvC NugFont
Co d e 39 Designing Labels and Using Commands
6
00000000100000000 00000001110000000 00000010111000000 00000100111100000 00001000111110000 00010000111111000 00100000111111100 01000000111111110 00100000100000100 00010000100001000 00001000100010000 00000100100100000 00000010101000000 00000001110000000 00000000100000000
If you look closely at the bitmap file above, you can see that it is the outline of a diamond with a line down the middle, and the upper right corner blacked in. You can create your own graphic by drawing it on graph paper and then converting each of the squares to either a one or a zero, and typing it into a text file column by column. When you send the file to the printer, a character in the file represents either a dot or a blank when the image is printed. (The zeros are blanks and the ones are dots.) To download a one bit per byte user-defined image to the printer, you must use the correct protocol characters and define the bitmap as a user-defined image. The 4400 printer must also be operating in 8636/46 emulation mode. The following example is the same bitmap shown above, but it now includes the commands needed to download it to the printer. The ones and zeros are now listed one vertical column at a time. The graphic is given the number G3, the name DIAM, the dimensions 15 rows by 15 columns, and each column is assigned a number between u0 and u14 (it looks as if the rows are assigned numbers, but they become the columns as explained below). <STX><ESC>c<ETX> <STX><ESC>P<ETX> <STX>G3,diam;x15;y15;<ETX> <STX>u0,000000010000000;<ETX> <STX>u1,000000101000000;<ETX> <STX>u2,000001000100000;<ETX> <STX>u3,000010000010000;<ETX> <STX>u4,000100000001000;<ETX> <STX>u5,001000000000100;<ETX> <STX>u6,010000000000010;<ETX> <STX>u7,111111111111111;<ETX> <STX>u8,011111110000010;<ETX> <STX>u9,001111110000100;<ETX> <STX>u10,000111110001000;<ETX> <STX>u11,000011110010000;<ETX>
6-15
Page 126
4400 Bar Code Label Printer User’s Manual
Example (continued) <STX>u12,000001110100000;<ETX> <STX>u13,000000111000000;<ETX> <STX>u14,000000010000000;<ETX> <STX>R<ETX>
When you download a bitmap, the rows become the columns, and the beginning of the last row becomes the top of the last column. For an example, study the bitmap above and then look at the following printout. It is important to remember that the bitmap is defined in terms of columns rather than rows. Here is what the graphic looks like when incorporated into a format, enlarged, and then printed.
4400-77
Six Bits Per Byte Six bits per byte format is more compact than one bit per byte. When you use six bits per byte, you can download large graphics more quickly with the printer in 4400 mode rather than Emulation mode. The arrangement of the bits is very important in this format. Every byte is composed of eight bits (0 through 7), but only bits 0 through 5 are used to map the image. Bit 6 (the 7th bit) must always be set to 1 so data can be downloaded to the printer. Bit 7 (the 8th bit) is reserved for parity and compatibility on 7-bit hosts.
6-16
Page 127
HelvC NugFont
Co d e 39 Designing Labels and Using Commands
6
Graphics like the previous one bit per byte (diamond) bitmap example, can be downloaded in six bits per byte format. To create a six bits per byte format 1. Draw the graphic on graph paper. 2. Change the graph paper drawing into a pattern of ones and zeros. 3. Starting from the top row, divide each vertical column into groups of six digits. (If the bottom group has less than 6 digits, add zeros to this group until it also has six.) The six digits in each group are the six bits that will be downloaded in a byte of data. The top digit of each group is bit 0, the bottom digit is bit 5. 4. Add a 1 in the bit 6 position, and then add a 0 in the bit 7 position so that each group now has eight digits. (Eight digits complete the byte.) 5. Reverse the order of each group so that bit 0 is now last and bit 7 is first. Each eight-digit group is now a binary representation of an ASCII character. 6. Translate each eight-digit group into an ASCII character according to the chart in the Appendix, and the method you choose to download the data. 7. Make sure the printer is in 4400 mode and not in Emulation mode. 8. Download the graphic so that each column is represented by a command string. Here is the same diamond shape graphic shown earlier, but this time it is in six bits per byte format with ASCII characters. <STX><ESC>C<ETX> <STX><ESC>P<ETX> <STX>G2,diam;x15;y15;<ETX> <STX>u0,@B@;<ETX> <STX>u1,@E@;<ETX> <STX>u2,`H@;<ETX> <STX>u3,PP@;<ETX> <STX>u4,H`@;<ETX> <STX>u5,D@A;<ETX> <STX>u6,B@B;<ETX> <STX>u7,<DEL><DEL>G;<ETX> <STX>u8,~CB;<ETX> <STX>u9,|CA;<ETX> <STX>u10,xc@;<ETX> <STX>u11,pS@;<ETX> <STX>u12,`K@;<ETX> <STX>u13,@G@;<ETX> <STX>u14,@B@;<ETX> <STX>R<ETX>
6-17
Page 128
4400 Bar Code Label Printer User’s Manual
Working With Fields Now that you have learned about the different types of fields printable with the 4400 printer, you need to know how to arrange them to define or change the format of a label. The following part of the chapter uses examples to describe the commands that position, size, rotate, and edit label formats. A complete list of all programming commands is given in Chapter 7.
Editing Fields If you make a mistake in a label format, you may not have to redownload the entire format (depending on the severity of the mistake). You can change a specific field in a format by sending a command in Program mode. The printer uses a field pointer to point to the field that is to be modified when the printer is in Program mode. The pointer continues to point to the most recently selected field until a different format or field is selected. The following format is used as an example. Assume you want to change field 3 (which is defined by the third line from the bottom) from h1;w1; to h2;w2;: <STX><ESC>P<ETX> <STX>E3;F3;<ETX> <STX>H0;o81,100;f0;c0;d0,16;h1;w1;<ETX> <STX>H1;o81,120;f0;c0;d0,16;h1;w1;<ETX> <STX>H2;o81,150;f0;c2;d0,14;h1;w1;<ETX> <STX>H3;o81,190;f0;c2;d0,16;h1;w1;<ETX> <STX>B4;o81,0;f0;c0,1;h50;w1;d0,11;i0;p@;<ETX> <STX>R<ETX>
Download the following command: <STX><ESC>P;F3;H3;h2;w2;R<ETX>
Each command in this string is described below: Command
Description
<ESC>P
Enter Program mode
F3;
Access format number 3 from memory
H3;
Access field 3 h2;
Set the height to 2 w2;
Set the width to 2
R
Return to Print mode
Note: The <STX> and <ETX> commands mark the beginning and end of a message. The semicolon (;) is the command terminator. All commands in Program mode must end with this terminator except the last command in a message.
6-18
Page 129
HelvC NugFont
Co d e 39 Designing Labels and Using Commands
6
Deleting Fields You can delete a field from a label format entirely. However, you cannot delete the last field in a format. For example, you cannot delete field 0 from a format that has no other fields. When a format is created, human-readable field zero (H0) is automatically created along with it. If you want to delete field 0 from a format, define field 1, and then delete field 0. The following command string can be used to delete field x from format y. <STX><ESC>P;Fy;Dx;R<ETX> Each command in this string is described below: Command
Description
<ESC>P
Enter Program mode
Fy;
Access format y
Dx;
Delete field x
R
Return to Print mode
Scaling Fields The size of a field is determined by the size of either the font or graphic you use and the field magnification factors you apply. The human-readable and bar code fonts have default sizes, and the user-defined character fields will print as large as you design them, but by using magnification commands, you can scale them to be up to 4 inches by 4 inches.
Magnifying Fonts and Character Fields The internal fonts in the printer already have sizes associated with them. For example, the letters in font c0 are 7 dots wide by 9 dots high, and there is a onedot gap between characters. If you design a field that will print 10 letters in font c0, the field will be 79 dots wide by 9 dots high. By applying magnification factors (h for height and w for width) you can increase a field’s height or width. If you increased the height to 2 (h2) for the field described above, the field height would double, and the final field would print 79 dots long by 18 dots high. If you changed the magnification to h3, the field height would triple, and the field would print 79 dots by 27 dots. Increasing the width of a text field to 2 would make each letter in the field twice as wide. If this was done to the example above, with field height h2, the final field would print 158 dots wide by 18 dots high.
6-19
Page 130
4400 Bar Code Label Printer User’s Manual
Magnifying Bar Code Fields Bar code fields may also be magnified using the height and width commands, but the commands do not behave the same as with human-readable fields. For bar code fields, the height magnification is the actual dot height of the bar code. If you choose a height magnification of h20, the height of the bar code field will be 20 dots. Printing narrow bar codes conserves space on each label as well as media. If you plan to scan bar codes from a distance, you may need to magnify the bar code widths. The width magnification factor for bar code fields refers to the width of the narrowest element of the bar code. The minimum bar code width is 5 mil (in drag mode). When you specify a narrow element width of w3, the width of the narrowest element in the symbology will be three dots wide. The spaces and large element widths will grow according to preset ratios for each symbology. The default height for bar code fields is 50 dots, and the default width for narrow elements is 1 dot. You can magnify bar code fields to print up to 9999 dots high, with a narrow element of up to 9999 dots wide, but you will need special equipment to scan a bar code that wide.
Positioning Fields Positioning fields using downloaded commands may be the trickiest part of designing labels. Since you cannot tell exactly how the field will look until it prints, you may need to make several test prints before you get the field positioned exactly right.
➤
Direction of media from printer
D A HR Field
Second HR Field
B
*BCFIELD*
*BC FIELD*
C A = 10,10 B = 10,100
6-20
C = 10,150 D = 195,10
4400-70