Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printing multiple reports as a batch
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00266102
Message ID:
00266419
Views:
25
>The problem I am having is that the printer is shared by many people. If I run a series of print jobs, all of the users' print jobs are mixed.
>

Basically, you have two ways to proceed.
1) You may try to create one (usually complex) report form that will use one report cursor. This is doable, though the structure of cursor and/or query logics might be complicated.
2) You may run all report 'parts' to file:
Report Form myreport1 To File myfile1
Report Form myreport2 To File myfile2
etc. Note that you should not use ASCII clause here.
Now you may concatenate these files to one using low-level functions: FOPEN(),FREAD(),FCLOSE() and new FILETOSTR(). When it's done you may direct one file (one print job) to your printer: COPY FILE myfile To LPT1:
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform