ID: Q111992
2.5x 2.6x WINDOWS kbprint kbprb
The information in this article applies to:
The Copies box in the Print dialog box allows you to specify the number of copies of a report or label form to print. With certain printer drivers, this field is disabled.
However, if you then start another Windows-based application, such as Microsoft Excel or Microsoft Word, and activate the Print dialog box for that application, you will see that the Copies box is enabled.
The following are some printer drivers that the problem occurs with, but the list is not exhaustive:
Epson FX-86e
Epson LQ-1000
Epson T-1000
Epson LQ-2500
HP DeskJet
There are two workarounds for this problem:
-or-
USE c:\foxprow\tutorial\customer
m.printcopy = 5
FOR i = 1 TO m.printcopy
REPORT FORM step3 TO PRINTER
ENDFOR
NOTE: You do not need to use the PROMPT clause since you are not using
the Print dialog box to specify the number of copies.
NOTE: If a printer driver that has the Copies box enabled is selected
and then a printer driver that disables the Copies box is selected,
reselecting the first printer driver does not re-enable its Copies box.
You must run the REPORT FORM ... PROMPT command do enable the Copies
box.
Microsoft is researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
1. Use Print Manager to set the default Windows printer driver to one of
the printer drivers listed above.
2. Start FoxPro.
3. In the Command window, issue the following code.
NOTE: The following code assumes that you have installed FoxPro on drive
C and have installed the tutorial files.
USE c:\foxprow\tutorial\customer
REPORT FORM step3 TO PRINTER PROMPT
The PROMPT clause activates the Print dialog box. Note that the Copies
box in the lower-right corner of the Print dialog box is disabled.
NOTE: This problem also occurs with the LABEL FORM <label_name> TO
PRINTER PROMPT command.
4. Choose the Setup button and set the Specific Printer option to a laser
printer, such as the Hewlett-Packard (HP) LaserJet IIISi.
5. Choose OK to return to the Print dialog box. The Copies box is still
disabled. In other words, setting the printer driver to one that would
normally have the Copies box enabled does not work.
Additional reference words: FoxWin 2.50 2.50a 2.50b 2.60 2.60a
KBCategory: kbprint kbprb
KBSubcategory: FxprintDriver
Keywords : kbcode FxprintDriver
Version : 2.5x 2.6x
Platform : WINDOWS
Last Reviewed: May 22, 1998