defautl printer

M

Mike

I have an Intranet application that I need to print documents from. With C#
is it possible to either create a component or web service that will get the
users default printer and print the documents to that printer without the
user seeing the print dialog box?

I will be passing the document name to the print process from an ASP page
not asp.net page.
I've created a dll in VB 6 and it only prints the document to the web
servers default printer, I need the users that access the app default
printer.
 
B

Bill Priess

No, this is not possible as it is a security breach. If you are running on
an intranet, then you might be able to write a client-side ActiveX control
to do it, but it is doubful. What you can do is display the document in the
browser and provide a javascript window.print() link.

HTH,

Bill P.
 

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

Top