On Tue, 2005-07-26 at 08:12 -0700, johon Doe wrote:
> Hi,
> I'm trying to use unattended and it seems to work very
> well, but I've a questione: is it possible to install
> network printers by unattend.txt file ?
> 

I do it using a script that i call i base.bat. Something like this:

todo.pl "rundll32 printui.dll,PrintUIEntry /dn /n \"\\sambaserver
\printer\" /q"
todo.pl "rundll32 printui.dll,PrintUIEntry /in /n \"\\sambaserver
\printer\""
todo.pl "rundll32 printui.dll,PrintUIEntry /y /n \"\\sambaserver\printer
\""


In this case, the samba server acts as an smb print server. In case you
want to configure direct access to a printer printserver, you can use
the above example for smb access, or play a bit with cscript prnport.vbs
(see
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/prnport.mspx)
 to create ports and cscript prncnfg.vbs (see 
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/prncnfg.mspx)
 to configure the printers. This last part can also be done using rundll32 
printui.dll. Just issue rundll32 printui.dll,PrintUIEntry /? on the command 
line to see the options.

Cheers,

Hugo Monteiro.



> thx for any answer.
> Luigi.
> 
> 
> 
> 
>               
> ____________________________________________________
> Start your day with Yahoo! - make it your home page 
> http://www.yahoo.com/r/hs 
> 
> 
> 
> -------------------------------------------------------
> SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
> from IBM. Find simple to follow Roadmaps, straightforward articles,
> informative Webcasts and more! Get everything you need to get up to
> speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
> _______________________________________________
> unattended-info mailing list
> unattended-info@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/unattended-info
-- 
javali:~# cat .signature

Hugo Monteiro
Email    : [EMAIL PROTECTED]
Telefone : +351 916993183

JavaLi - ADSI, Lda.
Madan Parque   EdifĂ­cio VI   Campus da FCT/UNL
Quinta da Torre   2829-516 Caparica   Portugal
Telefone: +351 212949666   Fax: +351 212948313
www.javali.pt                   [EMAIL PROTECTED]

javali:~# _



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
unattended-info mailing list
unattended-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unattended-info

Reply via email to