>>>>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
>
>Not sure if this will help, but in VFP 5.0 and 6.0 for PC you can open the report .frx file as a table and change or add a line to the EXPR memo field to read copies=6. This can be changed during run-time if you don't include the report in your executible file.
Thanks, I'll give that a try.
Shane
--Shane