Microsoft KB Archive/106477: Difference between revisions

From BetaArchive Wiki
(importing KB archive)
 
m (Text replacement - """ to """)
 
Line 54: Line 54:
<blockquote>'''makeprd /t hp4.prd hp4.doc'''</blockquote></li>
<blockquote>'''makeprd /t hp4.prd hp4.doc'''</blockquote></li>
<li>Load HP4.DOC into Word.</li>
<li>Load HP4.DOC into Word.</li>
<li><p>From the Edit menu, choose Search, and type '''TimesNewRoman''' in the &quot;Text to Search for&quot; box.<br />
<li><p>From the Edit menu, choose Search, and type '''TimesNewRoman''' in the "Text to Search for" box.<br />
<br />
<br />
The font description section will look like the following:</p>
The font description section will look like the following:</p>
Line 63: Line 63:
       FontSize:0
       FontSize:0
       Wtps:W25 W26 W27 W28
       Wtps:W25 W26 W27 W28
       beginmod:8 &quot;^[(10U^[(s16901t0s0b1P&quot;
       beginmod:8 "^[(10U^[(s16901t0s0b1P"
       endmod:0 &quot;^[(10U^[(s3t12vpsb10H&quot;
       endmod:0 "^[(10U^[(s3t12vpsb10H"
       beginItalicmod:0 &quot;^[(10U^[(s16901t1s0b1P&quot;
       beginItalicmod:0 "^[(10U^[(s16901t1s0b1P"
       endItalicmod:0 &quot;^[(10U^[(s3t12vpsb10H&quot;
       endItalicmod:0 "^[(10U^[(s3t12vpsb10H"
       beginBoldmod:0 &quot;^[(10U^[(s16901t0s3b1P&quot;
       beginBoldmod:0 "^[(10U^[(s16901t0s3b1P"
       endBoldmod:0 &quot;^[(10U^[(s3t12vpsb10H&quot;
       endBoldmod:0 "^[(10U^[(s3t12vpsb10H"
       beginItalBoldmod:0 &quot;^[(10U^[(s16901t1s3b1P&quot;
       beginItalBoldmod:0 "^[(10U^[(s16901t1s3b1P"
       endItalBoldmod:0 &quot;^[(10U^[(s3t12vpsb10H&quot;
       endItalBoldmod:0 "^[(10U^[(s3t12vpsb10H"
       DLF:0
       DLF:0
       LineSpacing:250
       LineSpacing:250
       FontName:TimesNewRoman
       FontName:TimesNewRoman
       }F </pre></li>
       }F </pre></li>
<li>Change the &quot;CTP:NIL&quot; line to '''CTP:T1'''.</li>
<li>Change the "CTP:NIL" line to '''CTP:T1'''.</li>
<li>Search for {P.</li>
<li>Search for {P.</li>
<li><p>Above the {P section add the following new section:</p>
<li><p>Above the {P section add the following new section:</p>
<pre class="CODESAMP">      {T1
<pre class="CODESAMP">      {T1
       cCSD:1 chFirst:166 chLast:167
       cCSD:1 chFirst:166 chLast:167
       166: &quot;^[(19U^0d147 ^[(10U&quot; 167: &quot;^[(19U^0d148 ^[(10U&quot;
       166: "^[(19U^0d147 ^[(10U" 167: "^[(19U^0d148 ^[(10U"
       }T </pre>
       }T </pre>
<p>Note: This is a Character Translation Table (CTT). See the &quot;Getting Started and Printer Information&quot; manual for more information on the CTT.<br />
<p>Note: This is a Character Translation Table (CTT). See the "Getting Started and Printer Information" manual for more information on the CTT.<br />
<br />
<br />
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.</p></li>
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.</p></li>
Line 108: Line 108:
== REFERENCES ==
== REFERENCES ==


&quot;Getting Started and Printer Information,&quot; version 6.0, page 148<br />
"Getting Started and Printer Information," version 6.0, page 148<br />
&quot;Hewlett-Packard LaserJet User's Manual&quot;, page B-6
"Hewlett-Packard LaserJet User's Manual", page B-6


Additional query words: 6.00
Additional query words: 6.00

Latest revision as of 10:09, 20 July 2020

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.