Microsoft KB Archive/128241

{| = PRB: Printing Problem with LaserWriter 8x Printer =
 * width="100%"|

ID: Q128241

2.5x 2.60a MACINTOSH kbprint kbprb

The information in this article applies to:


 * Microsoft FoxPro for Macintosh, versions 2.5x, 2.6a

SYMPTOMS
Using SET DEVICE TO PRINTER PROMPT before executing a REPORT FORM command to a LaserWriter 8f or 8.2 may generate errors and may not print the document.

RESOLUTION
Use the PROMPT with the REPORT Command to avoid the error as in this example:

Report Form TO PRINTER NOCONSOLE PROMPT. NOTE: If you are not using a REPORT FORM command, but are instead using ?? commands, and there are no @...SAY print commands in the program, then remove any SET DEVICE commands which are not needed for ?? commands, and which are known to also cause this message to occur. SET DEVICE commands are only needed if using @...SAY print commands. However, this will produce the error message which are discussed in the following paragraphs.

STATUS
This behavior is by design.

Steps To Reproduce Behavior
1. Go to "Chooser" and select a Laserwriter(8f or 8.2). Click the setup

button, and select Auto Setup. Click OK. 2. Start FoxPro, and open a table (Salesman in tutorial folder). Then create a quick report. 3. Execute the following command in the Command window: SET DEVICE TO PRINTER PROMPT

Then click the Print button. 4. Execute the following command in the Command window: REPORT FORMAT TO PRINTER NOCONSOLE

Then click the Print button.

Result in FoxPro version 2.5x for Macintosh
The following message is displayed at the bottom of screen:

Printer Not Ready This is followed by this message: There is a printing problem. Please choose PrintMonitor from the Application menu or click the PrintMonitor window. OK If you select the PrintMonitor, the following message is displayed: ! "FoxPro" from "Unknown" is damaged and cannot be printed. OK

Result in FoxPro version 2.6a for Macintosh
The following message is displayed in the center of the screen:

Sending this print job cancels the current print job. Proceed? Additional reference words: FoxMac 2.50b 2.50c 2.60a KBCategory: kbprint kbprb KBSubcategory: FxprintDriver Keywords         : FxprintDriver Version          : 2.5x 2.60a Platform         : MACINTOSH
 * }