Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Page setup and storing the default printer
Message
 
 
À
16/10/2000 11:44:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Divers
Thread ID:
00429754
Message ID:
00429801
Vues:
10
>...all they had to do was change the default printer in windows and the reports would go to the new printer.

If you want your users to be able to change the Windows default printer (for exampl via the Settings->Printers dialog) and have all your VFP reports go there automatically, then just put a SET PRINTER TO DEFAULT before each REPORT FORM TO PRINTER command. As an alternative, you could let your users change the VFP default printer from within your app by providing a menu item that does a SET PRINTER TO NAME SYS(1037). The default VFP printer determines where a report gets printed, and it can be--but does not have to be--the same as the Windows default printer. Does this address your concern?

>Rick
>
>I give the user the ability to modify several reports. They usually store the default printer on most reports. If that printer goes out of commission or changes then they would have to go back into all of the reports and select the new printer that will replace it. In FPW, because they could select and store the default printer in the page setup (report layout), all they had to do was change the default printer in windows and the reports would go to the new printer.
>
>Tim
Rick Borup, MCSD

recursion (rE-kur'-shun) n.
  see recursion.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform