Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Generate PDF Files Automatically.
Message
 
 
To
26/07/2000 21:50:28
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00390104
Message ID:
00397527
Views:
71
Justy,

First, check what is your default printer. ?set('printer',1). It should be printer, otherwise you will get problems.
Second, in your PDF destination you should:
1) Run the program, I gave you
2) Run Report form command (now output should go to PDF)
3) set printer to default
4) Be sure, that default is your printer (check set('printer',1) again

For Printer destination you should just use
Report Form MyReport to printer noconsole

Let me know, if there are some other problems with this approach...

>Dear Nadya,
>
>I need your help again! I have a form to let user to choose where the report out (To printer or to PDF and mail). When user clicked "mail", it's great and work fine, perfect. But user clicked "to printer", problem comes out. The PDF dialog box prompted. I try to use 'set printer to name ' or 'set printer to name prompt' or 'report form report1 to printer prompt' or 'set printer to default'. It doesn't work and prompt an error "error access the printer spooling ...". What's going on? It make me crazy! I have urgent project to need this function. Could you help me to solve the problem as soon as you can?
>
>Thanks a lot!!!
>
>Best Regards,
>
>Justy Chow
>
>** If anybody have any idea/suggestion, feel free to send an e-mail to me. Thanks!
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