Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Print out a blank paper
Message
 
To
08/11/1997 02:23:46
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00059054
Message ID:
00059129
Views:
28
>I am a newbies of VFP.
>
>I issue a command, REPORT FORM rptname TO PRINTER PROMPT, in Click event of print button.
>When I click OK on the printer setting dialog box, it prints out a blank paper.
>So, I create a second button for preview. In preview click event, I issue REPORT FORM rptname PREVIEW.
>When the preview screen comes out, there is a preview tool bar available. I click on the printer icon
> on the preview tool bar. The report is printed out fine.
>
>Where do I do wrong?
>
>Please Hee....lp! THANK YOU! THANK YOU!

Francis,

First try your report without the Prompt clause. If this works, use GetPrinter() instead to set your printer. This is a known problem with VFP5.0 and was partially (but not completely) fixed in VFP5.0a.

If this is NOT your problem, and the report still prints incorrectly with REPORT FORM rptname TO PRINTER, then check your data sources very carefully.

HTH
Barbara
Barbara Paltiel, Paltiel Inc.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform