10/10/03

5.3.Downloadable font manipulation

Fonts that you have bought on diskette can be downloaded to the printer from diskette or hard disk using the DOS COPY command or a font downloading applications program. To create your own fonts you can use PCL commands to send the various blocks of data that comprise a downloadable font. There are also a number of PCL commands that enable you to manage fonts that you have already downloaded (both those that you have bought and those you may have created yourself).

If you are using commercially available fonts consult the documentation that came with them for information on how best to send them to the printer.

5.3.1.Font ID

Esc&*c#D (27)(38)(42)(99)#(68)

<1Bh><26h><2Ah><63h>#<44h>

This command identifies the numerical ID of the font on which subsequent operations will be performed.

# is the font ID number.

Use this command to specify the ID number of a font that you are about to download, or of a font already in printer memory that you want to perform a particular operation on.

If you specify the number of a font that already exists in memory and then download a new font from your computer, the new font will overwrite the original font and assume the ID number that you specified.

5.3.2.Operations on downloaded fonts

Esc*c#F (27)(38)(42)(99)#(70)

<1Bh><26h><2Ah><63h>#<46h>

This command performs an operation on one or more downloaded fonts.

# identifies the operation to be performed.

# = 0 Delete all downloaded fonts from the printer’s memory.

# = 1 Delete all temporary fonts from the printer’s memory.

(Fonts can be made permanent so as to be saved when the printer is reset - see below).

# = 2 Delete the font (whose ID number was most recently specified) from the printer’s memory.

# = 3 Delete the character (whose character code was most recently specified) from the font (whose ID number was most recently specified).

(The command for specifying a character code is given in the section entitled Creating Downloadable Fonts).

# = 4 Make the font (whose ID number was most recently specified) temporary

# = 5 Make the font (whose ID number was most recently specified) permanent

# = 6 Make/Assign a copy of the current font (primary or secondary) with the last specified ID number.

# = 1026 Delete the font (whose ID number was most recently specified) from the storage device.

# = 1028 Delete all download fonts in the storage device.

# = 1029 Save the font (whose ID number was most recently specified) into the storage device.

(All download fonts in the storage device are permanent fonts.)

Note: #=1026, 1028, 1029 are available only when a storage device is installed into the printer.

5.3.3.Selecting a downloaded font

Esc(#X (27)(40)#(88) <1Bh><28h>#<58h>

This command selects a downloaded font as the primary font.

Esc)#X (27)(41)#(88) <1Bh><29h>#<58h>

This command selects a downloaded font as the secondary font.

# is the ID number of the downloaded font.

CHAPTER 2 "PCL" - 49

Page 67
Image 67
Homelite HL-1660E Downloadable font manipulation, Esc&*c#D 27384299#68, Esc*c#F 27384299#70, Esc#X 2740#88 1Bh28h#58h