Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Page setup and storing the default printer
Message
From
16/10/2000 11:01:33
 
 
To
16/10/2000 10:48:14
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Miscellaneous
Thread ID:
00429754
Message ID:
00429761
Views:
20
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform