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:
00254581
Views:
26
>>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.

Thanks,
That does make the most sense, but I've never written or read from the registry before. Is extracting this info very difficult or is it as easy as using a DBF?

Thanks again,
Marcus.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform