PostScript Printers Underline Thickness

DocumentID: 647677
Revision Date: 29-Feb-96 8:19:23 PM

The information in this document applies to:
WordPerfect® 5.1 for DOS

Problem

Symptoms: The user would like the thickness or width of underline to change depending on the size font selected on a PostScript printer. Solutions: There is a way to change the prologue to do this. Early releases of WP 5.0 did it this way. The only problem was that with AFC's being made on a line that is underlined, the underline would change thickness along the line. This made it look funny, so WP went to a constant line thickness. To make the change do the following: 1. Type PTR at the proper DOS prompt and retrieve the *.ALL file. 2. Press Enter on the Printer Name. 3. Go to Printer Commands and press Enter. 4. Go to Initialize at Start of Print Job and press Enter. 5. Press Alt-F8 to edit the Global String Variables. Cursor to Prologue and press enter, then Ctrl-Enter to make it easier to view. Cursor to /_u. This is the underline routine. Change it so that it reads as follows: /_u {gsave currentpoint pop Ux dup Uy moveto sub (_) stringwidth pop div dup floor cvi {(_) show} repeat dup floor sub dup 0 gt {1 scale (_) show}{pop} ifelse grestore} bdef

Answer:

Details:

Product specifications, packaging, technical support and information (*Specifications*) refer to theUnited States retail English version only. Specifications for other versions may vary. All Specifications, claims, features, representations, and/or comparisons provided are correct to the best of our knowledge of the date of publication, but are subject to change without notice.OUR MAXIMUM AGGREGATE LIABILITY TO YOU AND THAT OF OUR DEALERS AND SUPPLIERS IS LIMITED. IT SHALL NOTEXCEED THE AMOUNT YOU PAID TO ACCESS THE INFORMATION. SEE LEGAL DISCLAIMER.