|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Printing an ASP.NET web page from VB.NET - (HTTPWebResponse + Printing)Hi There!
I'm trying to print ASP.NET pages to the printer. I know I can grab the output contents of the ASP.NET page by using HttpWebRequest and HttpWebResponse objects. However, once I got the contents, it is just HTML. How do I go about printing that HTML as a graphical document to the printer??? Many thanks!!!! Jon Jon,
Why can't you print from your browser? Eliyahu Show quoteHide quote "Jon B" <noemail@sorry.sorry> wrote in message news:OrOpNgFFGHA.2300@TK2MSFTNGP15.phx.gbl... > Hi There! > > I'm trying to print ASP.NET pages to the printer. I know I can grab the > output contents of the ASP.NET page by using HttpWebRequest and > HttpWebResponse objects. However, once I got the contents, it is just > HTML. How do I go about printing that HTML as a graphical document to the > printer??? > > Many thanks!!!! > > Jon > Hi Eliyahu,
Thanks for the reply. I need to automate the printing of ASP.NET pages. I'm actually developing a VB.NET application. From there, user can click "Print" and I'm trying to print out an ASP.NET page without user intervention. Any ideas? Thanks again! Jon Show quoteHide quote "Eliyahu Goldin" <removemeegol***@monarchmed.com> wrote in message news:uRob3NGFGHA.1124@TK2MSFTNGP10.phx.gbl... > Jon, > > Why can't you print from your browser? > > Eliyahu > > "Jon B" <noemail@sorry.sorry> wrote in message > news:OrOpNgFFGHA.2300@TK2MSFTNGP15.phx.gbl... >> Hi There! >> >> I'm trying to print ASP.NET pages to the printer. I know I can grab the >> output contents of the ASP.NET page by using HttpWebRequest and >> HttpWebResponse objects. However, once I got the contents, it is just >> HTML. How do I go about printing that HTML as a graphical document to the >> printer??? >> >> Many thanks!!!! >> >> Jon >> > > Is the printer on the server or on the client?
Eliyahu Show quoteHide quote "Jon B" <noemail@sorry.sorry> wrote in message news:OgsoEfGFGHA.1736@TK2MSFTNGP14.phx.gbl... > Hi Eliyahu, > > Thanks for the reply. > > I need to automate the printing of ASP.NET pages. I'm actually developing > a > VB.NET application. From there, user can click "Print" and I'm trying to > print out an ASP.NET page without user intervention. > > Any ideas? Thanks again! > Jon > > "Eliyahu Goldin" <removemeegol***@monarchmed.com> wrote in message > news:uRob3NGFGHA.1124@TK2MSFTNGP10.phx.gbl... >> Jon, >> >> Why can't you print from your browser? >> >> Eliyahu >> >> "Jon B" <noemail@sorry.sorry> wrote in message >> news:OrOpNgFFGHA.2300@TK2MSFTNGP15.phx.gbl... >>> Hi There! >>> >>> I'm trying to print ASP.NET pages to the printer. I know I can grab the >>> output contents of the ASP.NET page by using HttpWebRequest and >>> HttpWebResponse objects. However, once I got the contents, it is just >>> HTML. How do I go about printing that HTML as a graphical document to >>> the >>> printer??? >>> >>> Many thanks!!!! >>> >>> Jon >>> >> >> > > > > Hi Eliyahu,
It's on the client. Thanks again! Jon Show quoteHide quote "Eliyahu Goldin" <removemeegol***@monarchmed.com> wrote in message news:e5t9DzGFGHA.3700@TK2MSFTNGP15.phx.gbl... > Is the printer on the server or on the client? > > Eliyahu > > "Jon B" <noemail@sorry.sorry> wrote in message > news:OgsoEfGFGHA.1736@TK2MSFTNGP14.phx.gbl... >> Hi Eliyahu, >> >> Thanks for the reply. >> >> I need to automate the printing of ASP.NET pages. I'm actually developing >> a >> VB.NET application. From there, user can click "Print" and I'm trying to >> print out an ASP.NET page without user intervention. >> >> Any ideas? Thanks again! >> Jon >> >> "Eliyahu Goldin" <removemeegol***@monarchmed.com> wrote in message >> news:uRob3NGFGHA.1124@TK2MSFTNGP10.phx.gbl... >>> Jon, >>> >>> Why can't you print from your browser? >>> >>> Eliyahu >>> >>> "Jon B" <noemail@sorry.sorry> wrote in message >>> news:OrOpNgFFGHA.2300@TK2MSFTNGP15.phx.gbl... >>>> Hi There! >>>> >>>> I'm trying to print ASP.NET pages to the printer. I know I can grab the >>>> output contents of the ASP.NET page by using HttpWebRequest and >>>> HttpWebResponse objects. However, once I got the contents, it is just >>>> HTML. How do I go about printing that HTML as a graphical document to >>>> the >>>> printer??? >>>> >>>> Many thanks!!!! >>>> >>>> Jon >>>> >>> >>> >> >> >> >> > > Jon,
On client side ASP.NET pages run in browsers as HTML pages. The browser holds the page HTML content.What sort of user intervention are you trying to avoid? Eliyahu Show quoteHide quote "Jon B" <noemail@sorry.sorry> wrote in message news:e7xQnUHFGHA.644@TK2MSFTNGP09.phx.gbl... > Hi Eliyahu, > > It's on the client. > > Thanks again! > Jon > > "Eliyahu Goldin" <removemeegol***@monarchmed.com> wrote in message > news:e5t9DzGFGHA.3700@TK2MSFTNGP15.phx.gbl... >> Is the printer on the server or on the client? >> >> Eliyahu >> >> "Jon B" <noemail@sorry.sorry> wrote in message >> news:OgsoEfGFGHA.1736@TK2MSFTNGP14.phx.gbl... >>> Hi Eliyahu, >>> >>> Thanks for the reply. >>> >>> I need to automate the printing of ASP.NET pages. I'm actually >>> developing a >>> VB.NET application. From there, user can click "Print" and I'm trying to >>> print out an ASP.NET page without user intervention. >>> >>> Any ideas? Thanks again! >>> Jon >>> >>> "Eliyahu Goldin" <removemeegol***@monarchmed.com> wrote in message >>> news:uRob3NGFGHA.1124@TK2MSFTNGP10.phx.gbl... >>>> Jon, >>>> >>>> Why can't you print from your browser? >>>> >>>> Eliyahu >>>> >>>> "Jon B" <noemail@sorry.sorry> wrote in message >>>> news:OrOpNgFFGHA.2300@TK2MSFTNGP15.phx.gbl... >>>>> Hi There! >>>>> >>>>> I'm trying to print ASP.NET pages to the printer. I know I can grab >>>>> the >>>>> output contents of the ASP.NET page by using HttpWebRequest and >>>>> HttpWebResponse objects. However, once I got the contents, it is just >>>>> HTML. How do I go about printing that HTML as a graphical document to >>>>> the >>>>> printer??? >>>>> >>>>> Many thanks!!!! >>>>> >>>>> Jon >>>>> >>>> >>>> >>> >>> >>> >>> >> >> > > Hello Jon,
Use the axWebbrowser control to load the page in HTML format and print it from there. Cheers Cyril Gupta I am using axWebBrowser in my Windows application, however, I don't know the
control very well. Any site provide me more information about "axWebBrowser"? Please help. Thanks. Jason Show quoteHide quote "Cyril Gupta" wrote: > Hello Jon, > > Use the axWebbrowser control to load the page in HTML format and print it > from there. > > Cheers > Cyril Gupta > > >
2 keys pressed at once
Namespace around API calls Virtual Serial Port Bluetooth System.IO.Ports .Net 2.0 - Webbrowser control flickering on resize.... Loading UserControl on a ShowDialog Form sequence strange Access SubQuery Help Needed..................... VS2005 combox question rotate gdi object copying a collection bindaing a DATE field |
|||||||||||||||||||||||