Microsoft KB Archive/101327

PostScript Driver Configured for Custom Page Size Gives Error

= PostScript Driver Configured for Custom Page Size Gives Error =

Q101327
The information in this article applies to:

- Microsoft Publisher for Windows, versions 2.0, 2.0a

SYMPTOMS

=
When Microsoft Publisher version 2.0 is configured for a PostScript printer, you may receive the message:

Your printer has given Publisher a value that is outside its legal range. The printer could not be correctly initialized. Please go to  the Control Panel and check your printer settings.

This message appears when you have selected the Defined Size option from the Print Setup dialog box and there is no user defined size set in Control Panel for that printer.

MORE INFORMATION

=
===

The user defined size for a PostScript printer defaults to a size of 0 by 0 inch and reports a printer resolution of -1 (dots per inch) dpi. As a result, if you select User Defined Size from Publisher's Print Setup dialog box, the size reported to Publisher from Control Panel is 0 by 0 inch at a resolution of -1 dpi. This would normally result in a "Divide by Zero" system error; however, Publisher catches this error and enforces a minimum page size of .25 by .25 inch and defaults to a resolution of 300 dpi. When Publisher has "passed" the -1 dpi value, it will display the message "Your printer has given Publisher a value that is outside its legal range...," which essentially tells you to switch to Control Panel to define a custom page size.

Steps to Reproduce Behavior ---

1. Install a PostScript printer driver from Windows Control Panel that supports a user-defined size. (Do not set the User Defined Page  Size option).

2. Close Control Panel and run or switch to Publisher version 2.0.

3. From the File Menu, choose Print Setup and configure Publisher to  print to the PostScript printer.

4. Choose User Defined Size from the Paper Size list box and choose OK. The error message should now appear.

WORKAROUND

=
Open Printers from Control Panel and define the Custom paper size prior to configuring Publisher to print to the PostScript printer.

NOTE: This message can appear when Publisher is opening if the default printer is set for the PostScript printer and the driver is set for User Defined Size and no size has been selected.

Additional query words: 2.00 Varityper VT-600 Linotronic mspub 2.00a