Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Storing printer settings in multi-user environment
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00252294
Message ID:
00253773
Views:
20
>My application allows users to specify which printer they want to use for certain reports. ex: Schedules print to one printer and postcards to another printer. Right now I store the Name of the printer in a table and issue SET PRINT TO NAME myPrinter to get the right printer. The problem arises when one user calls the printer OKI and another calls it OKIDATA. Is there a better way to identify these printers? I am going to add a user login with user specific settings, but this is more machine specific. Should I have a separate DBF on each machine that stores machine specific items like printer names? Thanks for your input.
>
>Marcus.

I always store this sort of thing in the registry. You can create your own tree under HKEY_CURRENT_USER\SOFTWARE and put machine specific info in there.
Nigel B Coates
NBC Software Services
Dublin, Ireland.
eMail: Nigel.Coates@NBCSoftware.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform