Re: Manage Printing ..



On Wed, 14 Feb 2007 22:11:43 +0400, user wrote:

Thanks for answering me ....
Where i need a script is for the case i want to give a quota for a user (15
pages/day).
I could use an access database to put the user and the number of page
printed..etc...

Thanks again ..

"Jeffery Hicks" <"jhicks[at]SAPIEN.com"> a écrit dans le message de
news:1efuhq48dswq4$.dlyxiv8sw7u6.dlg@xxxxxxxxxxxxx
On Wed, 14 Feb 2007 21:43:42 +0400, user wrote:

Hello,
How to manage printing with a share printer on a windows server 2003 ...
make things like :
- ask for crentential .
- allow printing..

Thanks for helping me....

What more are you hoping to achieve if you have set proper permissions on
the shared printer. If the user isn't in the ACL they can't use the
printer.

I'm trying to see where you need a script. What is the automation
objective?

--
Jeffery Hicks
SAPIEN Technologies - Scripting, Simplified. www.SAPIEN.com
VBScript & Windows PowerShell Training -
www.ScriptingTraining.com/classes.asp
Windows PowerShell? - www.SAPIENPress.com/powershell.asp

blog: http://blog.SAPIEN.com
blog: http://jdhitsolutions.blogspot.com

Using a script for something like that is really a hack. You'd need to
monitor the print queue, grab the user id, grab the number of pages in
their print job then store it in the database. You'd also need some
mechanism to intercept the print job, check the database and if OK, resume
sending the print job. I think that would take some clever coding even for
an experienced scripter.

You'd be better off investing in "real" print quota software if this is
important to your business.

--
Jeffery Hicks
SAPIEN Technologies - Scripting, Simplified. www.SAPIEN.com
VBScript & Windows PowerShell Training -
www.ScriptingTraining.com/classes.asp
Windows PowerShell? - www.SAPIENPress.com/powershell.asp

blog: http://blog.SAPIEN.com
blog: http://jdhitsolutions.blogspot.com
.



Relevant Pages

  • Re: Get custom database properties from an Access database
    ... It doesn't matter if the VBScript process drags, since it is an independent process and so will have no effect on the user's interaction with the database. ... The user can skip merrily along, doing whatever he needs while the script invisibly figures out the current situation in the background and decides what to do about it. ... It does, but I've run into issues other places on this same network, where users needed a drive letter to a server. ...
    (microsoft.public.scripting.vbscript)
  • Re: Get custom database properties from an Access database
    ... write the script to look for an available letter, ... If you're concerned about another drive letter causing ... will have no effect on the user's interaction with the database. ... As for the server, yes, that would definitely be the way to go. ...
    (microsoft.public.scripting.vbscript)
  • Re: Get custom database properties from an Access database
    ... will write the script to look for an available letter, ... If you're concerned about another drive letter causing ... will have no effect on the user's interaction with the database. ... As for the server, yes, that would definitely be the way to go. ...
    (microsoft.public.scripting.vbscript)
  • [NEWS] IBM Informix Web DataBlade Local Root by Design
    ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... that ease development of "intelligent", interactive, Web-enabled database ... person who has access to change the Perl script. ...
    (Securiteam)
  • RE: Need some MySQL query help...
    ... attempting to run the script: ... passed to the database. ... passwd entry to the current database entry. ...
    (perl.dbi.users)