need help dissecting a batch script

can someone help me understand what this batch script is doing?  i'm being told it will add a network printer with the .inf driver located on a file share.  what's it look like to you?  it's not working.....and i'm being told it worked great in the past.  
rundll32 printui.dll,PrintUIEntry /if /b "Ricoh 550" /f "\\\PC_User_SW\English\Prntdrvr\Ps_drvr\Win_2K_XP_VISTA\OEMSETUP.INF" /r "IP_10.10.1.23" /m "E-8100 PCL 6"

Open in new window

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

here is a Microsoft article on it , the command "rundll32 printui.dll,PrintUIEntry /?" without the quotes will bring up a display of what all the operands do(not sure if i have the right word, basically all the /x) with the exception of the one listed in that ms article

"Sample of How to Add an IPP Printer

rundll32 printui.dll,PrintUIEntry /b "DisplayPrinterName on http" /x /n "part of the n switch" /if /f %windir%\inf\ntprint.inf /r "http://hostname/printers/sharename/.printer" /m "HP Laserjet 4000 Series PCL"
Note The /x switch is not documented with /?. The /x switch expects /n even though it is not used. Also, you may be using a printer other than the HP Laserjet 4000 Series PCL. The /x flag treats the install as a “Web point and print.” This flag indicates that the printer is a masquerading (masq) printer. A masq printer is partly local printer and partly a network printer. A masq printer receives rich notifications from the remote print server. Without the /x option, the printer is a local printer with a redirected port. It works fine, but it has very limited notifications.
The third-party products that this article discusses are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, regarding the performance or reliability of these products."

I shall have a look what each of your operators do and post again later
/if install printer using inf file

/b designates the printer name (in this case "Ricoh 550")

/f[file] is where the inf file is located (in this case "\\\PC_User_SW\English\Prntdrvr\Ps_drvr\Win_2K_XP_VISTA\OEMSETUP.INF")

/r[port] is the port name  (in this case "IP_10.10.1.23")

/m[model] is the printer driver model name (in this case "E-8100 PCL 6")

as to it not working, is the inf file still in the same place? can you access the server from the computer? are there any error messages? and does the printer have the ip address ?

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
sknoll84Author Commented:
thx a lot!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Batch

From novice to tech pro — start learning today.