Editing a Font Map File pclreader.gif

Open a FONT MAP file in a text editor, and scroll down to the Optional Section of the file. Enter the following information for each replacement font after the font header:

DFID is a Download
font ID.

This can be used in the <ESC>*c#D command (Ignore the values assigned by PCLTool).

 

Note: The "-1" means a wildcard (can be any value). A "-2" is reserved for internal use.

TypeFace is a typeface ID. (TypeFaceID)

This can be used in the <ESC>(s#T command (Ignore the values assigned by PCLTool).

Font Name:
(InternalFontName)

The typeface family name of the .FF1 font.

Spacing:

Fixed = 0

Proportional = 1

 

Pitch:

Scalable = 0

CPI 16.67 = 1667

 

Base fonts with pitch values indicate the scalable fonts that are provided only to generate on-the-fly font substitutions for the resident bitmap fonts found resident on an HP Series III printer. These fonts would need to be added to a FONT MAP file in order for the application developer to use them as scalable fonts. For example, HPCOBxx is only used to generate Courier 10 and 12 point bitmap fonts. If you wanted to generate a 30 point Courier, like you can with Univers or CG Times, you must add HPCOBxx to a FONT MAP file ("-F" command line parameter. Your application would then need to identify the font to be used either by TypeFace Id (TypeFace) or download font ID (DFID).

Size: (Point Size)

Scalable = 0

8.0, 9.0, 10.0 ... Points = 80, 90, 100,

Weight:

Normal = 0

 

 

 

Style:

0 = Upright

24 = Expanded

 

 

 

1 = Italic

32 = Outline

 

 

 

4 = Condensed

64 = Inline

 

 

 

5 = Cond. Italic

128 = Shadowed

 

 

 

 

 

 

 

Type: (Font Type)

Bitmap = 0

Scalable = 1

The type of font being selected for substitution

Symbol: (Symbol Set)

Kind1#= #

 

See Kind1 detail below

 

Kind1

SymSetID

HP Abbv.

Symbol Set Name

2/12

0B/0L

 

Linedraw

1/13

0A/0M

 

Math-7

14

0N

E1

ISO 8859/1 Latin 1

15

0O

 

OCR-A

21

0U

US

ASCII (ISO 6)

25

0Y

 

3 of 9 Barcode

47

1O

 

OCR-B

53

1U

LG

Legal

76

2L

 

Tax Linedraw

78

2N

E2

ISO 8859/2 Latin 2

153

4Y

 

Interleaved 2 of 5 Barcode

173

5M

MS

PostScript Math

174

5N

E5

ISO 8859/9 Latin 5

180

5T

WT

Windows 3.1 Latin 5

202

6J

PB (PG)

Microsoft Publishing

205

6M

VM

Ventura Math

206

6N

E6

ISO 8859/10 Latin 6

234

7J

DT

Desktop

269

8M

M8

Math-8

277

8U

R8

Roman-8

281

8Y

 

UPC/EAN Barcode

293

9E

WE

Windows 3.1 Latin 2

298

9J

PU

PC-1004

300

9L

DV

Ventura ITC Zapf Dingbats

308

9T

PT

PC-8 Turkish

309

9U

W0

Windows 3.0 Latin 1

330

10J

PS

PostScript Text

332

10L

DS

PostScript ITC Zapf Dingbats

335

10O

 

MICR (E13B)

341

10U

PC

PC-8, Code Page 437

354

11L

D1

ITC Zapf Dingbats Series 100

373

11U

PD

PC-8 D/N (Denmark/Norway)

394

12J

MC

MC Text

396

12L

D2

ITC Zapf Dingbats Series 200

405

12U

PM

PC-850 Multilingual

426

13J

VI

Ventura International

428

13L

D3

ITC Zapf Dingbats Series 300

458

14J

 

Ventura US

473

14Y

 

MICR (CMC-7)

488

15H

PH

Latin\Hebrew

501

15U

PI

Pi Font

505

15Y

 

USPS ZIP Barcode

565

17U

PE

PC-852 Latin 2 (Polish/Hungarian)

620

19L

WL

Windows Baltic

621

19M

AS

Symbol

629

19U

W1

Windows 3.1 Latin 1

853

26U

PV

PC-775

18540

579L

L$

Windows Wingdings

Note: This is a partial list of the Symbol Set Selection table (refer to HP documentation for the complete table).

Kind1 Value = the Symbol Set value field in the Font Header. It is computed by taking the value field for the symbol set, multiplying it by 32, adding the decimal (ASCII) value termination character (the symbol set ID character value) of the escape sequence, and subtracting - 64.

(Escape Sequence Value Field Value * 32) + (Decimal Value of Escape Sequence Termination)

+

(Decimal Value of Escape Sequence Termination Character - 64)

To calculate the Kind1 value for the symbol set 19M (M=ASCII 77): Symbol Set 19M = (19*32) + (77-64) = 621

HMI:

Fixed Pitch = #

Proportional = 0

(HMI = Horizontal Motion Index)

 

 

 

This is used to adjust the width of the space character of monospaced fonts.

DlStatus:

Off = 0

On = 1

Download as permanent

The DlStatus parameter is used to determine whether the font should be downloaded as a permanent font in applications where the user has an HP PCL4 or better printer and where these fonts will be used frequently during one session of program execution (i.e. professional tax preparation software).

WinFont

Off = 0

On = 1

Windows font converted w/WinFMove

Wscale

Normal=100

0-99=Shrink

101+ = Expand (Width scaling factor)

The full scalability of any FastFonts can be called by the application generating a HP PCL file. There are two font selection escape sequences that can be used to access a "resident" FastFont:

<ESC>*c#D

Where # = the Font Map DFID number (not the HP Font ID)

or

 

<ESC>(s#T

Where # = the FastFont TypeFace (This is the less reliable method of the two. The TypeFace is a unique number that may conflict with the HP TypeFace numbers defined in the HP Developer's Guide.)

In addition, you must use the escape codes to indicate the point size and pitch.

The first time that you run PCLTool with a new FONT MAP file, be sure to set the Rescan Fonts Convert Preference to "rescan" the available fonts. The rescan feature makes PCLTool re-inventory all of the fonts that are available to it by appending the fonts listed in the FONT MAP file to those that are tabled within PCLTool.

limitations.gif

PCLReader users are provided access to the PTC32.map file.  However, no edits will take effect.