Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Page setup and storing the default printer
Message
 
 
À
16/10/2000 10:48:14
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Divers
Thread ID:
00429754
Message ID:
00429761
Vues:
19
Use SET PRINTER TO DEFAULT to select the Windows default printer. Use SET PRINTER TO NAME SYS(1037) to let your user select another printer as the VFP default printer. ?SET("PRINTER", 3) will tell you the VFP default printer name. ?SET("PRINTER", 2) will tell you the Windows default printer name.

>I'm trying to give the users the ability to modify reports within my application. I put up a custom menu before I do the modi repo on the report. On the custom menu I added a Page Setup bar that calls _mfi_pgset. This allows the user to change the number of columns, etc. It also allows selecting and storing the printer via a Print Setup button. The problem is that the Print Setup button does not allow you to select the default printer. This seems to hold true for sys(1037) also. In Fpw 2.6 the Print Setup button gave you the options of selecting the default printer or a specific printer.
>
>How do you allow selecting and storing the default printer for reports?
>
>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