Do not use on any
shared computer
August 8, 2008 11:28am pdt
 
[x]
Attachment Details

error installing printer with printui.dll

Tags: installing printer
I am trying to install programatically a printer with these 2 commands:

C:\Windows\system32\rundll32.exe printui.dll,PrintUIEntry /ia /m "Xerox Phaser 1235 PS" /h "Intel" /f "%windir%\inf\ntprint.inf" /u

C:\Windows\system32\rundll32.exe printui.dll,PrintUIEntry /if /b "FlashProspectus" /f "%windir%\inf\ntprint.inf" /r "c:\flashprospectus.ps" /m "Xerox Phaser 1235 PS"

It gives me on some PCs: "INVALID ARGUMENTS" on step2 (step1 works)
What can be wrong ?
Start your free trial to view this solution
Question Stats
Zone: Software
Question Asked By: yarek
Question Asked On: 05.13.2008
Participating Experts: 1
Points: 500
Views: 0
Translate:
Loading Advertisement...
 
[+][-]Expert Comment by Richard_de_groot
Expert Comment by Richard_de_groot:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
Loading Advertisement...
20080723-EE-VQP-34 / EE_QW_2_20070628