Link to home
Start Free TrialLog in
Avatar of webbie05
webbie05

asked on

Can't Print to Network Printer

I am using a VB.NET Application for a CE device that calls a function from a Webservice located on my PC to print a crystal report. I also use the webservice to gather a list of all the printers, but it fails to get the network printer. However, i hardcoded the printer name \\192.168.1.105\hpLaserJ into the webservice, and i get the error messge "Access is Denied". I think it may have something to do with security, but not positive. Any help would be appreciated.
Avatar of Mike McCracken
Mike McCracken

Definitely sounds like you don't or the service doesn't have permissions to the printer.

mlmcc
Avatar of webbie05

ASKER

What steps can i take to allow permissions to the printer? I need to have access to every printer installed on the computer.
ASKER CERTIFIED SOLUTION
Avatar of Anurag Thakur
Anurag Thakur
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I tried <identity impersonate="true" userName="domain\username" password="password"/> and now i get, "The RPC server is unavailable"
sorry to say but just giving me the exception is not helpful
you also need to tell us what changes you made, what configuration settings were made so that we can investigate why are you getting that error

most importantly where are you getting the error while accessing the printer or before that