Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Print 6 copies automatically
Message
 
To
17/03/1999 08:34:05
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:
00198505
Views:
16
... or you could hack the frx file, USEing it and adding COPIES= 6 to the EXPR field of the first record and emptying out the TAG and TAG2 fields. Mind you, if you reopen the report in the designer you will have to do it again, or, if you do not include the report in the project, you can do it at runtime.

I have not tried this on an a Mac, and not at runtime.

HTH,

Marc



>>>>>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

If things have the tendency to go your way, do not worry. It won't last. Jules Renard.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform