Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printing multiple reports as a batch
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00266102
Message ID:
00266419
Vues:
26
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform