The text of a manual · part 10 of 26
User's Manual: 4630 and 4830 Bar Code Printers, pages 91 to 100
Pages 91 to 100 of 252
The original document is the PDF (1.6 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 4830
Page 91
FG 9pt Italic
*1233*Designing Labels Using IPL Commands
5
3. Convert the measurements for the human-readable field from inches to dots. Use this equation: 1 inch (25.4 mm) = 300 dots 1 mm = 16 dots In this example, the human-readable field origin in dots is: 0.5 inch x 300 dots = 150 dots (X dimension) 0.25 inch x 300 dots = 75 dots (Y dimension) The origin for the human-readable field is o150,75 (oX,Y). 4. Convert the measurements for the line field and the bar code field to complete this example. To create or program the label format 1. Choose a bar code symbology and a human-readable font that suit your needs. For this example, you are going to use the proportional outline font and the Code One symbology. See Chapter 6, “Intermec Printer Language Commands,” for information on the different symbologies and fonts available to you. 2. Define the parameters for each type of field in the format. This Type of Field
Is Represented By
Human-readable (text)
H
Bar code
B
Line
L
Box
W
User-defined characters (UDCs) or graphics
U
See “Listing Printer Commands by Function” in Chapter 6 for a list of the parameters you can define for each type of field.
5-5
Page 92
4630 and 4830 Bar Code Label Printers User’s Manual
For example, you need to define the following parameters for a humanreadable field: Parameter
Value for This Example field type
H0 field origin o150,75 font c28 (proportional outline font)
field direction f0 (horizontal)
height h30 (multiplied 30 times)
width w30 (multiplied 30 times)
field source and number of characters d0,20
3. Create command strings for each type of field. You must bracket your field information between the start of text character (<STX>) and the end of text character (<ETX>). When you combine the parameters in the previous table into a command string, it should look like this: <STX>H0;o150,75;c28;f0;h30;w30;d0,20;<ETX> 4. Combine the command strings you define into one file and add the following commands bracketed by <STX> and <ETX>: Command
Description
<ESC>P
Enters Program mode
E4;F4;
Erases what was in format 4 and creates a new format 4
R
Saves the format and exits to Print mode
<ESC>E4
Accesses format 4
<ETB>
Prints the format
5. Create the data lines for the human-readable field and the bar code field. Do this by completing the following tasks: a. Type the information that you want to appear in the human-readable field and the bar code field on two separate lines. b. Separate the information with a <CR> at the end of the first text string. The <CR> tells the printer to enter the text into the next field. The first line will be the text for the human-readable field and so on.
5-6
Page 93
FG 9pt Italic
*1233*Designing Labels Using IPL Commands
5 c. Preface the data lines with the <CAN> command. It erases all data in the current format. Your command strings should look like this: <CAN> THIS IS THE SAMPLE LABEL <CR> SAMPLE d. Bracket the command strings between <STX> and <ETX>. 6. Combine all of the command strings into one format and it should look like this: Command
Definition
<STX><ESC>P<ETX>
Enter Program mode
<STX>E4;F4;<ETX>
Erase format 4, create format 4
<STX>H0;o150,75;f0;c28;h30;w30;d0,30;<ETX>
Edit/create human-readable field 0
<STX>L1;o150,75;f0;l600;w5;<ETX>
Edit/create line field 1
<STX>B2;o300,125;c13,0;h7;<ETX>
Edit/create bar code field 2
<STX>R;<ETX>
Save format and exit to Print mode
<STX><ESC>E4<ETX>
Access format 4
<STX><CAN><ETX>
Erase all data
<STX>THIS IS THE SAMPLE LABEL<CR><ETX>
Data for human-readable field 0
<STX>SAMPLE<ETX>
Data for bar code field 2
<STX><ETB><ETX>
Note: The line breaks in this example are shown for formatting purposes only and do not necessarily represent carriage returns. Also, the difference between the lowercase letter “l” and the numeral “1” is not very noticeable in the Courier font. Make sure that you enter the correct command.
5-7
Page 94
4630 and 4830 Bar Code Label Printers User’s Manual
This format prints the following label:
THIS IS THE SAMPLE LABEL
Defining Label Design Fields You define each type of field to hold a certain type of data. You can define: •
Bar code fields (with or without interpretive fields)
•
Human-readable fields
•
Graphic fields
•
Line fields
•
Box fields
You must define the data you plan to print on your label as a field in the label format. Each field type gives you options for interpreting your data. The fields that contain the most options are bar code fields and human-readable fields.
Bar Code Fields You can print bar codes in any of the symbologies listed below:
5-8
Codabar
Code 49
Interleaved 2 of 5
Code 2 of 5
Code 93
Maxicode
Code 11
Code 128
PDF417
Code 16K
Code One
POSTNET
Code 39
HIBC
UPC/EAN
Page 95
FG 9pt Italic
*1233*Designing Labels Using IPL Commands
5
Appendix A, “Printer Reference,” contains a full description of each bar code symbology. You can also refer to Chapter 6, “Intermec Printer Language Commands,” for a complete list of commands to select the appropriate bar code symbology.
Human-Readable Fields You can print human-readable fields in any one of the printer’s internal fonts or user-defined fonts. Your printer contains several scaleable fonts as well as numerous resident bitmap fonts in a wide range of sizes and styles. You can change the size of the font character by using the width and height magnification or by using the pitch or point-size commands. The fonts themselves remain unchanged. The font character charts in Appendix A, “Printer Reference,” illustrate the complete character set for each font. The printer supports nine different 7-bit international character sets for each command set mode. The printer also contains two 8-bit character sets for IBM translation, 256 Characters and Code Page 850. The internal bitmap fonts of the printer include • four standard bitmap fonts measured in dots
• two bitmap fonts recognized by optical character recognition (OCR) programs
• three bitmap fonts measured in point sizes
• three outline fonts
• fifteen bitmap monospaced fonts
Downloading User-Defined Fonts In addition to the fonts permanently resident in your printer, you can also download user-defined fonts (UDFs) in the form of bitmap (fixed) or outline (scaleable) fonts. Bitmap fonts commonly • print in multiples of one fixed size.
• print quickly.
• are memory intensive when defined as large characters.
5-9
Page 96
4630 and 4830 Bar Code Label Printers User’s Manual
Outline fonts commonly • vary in size. (You can print any size character up to 2 inches.)
• print smooth characters at any magnification.
• image smaller font sizes slower than bitmap fonts.
The 4630 and 4830 printers support Bitstream’s Speedo format outline fonts. For help locating Speedo fonts, contact your Intermec representative. You can download user-defined fonts (UDFs) to the printer and store them in the non-volatile memory. Although the printer reserves 16 font ID numbers (3 to 6, and 8 to 19) for UDFs, memory constraints may limit the number of fonts you can store. The easiest way to download fonts to the printer is with the PrintSet printer installation software. This application is on the disk shipped with your 4630 and 4830 Bar Code Label Printers Getting Started Guide. You can use PrintSet to select fonts and directly download them to your printer from a PC. If you do not have your printer connected to a PC, you can use PrintSet to create a .PCF configuration file that you can save and then download to your printer. You also have the ability to edit .PCF files using IPL commands. How you download UDFs depends on the font type. The next sections describe how to download bitmap fonts and outline fonts.
Downloading Bitmap Fonts Use PrintSet to select and download bitmap fonts. Bitmap fonts can use a lot of memory, so you may decide not to download the entire font to the printer. You can use PrintSet to define a subset of the font (only the numbers, for example). Then you can download only that subset, saving storage space on the printer. The printer requires that bitmap fonts be in six bits per byte format and PrintSet automatically converts all bitmap fonts into this format. To learn more about bitmap font formats, see “Creating User-Defined Fonts” later in this chapter.
Downloading Outline Fonts Use PrintSet to select and download Bitstream’s Speedo outline fonts to your printer. PrintSet automatically converts outline fonts into nibblized data that you can download to the printer. PrintSet can also convert outline fonts into bitmap fonts that you can download to the printer. You can then either directly download the outline font to the printer or save the converted outline font data to a .PCF file that you can edit and use in other applications.
5-10
Page 97
FG 9pt Italic
*1233*Designing Labels Using IPL Commands
5
If you need to download an outline font but you cannot use PrintSet, you can create a program to convert the outline font to a format you can download to the printer. When you convert an outline font to a format that you can download to the printer, you must change the font character data into nibblized data that the printer can interpret. When you nibblize data, you divide each byte of data into two bytes. For example, byte 0xab becomes two bytes: 0x41, 0x42. Here is an example of a nibblized outline font file that includes IPL commands to send the font file directly to the printer. Command
Definition
<STX>R<ESC>C<ESC>P<ETX>
Enter Program mode.
<STX>J03,Times,1;<ETX>
Create Speedo font 3 and give it the name Times.
<STX>j0001000000110100000400604c54534 8efe24cd0000002d8000000e04f532f3293e1 900d000003b80000004e56444d58ed68bcf40 000040800001770636d617053c2bcba000142 ac0000029063767420beed8c5300001b78000 006ae6670676d61beec3b0000222800000539 676c79668b49591e0000276400;<ETX>
Speedo data string.
<STX>j00ebf468646d78d956f5ab000113580 000150868656164af3277ec00012860000000 36686865610ef006520001289800000024686 d74788b9237d2000128bc000003706b65726e fe84fb7b00012c2c000002b86c6f6361a4806 d8c0000011c000001bc6d617870051a043300 012ee4000000206e616d6578ca;<ETX>
Speedo data string.
<STX>j0d2000012f04000006a3706f7374d43 c8176000135a8000001ec707265701cbb23d4 0001379400000b170000003b003b003b003b0 098011201f702fc03ff05120554059605d706 bd07250770079c07c80801089a090c09e10ac a0b530c060cb90d260e280ee80f300f920ffc 104310b1116612ca13cd154315;<ETX>
Speedo data string.
: : :
Several Speedo data strings not shown due to space constraints.
<STX>j00b3008200b0008725ba0000;<ETX>
Last Speedo data string.
<STX>R<ETX>
Exit Program mode
5-11
Page 98
4630 and 4830 Bar Code Label Printers User’s Manual
To convert and download an outline font to your printer 1. Nibblize the font data. Note: Divide the nibblized data into separate lines preceded with a “j” for these reasons: (1) you need short lines for limited message length protocols and (2) it is easier to modify using an editor or word processing program. 2. Include IPL commands to instruct the printer what to do with the font data. For help, see the next example and Chapter 6, “Intermec Printer Language Commands.”
Lines and Boxes Use the command set (see Chapter 6, “Intermec Printer Language Commands”) to define line or box fields on a label. You can use the commands to determine whether a box or line appears vertically or horizontally and to set the line length and thickness. The following example uses vertical and horizontal lines to separate fields on a label, and uses a box field to make a label border. This format uses bold text to highlight the lines that contain line or box fields. This label format prints the label shown on the page following it.
Lines and Boxes Format <STX><ESC>C1<ETX> <STX><ESC>P;<ETX> <STX>E4;F4,Demo 4;<ETX> <STX>H00;o0,30;f0;h1;w1;c21;r0;b10;d3,
SHIPPING LABEL
<STX>H01;o20,160;f0;h1;w1;c0;r0;b0;d3,BASIS WT. 39-4838;<ETX> <STX>H02;o20,180;f0;h1;w1;c21;r0;b0;d3,38448379237;<ETX> <STX>H03;o640,160;f0;h1;w1;c0;r0;b0;d3,GRADE DESCRIPTION;<ETX> <STX>H04;o600,180;f0;h1;w1;c21;r0;b0;d3,A-PLUS QTY;<ETX> <STX>H05;o20,300;f0;h1;w1;c0;r0;b0;d3,ROLL WIDTH
536-0333;<ETX>
<STX>H06;o20,310;f0;h1;w1;c21;r0;b0;d3,338438;<ETX> <STX>H07;o420,300;f0;h1;w1;c0;r0;b0;d3,ROLLS/PKG.;<ETX> <STX>H08;o450,310;f0;h1;w1;c21;r0;b0;d3,12;<ETX> <STX>H09;o640,300;f0;h1;w1;c0;r0;b0;d3,ORDER ITEM NUMBER;<ETX> <STX>H10;o640,310;f0;h1;w1;c21;r0;b0;d3,234-LOFT;<ETX> <STX>H11;o20,410;f0;h1;w1;c0;r0;b0;d3,CUSTOMER ORDER NUMBER;<ETX>
5-12
;<ETX>
Page 99
FG 9pt Italic
*1233*Designing Labels Using IPL Commands
5
<STX>H12;o20,420;f0;h1;w1;c21;r0;b0;d3,372181192;<ETX> <STX>H13;o470,410;f0;h1;w1;c0;r0;b0;d3,LOCATION-PACKAGE NUMBER-GRADE;<ETX> <STX>H14;o520,420;f0;h1;w1;c21;r0;b0;d3,3839494;<ETX> <STX>H15;o980,410;f0;h1;w1;c0;r0;b0;d3,WEIGHT;<ETX> <STX>H16;o980,420;f0;h1;w1;c21;r0;b0;d3,230;<ETX> <STX>H17;o20,520;f0;h1;w1;c0;r0;b0;d3,LOAD NUMBER OR TRACKING NUMBER;<ETX> <STX>H18;o20,530;f0;h1;w1;c21;r0;b0;d3,3392-AZ;<ETX> <STX>H19;o530,520;f0;h1;w1;c0;r0;b0;d3,ROLL NUMBER;<ETX> <STX>H20;o530,530;f0;h1;w1;c21;r0;b0;d3,37282833;<ETX> <STX>H21;o940,520;f0;h1;w1;c0;r0;b0;d3,ROLL POSITION;<ETX> <STX>H22;o940,530;f0;h1;w1;c21;r0;b0;d3,400;<ETX> <STX>L32;o0,280;f0;l1176;w2;<ETX> <STX>L33;o560,114;f3;l166;w2;<ETX> <STX>L34;o0,392;f0;l1176;w2;<ETX> <STX>L35;o400,280;f3;l112;w2;<ETX> <STX>L36;o600,280;f3;l112;w2;<ETX> <STX>L37;o0,504;f0;l1176;w2;<ETX> <STX>L38;o460,392;f3;l112;w2;<ETX> <STX>L39;o960,392;f3;l112;w2;<ETX> <STX>L40;o0,616;f0;l1176;w2;<ETX> <STX>L41;o510,504;f3;l112;w2;<ETX> <STX>L42;o930,504;f3;l112;w2;<ETX> <STX>B51;o20,640;c0,0;f0;h100;w2;r1;i2;d3,INTERMEC;<ETX> <STX>B52;o560,640;c0,0;f0;h100;w2;r1;i2;d3,372181192;<ETX> <STX>I51;o20,746;f0;h1;w1;c0;r0;b0;<ETX> <STX>I52;o560,746;f0;h1;w1;c0;r0;b0;<ETX> <STX>W53;o0,0;w4;l1180;h780;<ETX> <STX>R;<ETX> <STX><ESC>E4<ETX> <STX><RS>2<ETB><ETX>
5-13
Page 100
4630 and 4830 Bar Code Label Printers User’s Manual
Lines and Boxes Label
BASIS WT. 39-4838
GRADE DESCRIPTION
38448379237 ROLL WIDTH 536-0333
338438 CUSTOMER ORDER NUMBER
A - PLUS QTY
ROLLS/PKG.
12
ORDER ITEM NUMBER
234 - LOFT
LOCATION-PACKAGE NUMBER-GRADE
WEIGHT
372181192
3839494
LOAD NUMBER OR TRACKING NUMBER
ROLL NUMBER
3392-AZ
37282833 400
INTERMEC
230 ROLL POSITION
372181192
4630U-23
Graphics You must define a graphic field if you want to print a graphic image on a label. Before you can use this field, you need to download the graphic to the printer. Once you download the graphic, you can use it in any format. Use the PrintSet printer installation software to easily download graphics to the printer. PrintSet automatically converts the graphic into a six bits per byte format that your printer can understand. If you are using third-party label-generation software, convert your graphic file to a UDC format that the printer can interpret. After you convert the graphic, download it to the printer with IPL commands or PrintSet. If you want to design your own graphic, refer to “Creating User-Defined Graphics” later in this chapter. You must send graphics as six bits per byte bitmap images. The maximum size that you can define a graphic to be is 3 x 3 inches (900 x 900 dots).
5-14