By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,836 Members | 2,011 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,836 IT Pros & Developers. It's quick & easy.

System.Drawing.Printing

P: n/a
Can the System.Drawing.Print namespace (and it's print methods) be used in
ASP.NET ? Can we direct an output to a printer using these classes ? If not,
what is the alternative ?

Nov 18 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
You can use any namespace with ASP.Net, and you can do anything.

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

"moko" <no*******************@hotmail.com> wrote in message
news:un*************@TK2MSFTNGP11.phx.gbl...
Can the System.Drawing.Print namespace (and it's print methods) be used in
ASP.NET ? Can we direct an output to a printer using these classes ? If not, what is the alternative ?

Nov 18 '05 #2

P: n/a
I thought "System.Drawing" used GDI+, which in turn is in the context of
Windows, not a web-browser ? Is that not so ?
"Kevin Spencer" <ke***@takempis.com> wrote in message
news:et**************@TK2MSFTNGP11.phx.gbl...
You can use any namespace with ASP.Net, and you can do anything.

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

"moko" <no*******************@hotmail.com> wrote in message
news:un*************@TK2MSFTNGP11.phx.gbl...
Can the System.Drawing.Print namespace (and it's print methods) be used in ASP.NET ? Can we direct an output to a printer using these classes ? If

not,
what is the alternative ?


Nov 18 '05 #3

P: n/a
No, It is not so. An ASP.Net application is the same as any other
application. For example, you can use GDI+ to create images which you stream
out to a browser on the fly. In any case, the question was about printing,
which uses drawing. Now, I am nt sure that the person who asked understand
that the printing classes will only work on the server side (unless they use
a client-side .Net Windows Form), but there may be a reason why the person
wants their app to do some printing on the server.

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

"moko" <no*******************@hotmail.com> wrote in message
news:es**************@TK2MSFTNGP12.phx.gbl...
I thought "System.Drawing" used GDI+, which in turn is in the context of
Windows, not a web-browser ? Is that not so ?
"Kevin Spencer" <ke***@takempis.com> wrote in message
news:et**************@TK2MSFTNGP11.phx.gbl...
You can use any namespace with ASP.Net, and you can do anything.

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

"moko" <no*******************@hotmail.com> wrote in message
news:un*************@TK2MSFTNGP11.phx.gbl...
Can the System.Drawing.Print namespace (and it's print methods) be
used
in ASP.NET ? Can we direct an output to a printer using these classes ?
If not,
what is the alternative ?



Nov 18 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.