Thanks!
>>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:
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement