yarekGmail
asked on
command line printer installation
Hello experts,
I have a commabnd line .BAT file that works perfectly with XP but not with SEVEN:
This simply installs a new PS printer Xerox Phaser 1235 PS
C:\Windows\system32\rundll 32.exe printui.dll,PrintUIEntry /ia /m "Xerox Phaser 1235 PS" /h "Intel" /f "%windir%\inf\ntprint.inf" /u
C:\Windows\system32\rundll 32.exe printui.dll,PrintUIEntry /if /b "FlashProspectus" /f "%windir%\inf\ntprint.inf" /r "c:\flashprospectus.ps" /m "Xerox Phaser 1235 PS"
Any idea on how to make it run correctly on SEVEN ?
installPrinter.txt
I have a commabnd line .BAT file that works perfectly with XP but not with SEVEN:
This simply installs a new PS printer Xerox Phaser 1235 PS
C:\Windows\system32\rundll
C:\Windows\system32\rundll
Any idea on how to make it run correctly on SEVEN ?
installPrinter.txt
ASKER
I have removed the /h
Still have an error at the first line:
Invalid arguments
Still have an error at the first line:
Invalid arguments
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
To look at the qualifiers taken by this dll simply enter
Rundll32 Printui.dll,PrintUIEntry /?