Cannot access Network Non plug and play printer

H

Homa

I have a web service that want to print something to a printer
connected on another computer in the network. And that printer happens
to be a non-plug and play printer (It's a thermal printer).

I tried to install the printer to the server directly and it works
fine (I use PrinterSettings.PrinterName to set the printer). But when
I set it up on another computer it doesn't work. I have installed the
networked printer's driver to the server and I notice something odd.

When debug, I look at PrinterSettings.InstalledPrinter[], the thermal
printer in not in the list while other networked plug and play
printers are in the list. (but again, the thermal printer is in the
"Printers and Faxes" folder, I'm using WinXP)

Whenever I tried to access the printer, I got "RPC not available"
error. But I have checked that service is started and I can print test
pages remotely.

Please give me some ideas about what can went wrong.

Thanks,
Homa Wong
 
B

bruce barker

local accounts such as the machine account asp.net runs under do not have
network access rights. you have to fill in a domain userName and password
in the web config.

-- bruce (sqlwork.com)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,013
Latest member
KatriceSwa

Latest Threads

Top