Microsoft KB Archive/66426

Creating Scalable Line Draw in PostScript

PSS ID Number: Q66426 Article last modified on 11-02-1994

5.00

MS-DOS

= SUMMARY =

It is possible to modify the PostScript printer driver to allow for scaling of the line draw font. This could be helpful when creating charts with cursor line draw that need to contain a small monospace font such as Courier 8 point. Word by default uses a 12-point (10-pitch) font as its basis for the line draw characters.

If the printer driver is changed to accommodate for line draw font scaling, cursor line draw characters will appear misaligned in Print Preview although the characters will print correctly. Format Border box and line functions will still preview correctly after the scaling modification is made to the printer driver.

= MORE INFORMATION =

Using the MAKEPRD utility described in chapter 6 of the “Printer Information for Microsoft Word” manual, the following changes can be made to the driver to allow the line draw font to scale. The fixed examples in the left column show the standard line draw font description in the PostScript driver. If this information is edited to appear as the version in the right column, the printer driver will support scaling of the line draw font.

Fixed Scalable —– ———

{F57 {F57 CTP:T0 CTP:T0 cPSDs:1 cPSDs:1

FontSize:24 FontSize:0 Wtps:144 144 144 144 Wtps:W0 W0 W0 W0 beginmod:0 “57 12 F” beginmod:0 “57” endmod:0 “0 12 F” endmod:0 “0 12 F” beginItalicmod:0 beginItalicmod:0 endItalicmod:0 endItalicmod:0 beginBoldmod:0 beginBoldmod:0 endBoldmod:0 endBoldmod:0 beginItalBoldmod:0 beginItalBoldmod:0 endItalBoldmod:0 endItalBoldmod:0 DLF:0 DLF:0 LineSpacing:12 LineSpacing:50 FontName:LineDraw FontName:LineDraw }F }F

KBCategory: kbprint KBSubcategory: Additional reference words: ============================================================================= Copyright Microsoft Corporation 1994.