hewlett-packard home products & services support solutions How to buy
» contact hp
search:
more options
 
hp.com home


hp euro SIMM (C4211A)



printable version
» 

business support home

tasks

» download drivers and software
» troubleshoot a problem
» setup, install and configure
» discover and use a product
» perform regular maintenance
» upgrade and migrate
» recycle and dispose

support resources

» contact support
» discussion groups
» frequently asked questions
» manuals
» parts information
» subscribe to notifications
» warranty information
» IT professionals
» developers
» help
» site map

developer's reference guide


Trademark Credits

Helvetica, Times Roman and Univers
are U.S. registered trademarks of Linotype AG and its subsidiaries.
CG Times
is a product of Agfa Corporation, Agfa Compugraphic Division.
Arial
and Times New Roman are U.S. registered trademarks of The Monotype Company, plc. Wingdings is a registered trademark of Microsoft Corporation.
Intellifont
is a U.S. registered trademark of Agfa Division, Miles Inc.
PostScript
is a trademark of Adobe Systems, Incorporated, which may be registered in certain jurisdictions.
TrueType
is a registered trademark of Apple Computer, Inc.
HP, LaserJet, PCL, PCL 5
and PCL 6 are U.S. registered trademarks of Hewlett Packard Company.

table of contents


Trademark Credits

Introduction

HP EURO SIMM (C4211A)

Typeface Selection

Symbol Set Selection

Typeface Metrics

Calculating TrueType Metrics

Single Rounding

Double Rounding

Calculating Bitmap Metrics


HP LASERJET PRINTERS AND THE EURO
A Non-Windows Euro Character Primer

Introduction

Hewlett-Packard has made available the Euro SIMM (C4211A) hardware solution for use with the LaserJet 5, LaserJet 6P, LaserJet 5Si and LaserJet 5Si Mopier printers. When installed into the appropriate LaserJet printer, the Euro SIMM hardware integrates the Euro character into the printer as a device font. In other words, the Euro SIMM makes the Euro character available for your application's use in the same manner that the printer makes characters from its original, on-board fonts available. It is the intent of this primer to provide you with appropriate font selection and metric information so you can access the Euro and position it on the page as required.

typeface selection


The tables found in this section contain a listing of the fonts found on this Euro DIMM. In addition, they contain the PCL 5 and PCL 6 information required for font and symbol set selection.
PCL typefaces - table 1
typeface name PCL selection commands
Albertus Extra Bold <esc>(__<esc>(s1p__v0s4b4362T
Albertus Medium <esc>(__<esc>(s1p__v0s1b4362T
Antique Olive <esc>(__<esc>(s1p__v0s0b4168T
Antique Olive Bold <esc>(__<esc>(s1p__v0s3b4168T
Antique Olive Italic <esc>(__<esc>(s1p__v1s0b4168T
Arial <esc>(__<esc>(s1p__v0s0b16602T
Arial Bold <esc>(__<esc>(s1p__v0s3b16602T
Arial Italic <esc>(__<esc>(s1p__v1s0b16602T
Arial Bold Italic <esc>(__<esc>(s1p__v1s3b16602T
CG Times <esc>(__<esc>(s1p__v0s0b4101T
CG Times Bold <esc>(__<esc>(s1p__v0s3b4101T
CG Times Italic <esc>(__<esc>(s1p__v1s0b4101T
CG Times Bold Italic <esc>(__<esc>(s1p__v1s3b4101T
CG Omega <esc>(__<esc>(s1p__v0s0b4113T
CG Omega Bold <esc>(__<esc>(s1p__v0s3b4113T
CG Omega Italic <esc>(__<esc>(s1p__v1s0b4113T
CG Omega Bold Italic <esc>(__<esc>(s1p__v1s3b4113T
Clarendon Condensed <esc>(__<esc>(s1p__v4s3b4140T
Coronet <esc>(__<esc>(s1p__v1s0b4116T
Courier <esc>(__<esc>(s1p__h0s0b4099T
Courier Bold <esc>(__<esc>(s1p__h0s3b4099T
Courier Italic <esc>(__<esc>(s1p__h1s0b4099T
Courier Bold Italic <esc>(__<esc>(s1p__h1s3b4099T
CourierPS <esc>(__<esc>(s1p__h0s0b24579T
CourierPS Bold <esc>(__<esc>(s1p__h0s3b24579T
CourierPS Oblique <esc>(__<esc>(s1p__h1s0b24579T
CourierPS Bold Oblique <esc>(__<esc>(s1p__h1s3b24579T
Garamond Antiqua <esc>(__<esc>(s1p__v0s0b4197T
Garamond Halbfett <esc>(__<esc>(s1p__v0s3b4197T
Garamond Kursiv <esc>(__<esc>(s1p__v1s0b4197T
Garamond Kursiv Halbfett <esc>(__<esc>(s1p__v1s3b4197T
Letter Gothic <esc>(__<esc>(s1p__h0s0b4102T
Letter Gothic Bold <esc>(__<esc>(s1p__h0s3b4102T
Letter Gothic Italic <esc>(__<esc>(s1p__h1s0b4102T
Marigold <esc>(__<esc>(s1p__v0s0b4297T
Times New <esc>(__<esc>(s1p__v0s0b16901T
Times New Bold <esc>(__<esc>(s1p__v0s3b16901T
Times New Italic <esc>(__<esc>(s1p__v1s0b16901T
Times New Bold Italic <esc>(__<esc>(s1p__v1s3b16901T
Univers Medium <esc>(__<esc>(s1p__v0s0b4148T
Univers Bold <esc>(__<esc>(s1p__v0s3b4148T
Univers Medium Italic <esc>(__<esc>(s1p__v1s0b4148T
Univers Bold Italic <esc>(__<esc>(s1p__v1s3b4148T
Univers Medium Condensed <esc>(__<esc>(s1p__v4s0b4148T
Univers Bold Condensed <esc>(__<esc>(s1p__v4s3b4148T
Univers Medium Condensed Italic <esc>(__<esc>(s1p__v5s0b4148T
Univers Bold Condensed Italic <esc>(__<esc>(s1p__v5s3b4148T
LinePrinter <esc>(9N<esc>(s0p16.66h8.5v0s0b0T

PCL 6 typefaces - table 2
typeface name PCL 6 font name
Albertus Extra Bold [65 108 98 101 114 116 117 115 32 32 32 32 32 32 88 98] AlbertusXb
Albertus Medium [65 108 98 101 114 116 117 115 32 32 32 32 32 32 77 98] AlbertusMb
Antique Olive [65 110 116 105 113 79 108 105 118 101 32 32 32 32 32 32] AntiqOlive
Antique Olive Bold [65 110 116 105 113 79 108 105 118 101 32 32 32 32 66 100] AntiqOliveBd
Antique Olive Italic [65 110 116 105 113 79 108 105 118 101 32 32 32 32 73 116] AntiqOliveIt
Arial [65 114 105 97 108 32 32 32 32 32 32 32 32 32 32 32] Arial
Arial Bold [65 114 105 97 108 32 32 32 32 32 32 32 32 32 66 100] ArialBd
Arial Italic [65 114 105 97 108 32 32 32 32 32 32 32 32 32 73 116] ArialIt
Arial Bold Italic [65 114 105 97 108 32 32 32 32 32 32 32 66 100 73 116] ArialBdIt
CG Times [67 71 32 84 105 109 101 115 32 32 32 32 32 32 32 32] CGTimes
CG Times Bold [67 71 32 84 105 109 101 115 32 32 32 32 32 32 66 100] CGTimesBd
CG Times Italic [67 71 32 84 105 109 101 115 32 32 32 32 32 32 73 116] CGTimesIt
CG Times Bold Italic [67 71 32 84 105 109 101 115 32 32 32 32 66 100 73 116] CGTimesBdIt
CG Omega [67 71 32 79 109 101 103 97 32 32 32 32 32 32 32 32] CGOmega
CG Omega Bold [67 71 32 79 109 101 103 97 32 32 32 32 32 32 66 100] CGOmegaBd
CG Omega Italic [67 71 32 79 109 101 103 97 32 32 32 32 32 32 73 116] CGOmegaIt
CG Omega Bold Italic [67 71 32 79 109 101 103 97 32 32 32 32 66 100 73 116] CGOmegaBdIt
Clarendon Condensed [67 108 97 114 101 110 100 111 110 32 32 32 67 100 66 100] ClarendonCdBd
Coronet [67 111 114 111 110 101 116 32 32 32 32 32 32 32 32 32] Coronet
Courier [67 111 117 114 105 101 114 32 32 32 32 32 32 32 32 32] Courier
Courier Bold [67 111 117 114 105 101 114 32 32 32 32 32 32 32 66 100] CourierBd
Courier Italic [67 111 117 114 105 101 114 32 32 32 32 32 32 32 73 116] CourierIt
Courier Bold Italic [67 111 117 114 105 101 114 32 32 32 32 32 66 100 73 116] CourierBdIt
CourierPS [67 111 117 114 105 101 114 80 83 32 32 32 32 32 32 32] CourierPS
CourierPS Bold [67 111 117 114 105 101 114 80 83 32 32 32 32 32 66 100] CourierPSBd
CourierPS Oblique [67 111 117 114 105 101 114 80 83 32 32 32 32 32 73 116] CourierPSIt
CourierPS Bold Oblique [67 111 117 114 105 101 114 80 83 32 32 32 66 100 73 116] CourierPSBdIt
Garamond Antiqua [71 97 114 97 109 111 110 100 32 65 110 116 105 113 117 97] GaramondAntiqua
Garamond Halbfett [71 97 114 97 109 111 110 100 32 32 32 32 32 72 108 98] GaramondHlb
Garamond Kursiv [71 97 114 97 109 111 110 100 32 32 32 32 75 115 114 118] GaramondKsrv
Garamond Kursiv Halbfett [71 97 114 97 109 111 110 100 32 75 115 114 118 72 108 98] GaramondKsrvHlb
Letter Gothic [76 101 116 116 101 114 71 111 116 104 105 99 32 32 32 32] LetterGothic
Letter Gothic Bold [76 101 116 116 101 114 71 111 116 104 105 99 32 32 66 100] LetterGothicBd
Letter Gothic Italic [76 101 116 116 101 114 71 111 116 104 105 99 32 32 73 116] LetterGothicIt
Marigold [77 97 114 105 103 111 108 100 32 32 32 32 32 32 32 32] Marigold
Times New [84 105 109 101 115 78 101 119 82 109 110 32 32 32 32 32] TimesNewRmn
Times New Bold [84 105 109 101 115 78 101 119 82 109 110 32 32 32 66 100] TimesNewRmnBd
Times New Italic [84 105 109 101 115 78 101 119 82 109 110 32 32 32 73 116] TimesNewRmnIt
Times New Bold Italic [84 105 109 101 115 78 101 119 82 109 110 32 66 100 73 116] TimesNewRmnBdIt
Univers Medium [85 110 105 118 101 114 115 32 32 32 32 32 32 32 77 100] UniversMd
Univers Bold [85 110 105 118 101 114 115 32 32 32 32 32 77 100 73 116] UniversMdIt
Univers Medium Italic [85 110 105 118 101 114 115 32 32 32 32 32 32 32 66 100] UniversBd
Univers Bold Italic [85 110 105 118 101 114 115 32 32 32 32 32 66 100 73 116] UniversBdIt
Univers Medium Condensed [85 110 105 118 101 114 115 32 32 32 32 32 67 100 77 100] UniversCdMd
Univers Bold Condensed [85 110 105 118 101 114 115 32 32 32 32 32 67 100 77 100] UniversBdCd
Univers Medium Condensed Italic [85 110 105 118 101 114 115 32 32 32 32 32 67 100 66 100] UniversMdCdIt
Univers Bold Condensed Italic [85 110 105 118 101 114 115 32 32 32 67 100 66 100 73 116] UniversBdCdIt
LinePrinter [76 105 110 101 32 80 114 105 110 116 101 114 32 32 48 78] LinePrinter9N

symbol set selection


Table 3 below lists the symbol sets, supplied by the Euro SIMM, which contain the Euro character. It is important to note that in order to print the Euro, the unbound typefaces on the Euro SIMM must be used in conjunction with one of the symbol sets that contain the Euro character. The unbound typefaces listed in Tables 1 and 2 can easily be identified by the underscore ( __ ) in their Symbol Set value field. This character indicates that you can fill in this field with any valid symbol set value. Remember, only those symbol sets listed in Table 3 contain the Euro character.

euro-enabled symbol sets - table 3
symbol set name PCL value PCL 6 character code

Windows 3.0 Latin 1

9U

309

[128]

Windows 3.1 Latin 1

19U

629

[128]

Windows 3.1 Latin 2

9E

293

[128]

Windows 3.1 Latin 5

5T

180

[128]

Windows Baltic

19L

620

[128]

ISO 8859-15 Latin-9

9N

302

[164]

PC-858

13U

437

[213]

PS Math

5M

173

[240]

MC Text

12J

394

[219]

Roman 9

4U

149

[186]

The LinePrinter typeface is the only bound typeface listed in Table 1 and Table 2. By definition, bound typefaces contain their own symbol set mapping and cannot access characters from any other symbol set. Therefore, we have included the Euro character in the LinePrinter typeface that contains the ISO 8859-15 Latin-9 (9N) symbol set value. Be sure to use this symbol set values when attempting to print the Euro character in the LinePrinter typeface.

typeface metrics


This section provides the metric information for the Euro character. Table 4 below depicts each typeface and the Euro width value. The width value, expressed as HorzEsc, is taken either from the TrueType, Intellifont or Bitmap font directly. Each value represents the width of the Euro relative to the TrueType design window, the Intellifont design window or the Bitmap font resolution, respectively. You can find information for converting these data into PCL Units of Measure immediately following Table 4.

typefaces - table 4
typeface name HorzEsc
Albertus Extra Bold 1360
Albertus Medium 1284
Antique Olive 1208
Antique Olive Bold 1360
Antique Olive Italic 1208
Arial 1479
Arial Bold 1479
Arial Italic 1479
Arial Bold Italic 1479
CG Times 1020
CG Times Bold 1020
CG Times Italic 1020
CG Times Bold Italic 1020
CG Omega 1133
CG Omega Bold 1133
CG Omega Italic 1133
CG Omega Bold Italic 1133
Clarendon Condensed 906
Coronet 831
Courier 1229
Courier Bold 1229
Courier Italic 1229
Courier Bold Italic 1229
CourierPS 1229
CourierPS Bold 1229
CourierPS Oblique 1229
CourierPS Bold Oblique 1229
Garamond Antiqua 982
Garamond Halbfett 1020
Garamond Kursiv 982
Garamond Kursiv Halbfett 1020
Letter Gothic 1024
Letter Gothic Bold 1024
Letter Gothic Italic 1024
Marigold 755
Times New 1366
Times New Bold 1479
Times New Italic 1366
Times New Bold Italic 1366
Univers Medium 1284
Univers Bold 1284
Univers Medium Italic 1284
Univers Bold Italic 1284
Univers Medium Condensed 944
Univers Bold Condensed 982
Univers Medium Condensed Italic 944
Univers Bold Condensed Italic 982
LinePrinter 18

calculating TrueType metrics


In order to convert TrueType metric information into PCL Units of Measure, you must first determine whether the typeface used requires single or double  rounding calculations, and then use the appropriate formula. You will find that each typeface is listed in the appropriate rounding secton.



single rounding - applicable typefaces

Albertus Extra Bold
Albertus Medium
Antique Olive
Antique Olive Bold
Antique Olive Italic
CG Times
CG Times Bold
CG Times Italic
CG Times Bold Italic
CG Omega
CG Omega Bold
CG Omega Italic
CG Omeaga Bold Italic
Clarendon Condensed
Courier
Courier Bold
Courier Italic
Courier Bold Italic
Garamon Antiqua
Garamond Halbfett
Garamond Kursiv
Garamond Kursiv Halbfett
Letter Gothic
Letter Gothic Bold
Letter Gothic Italic
Univers Medium
Univers Bold
Univers Medium Italic
Univers Bold Italic
Univers Medium Condensed
Univers Bold Condensed
Univers Medium Condensed Italic
Univers Bold Condensed Italic

EMsize = round(c * b * dpi)

x = round(d/e * EMsize * uom/dpi)

Where:

EMsize = size of EM in device resolution dots

c = point size of font

b = inches per point

dpi = device resolution

x = desired metric value in units of measure

d = metric value in Design Units (HorzExt)

e = number of Design Units in the design EM

uom = PCL Units of Measure

As you can see, most of the values for these variables are supplied by your application, and depend upon the font selection criteria at print time. The exceptions are 'd' and 'e'. Table 4 supplies the value for the variable 'd', while 'e' is the constant value 2048.

Here's an example usage of the TrueType metric conversion formula supplied above.

TrueType Method:

Albertus ExtraBold

11 point at 600 dpi, 300 uom

Assume the following values:

b = 1 inch/72 points

c = 11 points

d = 1360 Design Units

e = 2048 Design Units

dpi = 600 dots per inch

uom = 300 PCL Units of Measure

EMsize = 11 * 1/72 * 600

= 91.66 dots

= 92 dots

x = round(1360/2048 * 91.66 * 300/600)

= round(30.433)

= 30 PCL Units of Measure



double rounding - applicable typefaces

Arial
Arial Bold
Arial Italic
Arial Bold Italic
Coronet
Marigold
Times New
Times New Bold
Times New Italic
Times New Bold Italic

EMsize = round(c * b * dpi)

x = round(d/e * EMsize * uom/dpi)

Where:

EMsize = size of EM in device resolution dots

c = point size of font

b = inches per point

dpi = device resolution

x = desired metric value in units of measure

d = metric value in Design Units (HorzExt)

e = number of Design Units in the design EM

uom = PCL Units of Measure

Here is an example usage of the TrueType metric conversion formula supplied above.

TrueType Method:

Arial

11 point at 600 dpi, 300 uom

Assume the following values:

b = 1 inch/72 points

c = 11 points

d = 1139 Design Units

e = 2048 Design Units

dpi = 600 dots per inch

uom = 300 PCL Units of Measure

EMsize = round(11 * 1/72 * 600)

= round(91.66)

= 92 dots

x = round(1139/2048 * 92 * 300/600)

= round(25.583)

= 26 PCL Units of Measure

calculating bitmap metrics


In the case of the LinePrinter typeface, the metric data is resolution specific. The resolution of the LinePrinter supplied by HP Euro DIMM is 300 dpi. As such, the metric data describes the width of the Euro in 1/300-inch increments. To convert this value inches, simply divide it by 300.

18

----- = .06 inches (16.67 characters per inch)

300

» faq
» technical documents
» related links
privacy statement using this site means you accept its terms feedback to webmaster
© 1994-2003 Hewlett-Packard Company