Printing question

  • Thread starter Thread starter Frank
  • Start date Start date
F

Frank

I have an asp.net application that needs to do a batch
print without showing the print preview or the printer
settings dialog.

I know that this possible using a windows app but how
can I do this from a web app.

Is it possible to do a print on networked printers
connected to a client machine (in the intranet) from the
web site hosted on a server.

What is the alternative ..

Can Code Access Security be used to allow it access to
print on the printers connected to a client machine in an
intranet

Thanks
 
Frank,

Chances are you can do it, but not with the default setup. You would
have to impersonate a user that has the rights to perform the printing on
the network printer (I would guess that the ASPNET local user doesn't have
these rights).

In order to do this, I would recommend using a COM+ component that
performs the batch printing job. You can configure this component to run
under a particular user account, and would not have to worry about elevating
rights for your ASP.NET application.

Either that or have the ASP.NET application send a message to another
application which can perform the printing.

Hope this helps.
 
Back
Top