It can be this simple as well:

RunDll32.EXE printui.dll,PrintUIEntry /in /n \\host\printer
RunDll32.EXE printui.dll,PrintUIEntry /y /n \\host\printer

...the first line being "install printer" and the second "set default".


---- _ _ _ _ ___ _ _ _
|Y#| | | |\/| | \ |\ | | | Ryan Novosielski - Jr. UNIX Systems Admin |$&| |__| | | |__/ | \| _| | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630


On Wed, 7 Jul 2004, Mark Maas wrote:

James Coggan wrote:

Is it possible to use some kind of netlogon script to add a printer?
net use \\server\printert ??


I would suggest a complete solution that you can also use to add drives, set registry settings.


A way so you can do anything you wish in the future. Kixtart would be the best thing to use in my opinion.
<http://www.kixtart.org/>


We use it in a environment for +600 people, working with Win98, 2K and XP.
Just take a look!

Later,
Mark
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Reply via email to