Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Prompting user to select printer
Message
De
29/03/2003 16:18:11
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
29/03/2003 11:04:06
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00771717
Message ID:
00771760
Vues:
7
>Hi All,
>
>
>Here is my code to print three reports
>
>REPORT FORM "E:\Reports\Report1.FRX" TO PRINTER PROMPT
>REPORT FORM "E:\Reports\Report2.FRX" TO PRINTER PROMPT
>REPORT FORM "E:\Reports\Report3.FRX" TO PRINTER PROMPT
>
>But, I don't want to prompt the user to select the printer option three times. How could I only prompt it once and print the rest of the reports to that printer? TIA

I think it goes something like this: You can get a printer name with GETPRINTER(), and select that printer later with SET PRINTER...

HTH,

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform