Deploying a printer from pdq deploy

Comments

2 comments

  • McLear, Matthew

    I know this is an older article but I was wondering if anyone could maybe give me a hand. 

     

    The following is what I am using. It is not exact just without our file names and IP's.

     

    MKDIR C:\HP400M401
    XCOPY "\\serverinformationhere1\hpcm401c.inf" C:\HP400M401 /e /y
    Cscript "C:\Windows\System32\Printing_Admin_Scripts\en-US\Prnport.vbs" -a -r IP_*.*.*.* -h *.*.*.*  -o raw -n 9100
    rundll32 printui.dll PrintUIEntry /if /f C:\HP400M401\hpcm401c.inf /b "TSC2" /m "HP LaserJet 400 M401 PCL 6" /u /r "IP_*.*.*.* "

    MSG * /TIME:1000 "THIS COMPUTER CAN NOW PRINT TO TSC2. -IT."

     

    This works fine on one machine and will not on any other.

     

    Getting operation could not be completed (error 0x800f0214)

    0
    Comment actions Permalink
  • Eduardo Trevino Jr.

    you need the whole driver folder...

    so 

     

    XCOPY \\serverinformationhere1\driver\*.* C:\HP400M401 /e /y

    0
    Comment actions Permalink

Please sign in to leave a comment.