Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Saving default per report
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00080834
Message ID:
00081518
Views:
28
>>.
>>.
>>.
>>>
>>>Hi Bill,
>>>
>>>Each user has a printer Set to Default within Windows95. You could issue something like the following before the REPORT FORM.....:
>>>
>>>mcDefaultPrinter=SET("PRINTER",2)
>>>SET PRINTER TO NAME (mcDefaultPrinter)
>>
>>Is there any way to specify a tray as well as a printer?
>>Is there any way to see what the printer is set to?
>>(if I SET PRINTER TO 'HP ...' then ?SET('PRINTER',1) I get nothing, '..,2' I get the windows default, and no parameter I get 'off')
>
>SYS(1037) will bring up the Page Setup for the current printer.

I know that, but I don't want to have to make people go through that every time they print the report.
For instance:
A particular user would like to print invoices (wht, pink,yellow) from tray 2 a network laser printer (call it main).
This person would also like to print account summaries from main, but the default tray. Then they would like to print their pretty letters from the Network HP Color Printer. The reports are built into an exe on the server. I would like to be able to have it remember the setup for each report instead of forcing the user to select printer and tray each time.

thx
Bill
Bill Mittenzwey
Previous
Reply
Map
View

Click here to load this message in the networking platform