Microsoft KB Archive/106477

{|
 * width="100%"|

Different Symbols or Special Characters Print on HP LaserJet 4

 * }

Q106477

-

The information in this article applies to:


 * Microsoft Word for MS-DOS, version 6.0

-

SYMPTOMS
If you try to insert special symbols when using the Hewlett-Packard (HP) LaserJet 4 printer with Word, you will not have access to the same symbols you have access to with other printers.

CAUSE
This problem occurs because the HP 4 printer has built-in TrueType font support. With other printers, Word changes the TrueType character set to give you access to more common characters--the trademark and copyright symbols, for example.

STATUS
Microsoft has confirmed this to be a problem in Microsoft Word for MS-DOS version 6.0. We are researching this problem and will post new information here as it becomes available.

RESOLUTION
To access special characters on the HP 4, you must modify the HP4.PRD printer driver.

Use the following steps to modify the printer driver:

 Create a backup of the existing HP4.PRD file.  Create a text file from the HP4.PRD file: from the MS-DOS prompt, make sure Word is the current directory, type the following, and press ENTER: "makeprd /t hp4.prd hp4.doc" Load HP4.DOC into Word.  From the Edit menu, choose Search, and type TimesNewRoman in the "Text to Search for" box.

The font description section will look like the following:      {F24 CTP:NIL cPSDs:1

FontSize:0 Wtps:W25 W26 W27 W28 beginmod:8 "^[(10U^[(s16901t0s0b1P" endmod:0 "^[(10U^[(s3t12vpsb10H" beginItalicmod:0 "^[(10U^[(s16901t1s0b1P" endItalicmod:0 "^[(10U^[(s3t12vpsb10H" beginBoldmod:0 "^[(10U^[(s16901t0s3b1P" endBoldmod:0 "^[(10U^[(s3t12vpsb10H" beginItalBoldmod:0 "^[(10U^[(s16901t1s3b1P" endItalBoldmod:0 "^[(10U^[(s3t12vpsb10H" DLF:0 LineSpacing:250 FontName:TimesNewRoman }F  Change the "CTP:NIL" line to CTP:T1. Search for {P.  Above the {P section add the following new section:      {T1 cCSD:1 chFirst:166 chLast:167 166: "^[(19U^0d147 ^[(10U" 167: "^[(19U^0d148 ^[(10U" }T Note: This is a Character Translation Table (CTT). See the "Getting Started and Printer Information" manual for more information on the CTT.

This change remaps ASCII 166 and 167 to smart quotation marks. Word uses the Windows 3.1 ANSI symbol set to access the quotation marks. The Windows ANSI set is defined as 19U (see page B-6 in the HP LaserJet user's manual.) The smart quotation mark characters are defined as 147 and 148. </li> From the File menu, choose Save.</li>  Create a new printer driver by typing the following at the MS-DOS prompt and pressing ENTER: "makeprd /p hp4.prd hp4.doc"</li></ol>

To access the smart quotation marks, press ALT+166 and ALT+167 and format the characters as TimesNewRoman.

Word will look at the CTT and replace 166 and 167 with the Windows ANSI symbol set.

MORE INFORMATION
Additional Windows 3.1 ANSI set character numbers:

Copyright 169

Trademark 153

Registration 174