|
 |
aspx thread: How can I Print at the server
Message #1 by Jeremy Samkowiak <Jeremy@S...> on Fri, 07 Jun 2002 13:54:19 -0400
|
|
Hello everyone. I was wondering if anyone has some sample code that
shows how I can print a document from the printer attached to the web
server. I am creating a small app for a local intranet. The
application uses the office web components to generate a chart of the
data stored in SQL Server. This chart is then displayed on the iPaq
(using mobile web forms). I want to add a button to the mobile web form
that allows people to hit print and at the end of the day, go to the
server and pick up all of their printed charts (basically I would like
to print a file stored on the server @ the server). I have some pretty
good decision making ability as far as the coding structure behind this
program, so all opinions and suggestions are definitely welcomed, even
if they stray from the use of asp.net. Thank you in advance for the
help.
Sincerely,
Jeremy Samkowiak
Samko Design, Inc.
http://www.Samko.com
Direct Dial: (xxx) xxx-xxxx
Customer Service: (xxx) xxx-xxxx
Message #2 by Feduke Cntr Charles R <FedukeCR@m...> on Mon, 10 Jun 2002 08:13:54 -0400
|
|
Jeremy,
I'd imagine that you'd simply be able to use whatever mechanism is
in place for .NET for printing. Just write a class that prints some data
out to the printer, then when your *.asmx (you're doing this as a web
service, right?) or *.aspx gets data, use that class to print it out.
Another option would be to write an NT service with .NET which is
much easier than it was with VS 6.0 and have that service listening for
requests or polling a directory for *.doc or whatever documents and print
them, then move them out of the directory or list queue when they are done.
- Chuck
-----Original Message-----
From: Jeremy Samkowiak [mailto:Jeremy@S...]
Sent: Friday, June 07, 2002 1:54 PM
To: ASP+
Subject: [aspx] How can I Print at the server
Hello everyone. I was wondering if anyone has some sample code that
shows how I can print a document from the printer attached to the web
server. I am creating a small app for a local intranet. The
application uses the office web components to generate a chart of the
data stored in SQL Server. This chart is then displayed on the iPaq
(using mobile web forms). I want to add a button to the mobile web form
that allows people to hit print and at the end of the day, go to the
server and pick up all of their printed charts (basically I would like
to print a file stored on the server @ the server). I have some pretty
good decision making ability as far as the coding structure behind this
program, so all opinions and suggestions are definitely welcomed, even
if they stray from the use of asp.net. Thank you in advance for the
help.
Sincerely,
Jeremy Samkowiak
Samko Design, Inc.
http://www.Samko.com
Direct Dial: (xxx) xxx-xxxx
Customer Service: (xxx) xxx-xxxx
|
|
 |