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 7 1743
Jon,
Why can't you print from your browser?
Eliyahu
"Jon B" <no*****@sorry.sorry> wrote in message
news:Or**************@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
"Eliyahu Goldin" <re*************@monarchmed.com> wrote in message
news:uR**************@TK2MSFTNGP10.phx.gbl... Jon,
Why can't you print from your browser?
Eliyahu
"Jon B" <no*****@sorry.sorry> wrote in message news:Or**************@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
"Jon B" <no*****@sorry.sorry> wrote in message
news:Og**************@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" <re*************@monarchmed.com> wrote in message news:uR**************@TK2MSFTNGP10.phx.gbl... Jon,
Why can't you print from your browser?
Eliyahu
"Jon B" <no*****@sorry.sorry> wrote in message news:Or**************@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
"Eliyahu Goldin" <re*************@monarchmed.com> wrote in message
news:e5**************@TK2MSFTNGP15.phx.gbl... Is the printer on the server or on the client?
Eliyahu
"Jon B" <no*****@sorry.sorry> wrote in message news:Og**************@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" <re*************@monarchmed.com> wrote in message news:uR**************@TK2MSFTNGP10.phx.gbl... Jon,
Why can't you print from your browser?
Eliyahu
"Jon B" <no*****@sorry.sorry> wrote in message news:Or**************@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
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
"Jon B" <no*****@sorry.sorry> wrote in message
news:e7*************@TK2MSFTNGP09.phx.gbl... Hi Eliyahu,
It's on the client.
Thanks again! Jon
"Eliyahu Goldin" <re*************@monarchmed.com> wrote in message news:e5**************@TK2MSFTNGP15.phx.gbl... Is the printer on the server or on the client?
Eliyahu
"Jon B" <no*****@sorry.sorry> wrote in message news:Og**************@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" <re*************@monarchmed.com> wrote in message news:uR**************@TK2MSFTNGP10.phx.gbl... Jon,
Why can't you print from your browser?
Eliyahu
"Jon B" <no*****@sorry.sorry> wrote in message news:Or**************@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 >
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
"Cyril Gupta" wrote: Hello Jon,
Use the axWebbrowser control to load the page in HTML format and print it from there.
Cheers Cyril Gupta This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: love_norip |
last post by:
I have encountered a problem when I try to visit a web page (like
http://www.xxx.org....?arg1=x&arg2=x&....) using HttpWebRequest and
HttpWebResponse and related methods .NET provides.The code is...
|
by: Iggy Evans |
last post by:
Hi
My app is trying to login to an ASP.NET site that uses Forms authentication. I am trying to do in my app (what was previously posted in a newsgroup) the same that a browser does
3) The browser...
|
by: Just D. |
last post by:
Does anybody know how can we check if the URL exists inside currently
running web application written in C#? For example I'm having the page name
like: "SomePage.aspx" and I need to know if this...
|
by: PetroMan |
last post by:
I am using VB .Net with HTTPWebRequest/HTTPWebResponse to navigate a
web site and print invoices (not download them - their requirements,
not mine). The related web site, when printing an invoice,...
|
by: Howeird |
last post by:
Problem:
I am writting a quick and dirty web link checker for a site that allows
local business to post their web site's URL. I have encountered a probelm
when the reqested URI points to a site...
|
by: Jon B |
last post by:
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...
|
by: davidpenty |
last post by:
Hi there,
I am having some problems with a multi-threaded asp.net seach page.
My search page sends off four asynchronous http requests to four search
engines then waits for the results to come...
|
by: Kuldeep |
last post by:
Hi All,
I am trying to read the contents of a page through its URL.
My code snippet is as follows:
public void mtdGetPageDataHWR()
{
HttpWebRequest objRequ =...
|
by: beebee |
last post by:
OK all
I have a webservice utilizing API's in to an application.
I want to call this service and load the returned information onto my aspx page.
right now i am not getting any errors in my...
|
by: DolphinDB |
last post by:
Tired of spending countless mintues downsampling your data? Look no further!
In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
|
by: ryjfgjl |
last post by:
ExcelToDatabase: batch import excel into database automatically...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Defcon1945 |
last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
|
by: af34tf |
last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome former...
| |