The text of a manual · part 7 of 33
IPL Programming Reference Manual: Chapter 3: Designing Bar Code Labels, pages 55 to 62
Pages 55 to 62 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 55
*1234*
Designing Bar Code Labels
3
Rotating Fields You can rotate any type of printable field in increments of 90 degrees counterclockwise around the field origin. To position a rotated field, you should keep in mind that the field origin remains on the corner where it was before you rotated the field. If you rotate a field 90 degrees counterclockwise, the origin that was at the upper left corner is now at the lower left corner. Use the Field Direction command fn to define the field rotation. See Chapter 7, “IPL Command Reference,” for more information. •
To rotate a field 90 degrees, you must position the lower left corner of the rotated field.
•
To rotate a field 180 degrees, you must position the lower right corner of the rotated field.
•
To rotate a field 270 degrees, you must position the upper right corner of the rotated field.
ABCDE f1(rotated 90 degrees)
ABCDE ABCDE f2 (rotated 180 degrees)
ABCDE
Field origin f0 (horizontal)
f3 (rotated 270 degrees) IPL.008
3-17
Page 56
IPL Programming Reference Manual*1234*
Scaling Fields You can determine the size of a field by the font or graphic you use and the field magnification factors you apply. The human-readable fonts and bar code symbologies have default sizes, and the user-defined character fields print as large as you design them (up to the maximum), but you can scale each of these fields even further by using magnification commands.
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, with a 1-dot gap between characters. If you design a field that prints 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 increase the height to 2 (h2) for the field described above, the field height doubles, and the final field prints 79 dots long by 18 dots high. If you change the height magnification to h3, the field height triples, and the field prints 79 dots by 27 dots. The default human-readable field H0 prints the 7 x 9 font as follows (assuming you enter the word “example” as data):
When you apply a magnification factor of 3 to human-readable field H0, the font now prints the image below:
IPL 010
Increasing the width of a text field to 2 makes each letter in the field twice as wide. If you did this to the example above, with field height h2, the final field would print 158 dots wide by 18 dots high. When you magnify a bitmap font, the edges of the characters become jagged. If you want to print large text characters (greater than 1 inch or 2.54 cm), use an outline font such as c25 (Swiss Mono 721 standard outline font).
3-18
Page 57
*1234*
Designing Bar Code Labels
3
Magnifying Bar Code Fields You can also use height and width commands to modify bar code fields, 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; however, 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. When you specify a narrow element width of w3, the width of the narrowest element in the symbology is 3 dots wide. The spaces and large element widths grow according to preset ratios for each symbology. Note: You can only print a bar width of 1 if you are printing in drag mode (bars perpendicular to the print head). If you select a width of 1 in picket mode (bars parallel to the print head), the printer defaults to 2. The default height for bar code fields is 50 dots, and the default width for narrow elements is 1 dot. Note: If you are using the POSTNET symbology, follow the rules for magnifying fonts.
Designing Pages A page is a collection of one or more formats that you combine to print at the same time. This feature is helpful when you need to print several different labels for an application at once. For example, you may need to attach one type of label to a product and a different type of label to its container. With the page printing capability, you can print both labels at the same time. Because you can print pages of several formats at once, you can also print labels on media rolls that have different sizes and shapes of labels already precut. When you group label formats into a page, you assign the formats to positions designated by the letters a through z. You can print the formats used in pages independent of each other. The format example on page 3-20 shows how to create a page that contains five different formats.
3-19
Page 58
IPL Programming Reference Manual*1234*
Label Format Example The format example on this page is a complex label designed to demonstrate the different types of data that you can print with your printer. This example contains human-readable fields, a bar code field, line fields, a box field, and a graphic field (the diamond).
Complex Label Format
Cat. No.
432-3221
S i z e
3
Lot 23455 262948
14
Std. Qty.
100
DUPLEX ANGLE CONNECTOR
- For Flexible Steel Conduit and .375" - .625" Diameter Armored and Nonmetallic Sheath Cables - For Smooth or Interlocking Sheath Metal Clad Cables .375" - .675" Dia. (UL only)
ACE CORP. ADDRESS 3010 FICTION USA
*30791751* *307 91747*
IPL011.eps
Graphic for Example Download the six bits per byte diamond graphic explained in “Creating Six Bits Per Byte User-Defined Graphics” in Appendix C.
3-20
Page 59
*1234*
Designing Bar Code Labels
3
Format for Example <STX><ESC>C<ETX> <STX><ESC>P<ETX> <STX>E5;F5;<ETX> <STX>H0;o35,40;c25;d3,Cat.;k12;<ETX> <STX>H1;o35,70;c25;d3,No.;k12;<ETX> <STX>H2;o165,0;c25;d3,432-3221;k36;<ETX> <STX>H3;o785,40;c25;d3,Std.;k12;<ETX> <STX>H4;o785,70;c25;d3,Qty.;k12;<ETX> <STX>H5;o915,0;c25;d3,100;k36;<ETX> <STX>L6;o740,10;f3;l130;w8;<ETX> <STX>L7;o25,140;l1130;w8;<ETX> <STX>H8;o30,165;c25;f3;r1;d3,Size;k12;<ETX> <STX>H9;o80,170;c25;d3,1 ”;k30;<ETX> <STX>H10;o150,165;f3;r1;c25;d3,3/4;h3;w7;<ETX> <STX>L11;o300,140;f3;l130;w8;<ETX> <STX>L12;o25,270;l275;w8;<ETX> <STX>H13;o60,560;f1;c25;d0,20;h3;w2;<ETX> <STX>L14;o140,270;f3;l310;w8;<ETX> <STX>H15;o360,120;c22;d3,DUPLEX ANGLE CONNECTOR;h3;w1;<ETX> <STX>H16;o170,320;c25;d3,- For Flexible Steel Conduit and .375” - .625”;k12;<ETX> <STX>H17;o212,375;c25;d3,Diameter Armored and Nonmetallic Sheath Cables;k12;<ETX> <STX>H18;o170,450;c25;d3,- For Smooth or Interlocking Sheath Metal Clad;k12;<ETX> <STX>H19;o212,505;c25;d3,Cables .375” - .675” Dia. (UL only);k12;<ETX> <STX>L20;o25,580;l1130;w8;<ETX> <STX>U21;o40,610;c2;h9;w9;<ETX> <STX>H22;o210,600;c25;d3,ACE CORP.;k24;<ETX> <STX>H23;o210,670;c25;d3,ADDRESS 3010;k12;<ETX> <STX>H24;o210,710;c25;d3,FICTION USA;k12;<ETX> <STX>B25;o685,615;c0,0;d0,20;i1;h100;p@;<ETX> <STX>I25;h2;w2;<ETX> <STX>L26;o590,580;f3;l185;w8;<ETX> <STX>W27;o015,000;w10;l1150;h775;<ETX> <STX>R<ETX>
Data for Example <STX><ESC>E5<CAN><ETX> <STX>Lot 23455 262948<CR><FS>307 91747<FS><ESC>I2<ETX> <STX><RS>5<ETB><ETX>
3-21
Page 60
IPL Programming Reference Manual*1234* Use the <ETX> and <STX> characters to mark the beginning and end of the command strings. The other characters are explained in the following table. Most of the printer command lines explained below contain commands previously not discussed in this chapter. Refer to previous examples for clarification of the lines that are not explained, or see Chapter 7, “IPL Command Reference,” for a further explanation of the command language.
Label Format Example Command Descriptions Example Command
Description
<ESC>C
Selects Advanced mode.
<ESC>P
Selects Program mode.
E5;F5;
Erases anything previously stored as format five and accesses the location for format five.
H0;
Defines field 0 as a human-readable field.
o35,40;
Sets the origin of field 0 at coordinates (35,40).
c25;
Sets the font for field 0 to font 25.
d3,Cat.;
Sets the data for field 0 to have the constant value: Cat.
k12;
Sets the point size to 12.
L6;
Defines field 6 as a line field.
o740,10;
Sets the origin for field 6 at (740,10).
f3;
Rotates field 6 by 270 degrees counterclockwise around the field origin.
l1300;
Sets the length of the line in field 6 to 130 dots.
w8;
Sets the width of field 6 to 8 dots.
H8;
Defines field 8 as a human-readable field.
o30,165;
Sets the origin of field 8 at (30,165).
c25;
Defines the font for field 8 as font 25.
f3;
Rotates field 8 by 270 degrees counterclockwise around the origin.
r1;
Rotates the characters in field 8 by 90 degrees counterclockwise.
d3,Size;
Defines the constant data for field 8.
3-22
Page 61
*1234*
Designing Bar Code Labels
3
Label Format Example Command Descriptions (continued) Example Command
Description k12;
Sets the point size to 12.
H10;
Defines field 10 as a human-readable field.
o150,165;
Sets the origin for field 10 at (150,165).
f3;
Rotates field 10 by 270 degrees counterclockwise around the origin.
r1;
Rotates the characters in field 10 by 90 degrees counterclockwise.
c25;
Sets the font for field 10 to font 25.
d3,3/4;
Defines constant data for field 10.
k12;
Sets the point size to 12.
H13;
Defines field 13 as a human-readable field.
o60,560;
Sets the origin of field 13 at (60,560).
f1;
Rotates field 13 by 90 degrees around the origin.
c25;
Determines that field 13 prints in font 25.
d0,20;
Specifies that data for field 13 will be entered during Print mode and that the data will be a maximum of 20 characters long.
k10;
Sets the point size to 10.
U21;
Defines field 21 as a graphic field.
o40,610;
Sets the origin of field 21 at (40,610).
c2;
Determines that field 21 prints in font two.
h9;
Sets the height to nine times the original size.
w9;
Sets the width to 9 dots.
B25;
Defines field 25 as a bar code field.
o685,615;
Sets the origin of field 25 at (685,615).
c0,0;
Sets the bar code font to Code 39 with no check digit.
d0,20;
Determines that the data for field 25 is entered during Print mode and its maximum length is 20 characters.
3-23
Page 62
IPL Programming Reference Manual*1234*
Label Format Example Command Descriptions (continued) Example Command
Description i1;
Determines that an interpretation of the bar code prints with start and stop characters included.
h100;
Determines that the bar code height is 100 dots.
p@;
Clears all prefixes from the bar code field.
I25
Edits the interpretive field for bar code field 25.
h2
Sets the height of the interpretive field to twice its original height.
w2
Sets the width of the interpretive field to 2 dots.
W27;
Defines field 27 as a box field.
o015,000;
Sets the origin of field 27 at 15,0.
w10;
Defines the line width of the box as 10 dots.
l1150;
Defines the length of the box as 1150.
h775;
Sets the height of the box to 775.
R
Sets the printer in Print mode.
<ESC>E5
Accesses format 5 from the printer memory.
<CAN>
Clears all host-entered data for the current format and sets the field pointer to the lowest numbered data-entry field.
Lot 23455 262948<CR>
This is the data intended for the first data-entry field. <CR> instructs the printer to go to the next data-entry field.
<FS>
Specifies that the following data is to be incremented.
307 91747
This is the data intended for the next data-entry field. It is being specified as data to be incremented.
<FS>
Specifies that the preceding data is to be incremented.
<ESC>I2
The data surrounded by <FS> commands is to be incremented by a value of 2 after each label is printed.
<RS>5
Sets the number of labels to print when the print command is executed.
<ETB>
Tells the printer to print the label.
3-24