Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can not change the number of copies
Message
From
08/11/2000 05:18:58
 
 
To
08/11/2000 05:14:26
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00438778
Message ID:
00439174
Views:
20
>Hi Bob,
>
>Some [printers, notably dot matrix and inkjets are not capable of printing more than 1 copy as the printers have no smarts built in (unlike laser printers), so the copies field is greyed.
>
>What I have done in the form I present to users for date selection etc, I ask the user how many pages (default is 1) they want to print.
>
>lnCopies = 1 && number of copies to print
>
>lnCount = 1
>FOR lnCount = 1 TO lnCopies
> REPORT FORM rptName TO PRINT PROMPT
>ENDFOR
>

A somewhat better approach where you know you're going to need several copies is to print to a file, and then use the DOS PRINT comand or something similar to spool out several copies - this also allows the printing to run in the background.

>I have also set up the default number of copies in a system .dbf so it can be set by the user.
>
>Regards
>Doug Johnston
>
>
>>We have encountered a random problem where when the printer dialog box comes up in Foxpro 2.6 for windows and the number of copies is grayed out. We can always print one copy which is the defaul, any ideas.
>>
>>Thanks,
>>
>>Bob
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform