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:
00790009
Vues:
51
Besides clearing the TAG and TAG2 fields of the first record, you also need to edit the EXPR memo field and selectively get rid of any of the lines that are printer specific. For example, you can get rid of the DEVICE= line, but leave the ORIENTATION line.

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)
Cathy Pountney, Microsoft Visual FoxPro MVP
Memorial Business Systems, Inc. (www.mbs-intl.com)

My Website: (www.frontier2000.com)
My Blog: (www.cathypountney.blogspot.com)
My Book: The Visual FoxPro Report Writer - Pushing it to the Limit and Beyond
Free MSDN Article: What's New in the VFP 9.0 Report Writer
Free MSDN Article: The VFP 9.0 Report Writer In Action
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform