P
Paul Griffith
Hello,
I have been trying to automate the installation and setup of printer
from the command line. I can install printers with out any problem by
doing this:
rundll32 printui.dll,PrintUIEntry /if /f %windir%\inf\ntprint.inf /r
"\\pcsrv\printer1" /m "HP LaserJet 4050 Series PCL6"
I can save the printer settings like this:
rundll32 printui.dll,PrintUIEntry /Ss /n "\\pcsrv\printer1" /a "p1.dat"
Then I perform an unattended install of WinXP SP1 and try to restore the
setting using the command:
rundll32 printui.dll,PrintUIEntry /Sr /n "printer" /a "file.dat" 27cdg
The settings don't get restored.
Anyone have any other ideas on automated printer installations from the
commandline using rundll32 printui.dll,PrintUIEntry or any other tool.
I need to have duplex enabled and select as the default.
Thanks
Paul Griffith
I have been trying to automate the installation and setup of printer
from the command line. I can install printers with out any problem by
doing this:
rundll32 printui.dll,PrintUIEntry /if /f %windir%\inf\ntprint.inf /r
"\\pcsrv\printer1" /m "HP LaserJet 4050 Series PCL6"
I can save the printer settings like this:
rundll32 printui.dll,PrintUIEntry /Ss /n "\\pcsrv\printer1" /a "p1.dat"
Then I perform an unattended install of WinXP SP1 and try to restore the
setting using the command:
rundll32 printui.dll,PrintUIEntry /Sr /n "printer" /a "file.dat" 27cdg
The settings don't get restored.
Anyone have any other ideas on automated printer installations from the
commandline using rundll32 printui.dll,PrintUIEntry or any other tool.
I need to have duplex enabled and select as the default.
Thanks
Paul Griffith