Works 95: Invalid Page Fault Using Generic Text Only Driver (150984)



The information in this article applies to:

  • Microsoft Works 4.5
  • Microsoft Works for Windows 95, version 4.0
  • Microsoft Works for Windows 95, version 4.0 4.0a

This article was previously published under Q150984

SYMPTOMS

When you adjust the line spacing in a word processing document, or when you run the Certificate TaskWizard and select the "Classic" style, you may receive the following error message:
This program has performed an illegal operation and will be shut down.
Clicking the Details button will reveal the following information:
Msworks caused an invalid page fault in module Msworks.exe

CAUSE

This error occurs when your default printer is set to Generic/Text Only and your document contains line spacing which the printer driver does not support.

NOTE: The Classic Certificate created by the TaskWizard contains line spacing that produces the error message.

When you use any combination of the following numbers to set the Spacing Before and Spacing After for your document, you will receive the error:

Spacing Before: 1.5, 2.5, 3.5, 4.5
Spacing After: 1.5, 2.5, 3.5, 4.5

All whole numbers with .5 as the first decimal place after the period will produce the error message.

RESOLUTION

Use a printer driver that matches your printer if possible. If a driver is unavailable and you need to use the Generic/Text Only driver, follow the steps below to prevent the error message from occurring.

General Word Processing Documents

Do not use any combination of line spacing ending in .5.

Certificate TaskWizard

Set a different printer as default to create the document and make changes following the steps below. After saving the certificate document, switch back to the Generic/Text Only printer driver if necessary to print the document.

  1. To set a different default printer do the following:

    1. Click Start, point to Settings, then click Printers.
    2. Right-click any other installed printer and then click Set As Default.
    NOTE: If there are no other printers listed, click Add Printers and use the Add Printer Wizard to install another printer.
  2. Start Works and run the Certificate TaskWizard.
  3. On the Format menu, click Paragraph, after the document is created.
  4. On the Spacing tab, change the Spacing After, or Spacing Before, to a whole number such as 1.0, 2.0, 3.0, and click OK.
  5. Save the document and exit Works.
  6. Set the Generic/Text Only printer as the default printer.
  7. Start Works and open the document.
You may need to reformat the document so that it appears and prints properly with the Generic/Text Only printer driver.

MORE INFORMATION

The most common reason to use the Generic/Text Only printer driver is if there is no driver available for your model of printer.

If you use the Generic/Text Only driver, when you print or preview the document, you will notice the graphics (borders, pictures, etc.) may not appear; this is because the driver supports text only.

NOTE: The above error does not occur with the "Jazzy" or "Gift Certificate" styles of the Certificate TaskWizard, or with the other TaskWizards, because they do not use default line spacing as noted above.

Modification Type:MinorLast Reviewed:1/24/2005
Keywords:kbenv kberrmsg kbprb kbprint KB150984