Download Information Dialog Box
A number of sets of downloadable font commands can be set up for the minidriver. To specify downloadable font commands, select Font Info from the Printer Data menu on the minidriver’s Printer Data window. Then select DownloadInfo to display the initial Download Info dialog box.
To select an existing set of downloadable font commands, highlight the desired set of DownLoad Info commands to edit on the minidriver’s Printer Data window. Then double click on the selection to display the Download Info dialog box.
The Download Info dialog box supports the commands and data required to download soft fonts for Hewlett Packard printers. These printer operate using HPPCL. Downloading fonts to other types of printer models is not supported by RasDD. A soft font is a special font stored on a disk and copied or downloaded to the printer’s RAM before it can be used.
A soft font has two components: the font-descriptor component and the character-descriptor component. The font-descriptor component specifies the font’s metrics (measurements such as the character-cell dimensions, pitch, x-height, stroke weight, and so on). The character-component contains bitmaps for individual characters in a soft font.
Soft fonts are temporary as opposed to permanent cartridge- or ROM-resident fonts. When a printer is reset, soft fonts are deleted. This information is needed to download TrueType fonts to the HP LaserJet Series II, and later HP LaserJet printers. RasDD supports downloading TrueType fonts as bitmapped fonts, but not as downloaded scalable fonts.
When you finish entering data in the Download Info dialog box:
·Click the OK button to accept the additions or changes.
·Click the Add button to add an additional set of commands.
·Use the Previous or Next buttons to page to the preceding or next set of commands.
·Click the Delete button to delete a set of commands.
Font ID Value Limits
The HPPCL requires a special identifier to be assigned to a soft font before downloading. The Minimum ID and Maximum ID boxes specify the minimum and maximum allowable font ID values.
Note The ID values listed apply only to downloaded TrueType fonts. Other downloaded fonts installed with the font installer use ID values supplied to the font installer.
HP LaserJet IIP: 1 is used to specify the minimum allowable font ID for the Minimum ID box. The Maximum ID box specifies the maximum allowable font ID value.
Bitmap Font Information
The Bitmap Font Info box contains the cbBitMapFontDescriptor and cbBitMapCharDescriptor controls that specify the font size and character-size, in bytes. They are descriptors for a bitmapped font.
HP LaserJet IIP: Use 64 for the cbBitMapFontDescriptor box and 16 for the cbBitMapCharDescriptor box. The character descriptor for each symbol in the font requires 16 bytes.
Maximum Font Count
The sMaxFontCount box specifies the maximum number of fonts that can be downloaded at any given point in time.
HP LaserJet IIP: Use -1 for the sMaxFontCount box. This means the number of fonts that can be downloaded to the printer is unlimited (except by available printer memory).
General Download Information Dialog Box
Click the fGeneral button to display the fGeneral dialog box. The fGeneral dialog box contains boxes that specify printer limitations and features related to downloaded fonts as follows:
Control | Description |
DLI_GEN_MEMORY | The number of downloaded fonts is limited by available memory. |
DLI_GEN_DIJOB | The printer downloads fonts on a per-job basis. |
DLI_GEN_DLPAGE | The printer downloads fonts on a per-page basis. |
DLI_GEN_PT_IDS | The printer requires a font ID value in order to make the font temporary or permanent. |
DLI_GEN_FNTDEL_ ANYWHERE |
Fonts can be deleted anywhere on the page. By default, fonts may be deleted only at page boundaries. |
HP LaserJet IIP: Check the DLI_GEN_MEMORY box and the DLI_GEN_PT_IDS box.
Format Information Dialog Box
Click the fFormat button to display the fFormat dialog box. The fFormat dialog box provides information that RasDD uses to support TrueType on Hewlett-Packard printers that use HPPCL. The fFormat dialog box has these controls:
Control | Description |
DLI_FMT_PCL | The printer uses HPPCL. |
DLI_FMT_INCREMENT | The printer downloads only those characters required to print a single job. If this box is not checked, RasDD downloads the entire character set to the printer for a given font. |
DLI_FMT_PCL_RESSPEC | The printer supports HPPCL bitmap fonts in which the x and y resolutions are specified at the end of the download header. |
DLI_FMT_OUTLINE | (not supported by Windows NT) |
DLI_FMT_CAPSL | The printer supports CaPSL style font downloading. |
DLI_FMT_PPDS | The printer supports PPDS style font downloading. |
DLI_FMT_CALLBACK | Downloading is supported by a callback function. For more information about the callback function, see Minidriver Callback Functions. |
HP LaserJet IIP: Check the DLI_FMT_PCL and the DLI_FMT_INCREMENT boxes.
DLI_OCD_BEGIN_DL_JOB
The DLI_OCD_BEGIN_DL_JOB command begins downloading.
HP LaserJet IIP: The DLI_OCD_BEGIN_DL_JOB box is empty.
DLI_OCD_BEGIN_FONT_DL
The DLI_OCD_BEGIN_FONT_DL command begins downloading fonts.
HP LaserJet IIP: The DLI_OCD_BEGIN_FONT_DL box is empty.
DLI_OCD_SET_FONT_ID
The DLI_OCD_SET_FONT_ID command sets the identifier of the font. This command assigns an integer value to a downloadable font. This integer value is the value that RasDD uses to refer to the font.
HP LaserJet IIP: Use the Assign Font ID command (esc*cnD) to assign an ID value to a font. This value can be used to select or delete the font after it is downloaded.
To specify the command, type the following in the DLI_OCD_SET_FONT_ID box:
\x1B*c%dD
DLI_OCD_SEND_FONT_DESCRIPTOR
The DLI_OCD_SEND_FONT_DESCRIPTOR command downloads the font-descriptor data to a printer.
HP LaserJet IIP: Use the Font Descriptor command (esc)snW) to download font descriptor data to the printer for the font whose ID is specified by the argument n. Font Descriptor data is data that is common to all characters in a font; this data includes: the dimensions of the character cell, the orientation of the characters, the x-height, the stroke weight, the first character code, the last character code, and so on.
To specify the command, type the following string in the DLI_OCD_SEND_FONT_DESCRIPTOR box:
\x1B)s%dW
DLI_OCD_SELECT_FONT_ID
The DLI_OCD_SELECT_FONT_ID command selects the downloadable font identified by a particular integer value.
HP LaserJet IIP: Use the Font Selection by ID command (esc(nX) to select the downloaded font with the ID value of n.
To specify the command, type the following string in the DLI_OCD_SELECT_FONT_ID box:
\x1B(%dX
DLI_OCD_SET_CHAR_CODE
The DLI_OCD_SET_CHAR_CODE command identifies the next character to be printed.
HP LaserJet IIP: Use the Character Code command (esc*cnE) to designate the character code associated with the next character to be downloaded.
To specify the command, type the following in the DLI_OCD_SET_CHAR_CODE box:
\x1B*c%dE
DLI_OCD_SEND_CHAR_DESCRIPTOR
The DLI_OCD_SEND_CHAR_DESCRIPTOR command downloads the character-descriptor and character-data components for a font.
HP LaserJet IIP: Use the Character Descriptor and Data command (esc(snW) to download n bytes of character descriptors and character data for a font.
To specify the command, type the following in the DLI_OCD_SEND_CHAR_DESCRIPTOR box:
\x1B(s%dW
DLI_OCD_END_FONT_DL
The DLI_OCD_END_FONT_DL command signals the completion of the download-font process.
HP LaserJet IIP: The DLI_OCD_END_FONT_DL box is empty.
DLI_OCD_MAKE_PERM
The DLI_OCD_MAKE_PERM command makes a downloadable font permanent.
HP LaserJet IIP: Use the Font Control command (esc*cnF) to delete downloaded fonts, make downloaded fonts temporary, make downloaded fonts permanent, and so on. If n is 5, the font is made permanent.
To specify the command that makes a font permanent, type the following in the DLI_OCD_MAKE_PERM box:
\x1B*c5F
DLI_OCD_MAKE_TEMP
The DLI_OCD_MAKE_TEMP command makes a downloadable font temporary.
HP LaserJet IIP: Use the Font Control command (esc*cnF) to delete downloaded fonts, make downloaded fonts temporary, make downloaded fonts permanent, and so on. If n is 4, the font is made temporary.
To specify the command that makes a font temporary, type following in the DLI_OCD_MAKE_TEMP box:
\x1B*c4F
DLI_OCD_END_DL_JOB
The DLI_OCD_END_DL_JOB command signals the completion of a print-job that used downloaded fonts.
HP LaserJet IIP: Not required. The DLI_OCD_END_DL_JOB box is empty.
DLI_OCD_DEL_FONT
The DLI_OCD_DEL_FONT command deletes a single downloaded font from the printer’s memory.
HP LaserJet IIP: Use the Font Control command (esc*cnF) to delete downloaded fonts, make downloaded fonts temporary, make downloaded fonts permanent, and so on. If n is 2, the font whose ID was last specified is deleted.
To specify the command that deletes the last identified downloaded font, type the following in the DLI_OCD_DEL_FONT box:
\x1B*c2F
DLI_OCD_DEL_ALL_FONTS
The DLI_OCD_DEL_ALL_FONTS command deletes all downloaded fonts from the printer’s memory.
HP LaserJet IIP: Use the Font Control command (esc*cnF) to delete downloaded fonts, make downloaded fonts temporary, make downloaded fonts permanent, and so on. If n is 0, all downloaded fonts are deleted.
To specify the command that deletes all downloaded fonts, type the following in the DLI_OCD_DEL_ALL_FONTS box:
\x1B*c0F
DLI_OCD_SET_SECOND_FONT_ID
The DLI_OCD_SET_SECOND_FONT_ID command sends printer control codes that designate a font identifier. For languages that only support 128 characters per downloaded font (for example, CaPSL), the identifier is that of the secondary character set (128-255).The printing engine or font installer supplies font identifiers.
HP LaserJet IIP: The DLI_OCD_SET_SECOND_FONT_ID box is empty.
DLI_OCD_SELECT_SECOND_FONT_ID
The DLI_OCD_SELECT_SECOND_FONT_ID command selects the specified downloaded font. For languages that only support 128 characters per downloaded font (for example, CaPSL), the command selects the secondary character set (128-255).
HP LaserJet IIP: The DLI_OCD_SELECT_SECOND_FONT_ID box is empty.