1

I need to deploy printers using IPP in the logon script (batch/vbs).

I found the following script to do this:

rundll32 printui.dll,PrintUIEntry /if /q /b "r011-printer01 " /f %windir%\inf\ntprint.inf /r "http://10.0.0.1:631/printers/r011-printer01" /m "Apple Color Laserwriter 12/600"

This does seem to add the printer fine. However, when accessing the printer a "access denied" error occurs. The user adding the printers is an administrator account.

Adding the printer manually works fine, however I am required to enter Login-Credentials of a Local user. (?)

4
  • 1
    Please comment what's wrong if down-voting...
    – Zulakis
    Sep 14, 2013 at 13:25
  • While I did not down vote you, I suspect it's because this information can be obtained easily with a google search. When asking questions we expect that you've at least done some research into your problem instead of simply asking how to do it. We'll help you resolve problems, but won't do your research for you.
    – DKNUCKLES
    Sep 14, 2013 at 15:15
  • The downvotes are most likely for what downvoting is used for. "This question does not show any research effort". You need to post things you've already tried or researched, why they didn't work, what methods you plan to use, etc. SF doesn't really do "tell me how to do this so I don't have to figure it out at all". Consider posting a script you can't get working, etc.
    – TheCleaner
    Sep 14, 2013 at 18:01
  • 1
    I revised the question to include what I have already tried + cups logs.
    – Zulakis
    Sep 14, 2013 at 18:15

1 Answer 1

0

The problem was that a proxy was in use and even though it was checked in the proxy settings, local adresses did not bypass the proxy. By adding 10.*.*.* to the proxy exceptions I got this fixed.

I didn't expect a printer to use the proxy at all anyway, though.

Edit: Apparantly adding a proxy exception does not work for the connections made while adding the printer - which results in a access denied exception when setting the printer as default before accessing the printer manually.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .