Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Default Printer
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Divers
Thread ID:
00788571
Message ID:
00789331
Vues:
47
>To let the user select the printer, you need the PROMPT clause as follows:
>
>
>REPORT FORM "c:\questpdmreports\reports\sales margin analysis.frx" NOEJECT NOCONSOLE TO PRINTER PROMPT
>
>
>If you want to preview the report, and then have the user click the printer button and get prompted, run the report as follows:
>
>
>REPORT FORM "c:\questpdmreports\reports\sales margin analysis.frx" NOEJECT NOCONSOLE TO PRINTER PROMPT PREVIEW
>
>
>Cathy

Cathy,

I'm having a strange problem. I'm using
REPORT FORM somereport NOEJECT NOCONSOLE TO PRINTER PROMPT
Tag, Tag2 have been cleared, expr contains 'DRIVER=winspool ... ORIENTATION=0'

The strange thing is that when I run the report in development mode, I can direct the output to another printer

In runtime however, the customer's output always goes to his default windows printer, whatever printer he selects in the PROMPT popup
I could not believe it. Have seen it via pcanywhere, have done it myself via TerminalServer (put two printers into pause printing and watch bot the queues)

I've spent most of the day on this

If I do
set printer to name NotTheWindowsDefaultPrinter
after that (have not fully tested this) he can print to the printer selected in the PROMPT

Does that ring any bell ? (vfp6sp5)
Gregory
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform