Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Amyuni PDF fails to work in Windows!?
Message
 
 
To
16/11/2007 14:18:07
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01269511
Message ID:
01269529
Views:
11
This message has been marked as the solution to the initial question of the thread.
Alex,
Did you uncheck Printer Environment for the report in question?

>First, I have to admit that I don't do reports.
>
>I have this old app that basically fetches data from SQL Server and prepares a report then exports it to Excel.
>
>Earlier this year I was asked to revise it and add PDF output as well. The app was reopened and still worked on in VFP 8.0 (made no sense to recompile and redistribute VFP 9 runtimes for such a small app).
>
>I added a radio button choice for PDF, then created an FRX and used AMYUNI PDF Converter which I had used successfully in the past here in another app.
>
>Here's the issue. Tried all of these and still no go.
>
>- Query data
>- Install AMYUNI
>- Save current printer to a form's property
>- SET PRINTER TO AMYUNI PDF
>- (in debugger I check that SET("PRINTER", 1), SET("PRINTER", 2), SET("PRINTER", 3) have the proper values.
>- (while in debugger I open the Windows XP "Printers and Faxes" dialog and verify the PDF driver has been set as default
>- REPORT FORM TO PRINT
>- Restore printer to previous default
>
>No matter what, it still prints to paper! Somewhow Windows ignores its own set default and prints to the previous default printer (we have many printers set up here. It just ignores the new setting and stays with the last one).
>
>This has worked before. I tried in the dev box in VFP, then tried the compiled EXE in 3 of the client boxes that will run this app. All of them are printing to paper instead! We need PDF, not paper, as the report has to be emailed.
>
>Any clues on where to look for this? Pulling hair trying to make sense of this.
>
>TIA
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform