It's still me :-)

This is how to install network printers using local drivers:
(Example for a HP LaserJet 8150 Series PS)

start /wait rundll32 printui.dll,PrintUIEntry /if /b "MYPRINTER" /f "%windir%\inf\ntprint.inf" /r "\\printmsa1\dds24" /m "HP LaserJet 8150 Series PS"

To install a printer using customized settings, proceed as following:

- install your printer locally
- customize the printer settings (for example you may want to duplex unit to be installed, or set up a different page size...)
- save settings in a .dat file:


rundll32 printui.dll,PrintUIEntry /Ss /n "PRINTERNAME" /a "z:\packages\printers\settings.dat"

- to apply the same settings to another printer (from an unattended installation script):

start /wait rundll32 printui.dll,PrintUIEntry /Sr /n "PRINTERNAME" /a "z:\packages\printers\settings.dat" d f



-------------------------------------------------------
This SF.net email is sponsored by: ObjectStore.
If flattening out C++ or Java code to make your application fit in a
relational database is painful, don't do it! Check out ObjectStore.
Now part of Progress Software. http://www.objectstore.net/sourceforge
_______________________________________________
unattended-info mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/unattended-info

Reply via email to