Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Print 6 copies automatically
Message
From
16/03/1999 14:34:59
Shane Gilbert
Oklahoma State Department of Education
Norman, Oklahoma, United States
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00198067
Message ID:
00198271
Views:
19
>>I am using VFP 3.0 for Mac and need to print 6 copies of a report automatically. I can just run the report 6 times, but the Mac is slow doing this. I would like to set the number of copies to 6 and print it all at once somehow. I thought about trying the _pcopies variable, but the documentation made it sound like that would only work with PRINTJOB...ENDJOB which I have never used. I will look into PRINTJOB, any other suggestions would be greatly appreciated.
>
>I use the mentioned approach for a long time (on PC) and have no problems with it.
>
>_pcopies = thisform.spnPcopies.Value && 3 for example
>PRINTJOB
>report form myReport to printer noconsole
>ENDPRINTJOB
>_pcopies = 1
>*******
>
>Nick

I tried this and I get the same effect as I did with running a FOR loop. It loads the report form, then prints it, for each copy. I can include the PROMPT option and manually enter the number of copies when the dialog box appears and then it loads the report once and prints however many copies I entered. I have almost come to the conclusion that the Mac version of VFP will not allow me to set this the way you can on the PC. I guess I'll give the user's the option of faster print, or fewer key strokes.

Shane
--Shane
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform