Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to get Windows to print multiple copies of report
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
How to get Windows to print multiple copies of report
Miscellaneous
Thread ID:
00000576
Message ID:
00000576
Views:
141
Doctors who use my app cannot wait for a report to be
generated to input data for the next patient, because
the report has many calculations, and prints a complex
graph using Pinacle's Graphic Server. So I now give the
option to "print now" or "batch print later".

To batch, I insert the necessary header and record number
into a file, and use this to create the reports later.
I provide a spinner that resets _pcopies, and print using
PRINTJOB / ENDPRINTJOB.

The first copy of a report is correct. *all* subsequent
copies of the same report print data from the next
(incorrect) record - from *one* REPORT FORM command.
Apparently, _pcopies re-creates multiple instances of a
report, rather than printing multiple copies, and does a
SKIP after the first copy (?).

Can someone provide me with an alternative to _pcopies -
perferably a Windows API call that will set the number of
copies *without* prompting the user?

Best,
Randy Parsons
Ten years software development
Specializing in FoxPro applications
Glendale, CA
See my web page for references: www.datadepot.com/~parsons
Next
Reply
Map
View

Click here to load this message in the networking platform