Archived from groups: microsoft.public.windowsxp.print_fax (
More info?)
Thanks again Cari,
Still not enough information though. I came across an alternative method
of accomplishing what I am trying to do. So far it is working very smoothly.
I found the how-to and subsequent documents at the following location.
http://www.microsoft.com/resources/documentation/window...
Thanks Again.
"Cari (MS-MVP)" wrote:
> Try:
>
http://members.shaw.ca/bsanders/Printing%20to%20Print%2...
> --
> Cari (MS-MVP Windows Client - Printing, Imaging & Hardware)
>
www.coribright.com
>
> "Karney" <Karney@discussions.microsoft.com> wrote in message
> news:C00E487A-B0B3-4594-83FC-0A31B36ED6B3@microsoft.com...
> > Thanks for the post Cari,
> > Unfortunately this article appears to be another method of installing a
> > printer (shared printer via UNC) and does not address driver installation.
> > I
> > am looking to install an TCP/IP port based printer where the drivers are
> > not
> > included in drivers.cab as part of the OS.
> >
> > Thank you for your suggestion, but I'll have to keep looking.
> >
> >
> > "Cari (MS-MVP)" wrote:
> >
> >> See Bruce Sanderson's article at
> >>
http://members.shaw.ca/bsanders/NetPrinterAllUsers.htm
> >> --
> >> Cari (MS-MVP) Windows Client - Printing/Imaging and Hardware
> >>
www.coribright.com
> >>
> >> "Karney" <Karney@discussions.microsoft.com> wrote in message
> >> news:69D7F012-674D-4577-8D29-0D630D256027@microsoft.com...
> >> >I am trying to install a new network printer in our department and want
> >> >to
> >> > script the installation for all clients. I have followed the
> >> > instructions
> >> > at
> >> >
http://support.microsoft.com/?kbid=314486
> >> > however the installation is unsuccessful. I recieve the following
> >> > error
> >> > 'Operation could not be completed. Cannot locate a suitable printer
> >> > driver.
> >> > Contact your network administrator...'. Below are the detail and the
> >> > syntax
> >> > I am using with the printui utility.
> >> >
> >> > Printer Dell 5100cn
> >> > Driver location on local system: C:\testp
> >> > Command file name: pinstall.cmd
> >> > Contains of pinstall.cmd:
> >> > @ECHO
> >> > REM
> >> > #==========================================================================
> >> > REM #
> >> > REM # Filename: pinstall.cmd
> >> > REM # Description: Installs the Dell 5100cn printer
> >> > REM # $Id$
> >> > REM #
> >> > REM
> >> > #==========================================================================
> >> >
> >> > REM # Make sure the ports are created - %PROGRAM_FOLDER% is defined by
> >> > REM # PKGADD while it is running. See the documentation for details.
> >> > regedit /s "C:\testp\5100cnreg.reg"
> >> >
> >> > REM # Restart the spooler service
> >> > net stop spooler
> >> > net start spooler
> >> >
> >> > REM # Install all of the printers via rundll32 - This could easily be
> >> > put
> >> > into
> >> > REM # a FOR loop but isn't here for readability
> >> > SET SERVER=dellp.commons.ca
> >> > SET DRIVER=Dell 5100cn
> >> >
> >> > REM # Remove existing printers with the same name so we don't get copy
> >> > after
> >> > copy
> >> > REM # NOTE: start /wait makes us wait for rundll32 to finish before
> >> > continuing
> >> > start /wait rundll32 printui.dll,PrintUIEntry /dl /n "math231chp" /q
> >> > start /wait rundll32 printui.dll,PrintUIEntry /dl /n "math231chp-t" /q
> >> > start /wait rundll32 printui.dll,PrintUIEntry /dl /n "math231chp-g" /q
> >> >
> >> > REM # Install the printers
> >> > start /wait rundll32 printui.dll,PrintUIEntry /if /b "LC Dell 5100cn"
> >> > /f
> >> > "C:\testp\dlxcrzi.inf" /r "%SERVER%
![:D :D]()
ell5100cn" /m "%DRIVER%" /z /u
> >> > REM # start /wait rundll32 printui.dll,PrintUIEntry /if /b
> >> > "math231chp-t"
> >> > /f
> >> > "%windir%\inf\ntprint.inf" /q /r "%SERVER%:math231chp-t" /m "%DRIVER%"
> >> > /z
> >> > /u
> >> > REM # start /wait rundll32 printui.dll,PrintUIEntry /if /b
> >> > "math231chp-g"
> >> > /f
> >> > "%windir%\inf\ntprint.inf" /q /r "%SERVER%:math231chp-g" /m "%DRIVER%"
> >> > /z
> >> > /u
> >> > pause
> >> >
> >> > This process generates the error noted above even thought the driver
> >> > file
> >> > is
> >> > defined.
> >> > Thanks in advance for any suggestions.
> >> >
> >> >
> >> >
> >>
> >>
> >>
> >>
> >
>
>
>
>