Microsoft KB Archive/106477

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 15:04, 18 July 2020 by 3155ffGd (talk | contribs) (importing KB archive)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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:


  1. Create a backup of the existing HP4.PRD file.
  2. 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

  3. Load HP4.DOC into Word.
  4. 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 
  5. Change the "CTP:NIL" line to CTP:T1.
  6. Search for {P.
  7. 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.

  8. From the File menu, choose Save.
  9. Create a new printer driver by typing the following at the MS-DOS prompt and pressing ENTER:

    makeprd /p hp4.prd hp4.doc

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



REFERENCES

"Getting Started and Printer Information," version 6.0, page 148
"Hewlett-Packard LaserJet User's Manual", page B-6

Additional query words: 6.00

Keywords : kbprint
Issue type :
Technology :


Last Reviewed: November 4, 2000
© 2001 Microsoft Corporation. All rights reserved. Terms of Use.