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

IPL Programming Reference Manual: Chapter 2: Downloading Fonts to the Printer

Pages 27 to 38 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 27

2 Downloading Fonts to the Printer

Page 28

asd

Page 29

Downloading Fonts to the Printer

2

This chapter explains how to download fonts to your Intermec printer. You can use PrintSet, IPL commands, or third-party software applications.

What Types of Fonts Can I Download? You can download these types of fonts to most Intermec printers: •

Bitmap

•

Outline (TrueType and Speedo)

Note: The 3400, 3400e, 3440, 4420, 4440, and EasyCoder F4 printers support the use of scaleable TrueType fonts. Bitmap fonts can be used on any Intermec printer, including those TrueType fonts you have converted to bitmap using PrintSet. The EasyCoder F4 does not support Speedo fonts. In addition to the fonts permanently resident in your printer, you can download fonts in the form of user-defined bitmap or outline (scaleable) fonts. Use this section to learn about the differences between bitmap and outline fonts and how to choose the type of font you want to use. Bitmap fonts commonly • print in one fixed size. (If you magnify the font, they print but are ragged.)

• print quickly.

• are memory intensive when defined as large characters.

Outline fonts commonly • vary in size. [You can print any size character up to 4 inches (10.16 centimeters).]

• print smooth characters.

• image slower than bitmap fonts.

Your printer supports two types of outline fonts: TrueType (support available only on the 3400, 3400e, 3440, 4420, 4440, and EasyCoder F4 printers) and Speedo (not supported on the EasyCoder F4). TrueType fonts are the most popular outline fonts, and several are available through Windows on your PC. For help locating Speedo fonts, contact Intermec Technical Support.

2-3

Page 30

IPL Programming Reference Manual

Use this table to decide which fonts best suit your needs: Concern

Bitmap

TrueType

Speedo image speed fastest medium fast availability extensive extensive with Windows limited storage space varies

50 - 80K per font usually; Japanese, Chinese and Korean are considerably larger

20 - 30K per font size fixed variable variable

You can download fonts 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 you to download fonts, memory constraints may limit the number of fonts you can store.

Using PrintSet Version 2.0 or Higher to Download Fonts The easiest way to download fonts to the printer is with the PrintSet printer configuration application. This application is on the disk that shipped with your printer. You can also download PrintSet 2.0 from the Intermec Web site at www.intermec.com. You can use PrintSet to select fonts and directly download them to your printer. Bitmap fonts can be memory intensive, 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 the subset, saving storage space on the printer. The printer requires that bitmap fonts be in one of these formats: one bit per byte or six bits per byte. PrintSet automatically converts all bitmap fonts into the six bits per byte format. PrintSet automatically converts scaleable outline fonts into nibblized data that you can download to the printer. PrintSet can also convert fixed outline fonts into bitmap fonts that you can download to the printer. To select a font with PrintSet 1. Start PrintSet on your PC. 2. Enter PrintSet and make sure that the communications settings are correct. 3. From the PrintSet main menu, select Fonts from the Configuration menu or click the Font Setup button on the toolbar.

2-4

Page 31

Downloading Fonts to the Printer

2

The Font Setup dialog box appears:

4. To select a font by font name, click the Select Installed Font button. From the list of installed fonts, select your TrueType font name. To select a font by pathname, click the Select Font Path button. Select a drive and a path. From the File name list box, select a TrueType font file. 5. Under Storage Option: •

Click the Fixed option button if you are downloading a bitmap font.

•

Click the Scaleable option button if you are downloading an outline font. (This option is disabled if your printer does not support TrueType.)

6. Select the size option, point size, and character set as needed (for bitmap fonts only). 7. From the Location list box, choose the font number you wish to assign to the font. Intermec printers identify each font by its font number. You may select additional fonts to add to local memory. Each font must have a unique location number. 8. Click Apply. 9. Select the View tab. The Fonts to send box displays the selected fonts and the designated printer locations. 10. Click OK to exit the Font Setup dialog box. Now that you have defined your font, you need to either install it in your printer or save it to a file. Follow one of these procedures to complete the process.

2-5

Page 32

IPL Programming Reference Manual

To install fonts in your printer •

From the PrintSet main menu, select Send to printer from the DataXfer menu or click the Send Config to Printer button on the toolbar.

Note: If you download an incompatible TrueType font, the font type will be 999. If you select the incompatible font for a text field, the printer will print the default font 0. To save a font to a file and copy it to your printer 1. From the PrintSet main menu, select Save as from the File menu or click the Save As button on the toolbar. The Save As dialog box appears. 2. In the file manager dialog box, enter a file name and assign a path. The file must use a .PCF extension. For example, you could name your file NEWFONT.PCF. 3. Click the Save button. When you save the font to file, the Intermec Printer Language (IPL) commands necessary to install the font are automatically written to the file. 4. Use Windows HyperTerminal to download the .PCF file to your printer.

Installing International Character Sets Using GLOBE Intermec’s goal is to help you easily localize your printer with the font set you choose. To support this goal, Intermec printers now use GLOBE (Global Languages On Bar Code Equipment) technology to download and access single- and double-byte international character sets.

What Types of Fonts Does GLOBE Support? Use GLOBE technology to install international character sets on your printer. GLOBE technology is part of PrintSet, the Windows-based configuration program that came with your printer. You can use PrintSet to install these types of fonts: •

TrueType fonts

•

Bitmap fonts generated from TrueType fonts using PrintSet

TrueType fonts are scaleable fonts that retain smooth contours at any size. Since TrueType fonts may be very complex, they tend to image slower than bitmap fonts. You cannot subset a TrueType font. You must download the entire font to the printer. Note: When using TrueType fonts, your printer must be configured to operate in 8 bit mode. Intermec also recommends the following printer configuration: highest supported bits per second (Baud rate), 8 data bits, no parity, 1 stop bit, XON/XOFF flow control.

2-6

Page 33

Downloading Fonts to the Printer

2

Your TrueType fonts must be compatible with Microsoft Windows. To generate bitmap fonts from TrueType fonts for a particular language, you must run PrintSet under that language version of Microsoft Windows. You can run PrintSet Version 2.0 and higher under Windows 95/98, or Windows NT. Earlier versions of PrintSet will run under Windows 3.11. PrintSet 2.1 or higher is required to install a Chinese, Japanese, or Korean TrueType font. You must locate and install the necessary code page tables to use with these language fonts. For help, see “Installing Code Page Tables” later in this chapter. The EasyCoder F4 does not support bitmap or TrueType Chinese, Japanese, or Korean fonts.

Do You Need to Purchase Additional RAM? If you wish to install a TrueType font in your printer, you must have enough memory available to contain the entire font file. The size of the TrueType font file, in bytes, is the minimum amount of memory you must have available in your printer. Bitmap fonts generated from TrueType files will vary in size, depending on the point size and number of characters you create. The larger the point size you choose, the larger the resulting file size. Chinese, Japanese, and Korean languages contain thousands of characters. If you wish to use these languages, you will need to purchase expanded flash memory to store them in your printer. The amount of memory depends on the size and number of fonts you wish to install. Use this table to determine the approximate size of some Asian TrueType fonts. The approximate size is shown in dots per inch (dpi). Point Size

Approximate Size (400 dpi)

Approximate Size (200 dpi)

Korean KSC-5601

12 pt 16 pt 24 pt

1.6MB 2.7MB 5.8MB

0.5MB 0.8MB 1.5MB

Traditional Chinese Big 5

12 pt 16 pt

3.1MB 5.25MB

0.9MB 1.6MB

Simplified Chinese GB

12 pt 16 pt

3.5MB 6.2MB

1MB 1.8MB

Japanese Shift-JIS

12 pt 16 pt

3.9MB 6.75MB

1.1MB 2MB

TrueType Font

Some TrueType fonts require large amounts of dynamic RAM to operate. If you receive an error code 37 when printing a label using TrueType fonts, you may need to purchase expanded dynamic RAM.

2-7

Page 34

IPL Programming Reference Manual

Licensing Your Fonts Although Intermec provides you with a tool to download international characters sets, you must license the fonts that you purchase and install in your printers. Contact your font vendor for licensing information. These companies resell TrueType fonts that work with Intermec printers: Precision Type 47 Mall Drive Commack, NY 11725 phone 1-800-248-3668 fax 516-543-5721 email info@precisiontype.com

Galapagos Design Group 256 Great Road Suite 15 Littleton, MA 01360-1916 phone 978-952-6200 fax 978-952-6260 email info@galapagosdesign.com

These companies also provide TrueType fonts compatible with Intermec printers: Dynalab Inc. 2055 Gateway Place Suite 400 San Jose, CA 95110 phone 408-490-4224 fax 408-490-2233 Web address www.dynalab.com

Microsoft Corporation One Microsoft Way Redmond, WA 98052-6399 phone 206-882-8080 Web address www.microsoft.com

Note: Dynalab Inc. provides Chinese, Japanese, and Korean fonts. You can also purchase fonts from their offices in Taiwan and Hong Kong. See the Dynalab Web page for the address of these offices.

Creating Bitmap Fonts From TrueType Fonts To create bitmap fonts from TrueType fonts, you must run PrintSet under the correct language version of Windows. For example, to create a Traditional Chinese font, you must run PrintSet under Traditional Chinese Microsoft Windows. In addition, you must install the font using Microsoft Windows in order for PrintSet to correctly convert it to a bitmap font. The advantage of bitmap fonts is that they may require less RAM and the printer can image them faster. When you download bitmap characters to the printer, you must select the size of the characters. Make sure that you select the size you want to use in your formats. If you magnify the character size in the printer, the edges of the characters will be jagged. Note: You can create Traditional or Simplified Chinese bitmap fonts up to a size of 16 points at 400 dpi or 32 points at 200 dpi. The EasyCoder F4 does not support bitmapped Chinese, Japanese, or Korean fonts.

2-8

Page 35

Downloading Fonts to the Printer

2

To create bitmap fonts from TrueType fonts 1. Start PrintSet on your PC. 2. Enter PrintSet and make sure that the communications settings are correct. 3. From the PrintSet main menu, select Fonts from the Configuration menu or click the Font Setup button on the toolbar. The Font Setup dialog box appears:

4. To select a font by font name, click Select Installed Font. Select the TrueType font name from the list of installed fonts. To select a font by pathname, click Select Font Path. Select a drive and a path. Select the TrueType front file from the File name list box. 5. In the Storage Option box, click Fixed. 6. In the Size Option box, click either Point Size or Height/Width. 7. If you select Point Size, select the size of the bitmap characters in the Point Size list box. One point equals 1/72 of an inch. If you select Height/Width, enter the height and width (in inches or centimeters) of the bitmap characters in the Height and Width boxes. Note: If you enter 0 for the width, you preserve the aspect ratio of the font.

2-9

Page 36

IPL Programming Reference Manual

8. In the Character Set Selection box, you may restrict the number of bitmap characters that you want created. Restricting the number of characters will create a smaller font that requires less memory and takes less time to install. If you are creating a Chinese, Japanese, or Korean font, you must select the language you are using. You can choose from these selections: •

Japanese (Shift JIS)

•

Traditional Chinese (BIG 5)

•

Simplified Chinese (GB 2312)

•

Korean (KSC 5601)

9. From the Location list box, choose the font number you wish to assign to the font. Intermec printers identify fonts by their font number. 10. Select the View tab. The selected font and the designated printer location appear in the fonts to send box. You may select additional fonts to add to local memory. Each font must have a unique location number.

Selecting the Printer Language When you install a TrueType font, you must select the correct printer language. To choose the correct language, use the Intermec printer language (IPL) command, Printer Language, Select. If the language setting you have chosen does not work, use the default language setting.

Installing Code Page Tables If you install a Japanese, Chinese, or Korean TrueType font, you must also install the code page tables. See the “Printer Language, Select” command in Chapter 7 for a list of code pages. You can download code pages from Intermec’s Web site at www.intermec.com, and then choose Software Downloads from the Support menu. The files were compressed using Microsoft’s WinZip application and have the file extension .ZIP. After decompressing the file, install your code page as described in the procedure below. To install the code page tables in your printer 1. Copy the tables you wish to use to your PC: SJIS.PCF - Japanese (Shift JIS) BIG5.PCF - Traditional Chinese (Big 5) GB.PCF - Simplified Chinese (GB 2312) KSC.PCF - Korean (KSC5601)

2-10

Page 37

Downloading Fonts to the Printer

2

2. Use Windows HyperTerminal to configure the PC to match the printer settings. When using double-byte fonts, the recommended printer configuration is COM 1, 19,200 bits per second, no parity, 8 data bits, 1 stop bit, and XON\XOFF flow control. a. From the Start menu, select Programs and open HyperTerminal. (HyperTerminal is often located inside the Accessories folder.) The Connection Description screen appears. b. In the Connection Description window, enter a name for this connection (such as Printer) and select an icon (optional). Click OK. The Phone Number screen appears. c. In the Connect Using drop down menu, select the appropriate port. Click OK. The Port Settings screen appears. d. Enter data, matching the PC’s settings to the printer settings. Click OK. The HyperTerminal main menu appears. e. Click Transfer and select Send File. f.

In the Send File screen, locate your file, and click Send.

Using IPL Commands to Download Fonts Although the easiest way to download fonts is with PrintSet, you can also use the IPL command set to create and download user-defined bitmap and outline fonts to your Intermec printer.

Downloading Bitmap Fonts To learn more about bitmap font formats, see “Creating User-Defined Bitmap Fonts” in Appendix C.

Downloading Outline Fonts 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.

• manually convert the outline font to a format you can download to the printer.

When you convert an outline font to a format 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 or text string “AB”

2-11

Page 38

IPL Programming Reference Manual

To manually download an outline font to your printer 1. Nibblize the font data. Divide the nibblized data into separate lines preceded by the j command. (See the Outline Font, Download command in Chapter 7.) Remember to wrap the entire line in <STX> and ;<ETX>. You need short lines for limited message length protocols and to make modifying easier by 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 following example and Chapter 7, “IPL Command Reference.” 3. Send the commands to the printer using one of the methods described in Chapter 1. This is an example of a nibblized outline font file that includes IPL commands to send it directly to a printer. Command

Definition

<STX>R<ESC>C<ESC>P<ETX>

Enter Program mode.

<STX>J03,Times,1;<ETX>

Create TrueType font 3 and give it the name Times.

<STX>j0001000000110100000400604c545348efe24cd00000;<ETX>

TrueType data string.

<STX>j00ebf468646d78d956f5ab0001135800001508686561;<ETX>

TrueType data string.

<STX>j0d2000012f04000006a3706f7374d43c8176000135a8;<ETX>

TrueType data string.

: : :

Several TrueType data strings not shown due to space constraints.

<STX>j00b3008200b0008725ba0000;<ETX>

Last TrueType data string.

<STX>R<ETX>

Exit Program mode

Using Third-Party Software Applications to Download Fonts Use your third-party software to download fonts into a user-defined font format that the printer can interpret. Refer to your third-party documentation for more information.

2-12