Information générale
Catégorie:
Fonctions Windows API
Hi Hilmar,
>>Hi All,
>>
>>Is there a way for the following to be done?
>>
>>1. Assign 'user rights' to specific printers? That is, user Adam can print to Printer A, while user Mary is prohibited from printing to it.
>
>When you share a printer (or a folder, for that matter), you can assign a password.
>
>Windows also has the option to share to a specific user.
>
>The first method (assigning a password to every shared resource) doesn't require a domain server, the second does - but I think that for a larger network, the second method makes more sense.
My reply:
Will user level sharing work even on a stand alone PC? The PCs all run on XP.
This is the situation. My client has been distributing some sort of proprietary software which can dump print jobs on a special printer (also proprietary) that can print/engrave on metal (as against the usual paper) items like pendants. He wants to deter users using their own metal material.
Now, he wants some sort of monitoring or better yet a way to find out how many print jobs were made on a particular day.
I have gone thru WINSPOOL.DRV documentation and found out that there are functions like OpenPrinter, ClosePrinter. There is this EnumJobs which I think is the answer but I cant seem to make it work. (No idea what DWORD, STRUCT et al is though)
However, isnt it logical that there must be some log where one can print out or save to disk where XP?
Thanks! Hoping for your early help. =)
Dennis
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement