Microsoft KB Archive/61433

Multiplan 4.20: Printing Courier 10 on HP LaserJet IID or IIP PSS ID Number: Q61433 Article last modified on 06-14-1990 PSS database name: D_MPlan

4.20

MS-DOS

Summary:

Multiplan version 4.20 does not directly support printing Courier 10 point on a Hewlett-Packard LaserJet IID or IIP (although it is an internal font on these models). The following two workarounds exist:


 * 1) Enter the printer control code that selects Courier 10 point into the first cell of the worksheet. (See Method 1 below.)
 * 2) Add the Courier 10 font block to the appropriate printer driver file (for example, HPLASER1.PRD). (See Method 2 below.)

More Information:

Method 1
Use the following procedure to add the printer control code directly into a worksheet:


 * 1) Select the first cell listed in the Print Options “area:” field by pressing ENTER.
 * 2) Press ESC to return to the main menu and choose the Value command.
 * 3) Enter “CHAR(27)(s12h10v0s0b3t” into the cell (without the quotation marks) and press ENTER.

Method 2
Use the following procedure to customize the printer driver:

  Copy MAKEPRD.EXE and HPLASER1.PRD from the Multiplan version 4.20 Utilities Disk to the Multiplan program directory.   Run MAKEPRD by typing “makeprd” (without the quotation marks) at the DOS prompt. Specify HPLASER1.PRD as the PRD file and HPLASER1.TXT as the text file. Choose “T” (PRD to text conversion). Note: Run-time error R6001 may occur. Disregard this message.   Load HPLASER1.TXT into a word processor, such as Microsoft Word by typing the following: WORD HPLASER1.TXT   Search for “cPSDs:1” (without the quotation marks). Change its value from 1 to 2.   Insert the following font information (with a blank line before and after this group of text) after the “cPSDs:2” entry: FontSize:20 Wtps:25 25 25 25 beginmod:0 “[(8U[(s3t10vsbp12H” endmod:0 “[(8U[(s3t12vsbp10H” beginItalicmod:0 endItalicmod:0 beginBoldmod:0 endBoldmod:0 beginItalBoldmod:0 “[(8U[(s3t10vs3bp12H” endItalBoldmod:0 “[(8U[(s3t12vsbp10H” DLF:0 LineSpacing:10 Note: Be sure to include spaces as shown above. Each line ends with a carriage return.   Save the modified file as ASCII (no formatting) and run Multiplan MAKEPRD as described in Step 2 using the same filenames, but choosing the “P” option (text to PRD conversion).   Enter “Y” when prompted to confirm overwriting of existing PRD.   Enter Multiplan and select HPLASER1.PRD in the Print Setup “printer:” field. Press the ENTER key. </li>  Choose the Format Font menu and enter Courier in the “name:” and enter 12 in the “size:” field. </li></ol>

Copyright Microsoft Corporation 1990.