[Samba] Netlogon

Paul Gienger pgienger at ae-solutions.com
Tue Jul 6 16:50:16 GMT 2004


Tony Whitmore wrote:

> James Coggan wrote:
>
>> Is it possible to use some kind of netlogon script to add a printer?
>> net use \\server\printert ??
>>
>
> You can use con2prt from the Windows Zero Administration Kit to do 
> this as part of a logon script.

You can do it with no extra software using a rundll command.  This is 
the exact line from one of my scripts:

rundll32 printui.dll,PrintUIEntry /in /n \\fgoserv\hplj /r 
\\fgoserv\hplj /m "HP LaserJet 5000 Series PS "

Use this command to get a help dialogue that will explain the options

rundll32 printui.dll,PrintUIEntry /?

-- 
Paul Gienger                     Office:		701-281-1884
Applied Engineering Inc.         Cell:			701-306-6254
Information Systems Consultant   Fax:			701-281-1322
URL: www.ae-solutions.com        mailto:pgienger at ae-solutions.com




More information about the samba mailing list