Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How To Send Print Preview Window To Printer Programatic
Message
 
 
To
01/09/2010 09:21:52
Raza Malik
Universal Accounting Software
Edgewater, New Jersey, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01479541
Message ID:
01479555
Views:
33
>Hi Naomi... Thank you for a quick reply. Here is the situaqtion... I am trying to print a snapshot of monthly invoices at the end of
>each month as a part of monthly statements to the customers. Everything works fine, I have creat a report programatically
>and place 3 images (Ole) on it, convert the invoice to a .JPG and at the end I issue the following command.
>
>REPORT FORM _ ImageReport PREVIEW
>
>It works fine. I can preview each page and print. But for the same report when I issue the following command:
>
>REPORT FORM _ImageReport TO PRINTER NOCONSOLE
>
>First 2 pages print fine but the 3rd page prints over and over. I did use CLEAR RESOURCES at multiple places.
>So I was thinking to preview each page and then print it automatically without any intervention.

Are you printing from the form with grids? Or is there any other anomaly with that report?

I also believe you can Preview and print at the same time using Report Listener.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform