Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setting Up printers for many users
Message
From
19/06/2002 16:31:56
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00670267
Message ID:
00670287
Views:
14
We do this in our apps. We have a local control table that resides on the user's hard drive (but it could just as easily reside in their home directory on the network if they switch machines). In the control table we have a one record for each document. Each document record also has a field for the printer name. When the user enters the printer name field (dropdown combobox on the form) he/she picks from a list that is populated using getprinter(). The shared printer name is then stored in the field and when the user goes to print, we query their local control table for the document and pull the valid windows printer name from it's corresponding record. We also have a form that allows the user to do individual or 'mass changes' to the control table when they add or change printers so that they can change one record or all printers that say "HP LaserJet 4000" to "HP LaserJet 4050" in case of adding/removing printers.
We chose this method versus one table for all documents and all users or all machines to avoid conflicts and speed things up for the user.
Tracy


Tracy

>I have a system that does office automation (word) on several different printers, that are share on a network by many users.
>
>My program includes a form that allows the user to setup default printers for each of the automated documents.
>
>Q: How can set this up so that each user can setup default printers for each document, I think all I need to know is how to identify each machine on the network.
>
>Thanks in advance
>
>Robin
>BSS
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Previous
Reply
Map
View

Click here to load this message in the networking platform