Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
West-Wind PDF Writer question - loosing printer settings
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Divers
Thread ID:
00501280
Message ID:
00502289
Vues:
17
Yep..that was the trick. I wrote a little program to clean all that out of all the reports in the project too...
Thanks.

>Try opeing the report file as a table (USE report.FRX EXCLUSIVE) and then BROWSE it. You'll find a record (always the first in my experience) with several memo fields. 2 or 3 of these memo fields contain printer-specific info, and probably point to the wrong printer. You may need to delete the contents of these fields, then recompile your app.
>
>If this resolves your problem, you need to be aware that you'll need to purge these memo fields every time you modify the report in report writer. Some of the more clever folks around here have a pre-build routine which does this for you on every build.
>
>Luck....
>
>>We are using the West-Wind PDF Writer. In the wwpdf.prg, there is a class called wwPDF40 and inside that function called "PrintReport" (NT) that issues the needed "set printer to" command. In our case, we are calling printreport inside a DO WHILE loop which cycles though 3 times. Problem is that all is fine the first time though the loop, then, for some reason, the next two cycles though the loop, the report isn't printed to the the "acorbat PD writer" printer, it goes to one of the other installed printers. We played around with the Sys(1037) and Sys(6) to see what was happening, at it seems to simply be loosing the printer settings.
>>Anyone have any ideas on this? We're kinda in a time-crunch situation here...arrhhh!
>>THanks!
ICQ 10556 (ya), 254117
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform