print function in ASP.NET

  • Thread starter Thread starter David
  • Start date Start date
D

David

My goal is to have an ASP.NET button that prints a file that is not
necessarily open,but is accessible to the net. So javascript window.print()
wouldn't work.

So when the button is pressed, the web application knows that path to the
document and prints it. Is that possible? I believe the PrintDocument
class is only for windows.
 
Do you realize that you're talking about printing on the web server here
rhather than the client machine, right?

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
 
JavaScript: window.print()

Of course, you COULD write an ActiveX control that resides in the client
browser and does this on the client.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
 
Back
Top