>>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.
> You coulg use GETPRINTER() to get the printer name, make the user select one from the list and store this in your table.
>
>Bernard
Thanks Bernard,
That is actually what I do now. The problem is that GETPRINTER() can return a different name for the same printer depending on which machine you are using. I get OKIDATA on one machine, then overwrite it with OKI when I go to a different machine. Clearly, I need to NOT store this info in a central database file. Someone else recommended using the registry of each machine for this info. Makes sense, but what do you think?
Marcus.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only