473,387 Members | 1,517 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Print rendered HTML doc from a webpage

Hi,

I have a central webapplication with lots of clients connected to it over
the internet, and some of theese clients has to do a lot of printing. This is
where the fun begins.

One client could have 3 printeres connected to it and should be able to
print html doc's on demand

The "self.print()" in the browser is not good enough since the user must
choose printer everytime, and here i might have to print pages on all 3
printers inwoked by a single click on the webpage.

So, i've found possible soloutions:
1. ActiveX
2. Java Applet
3. A client application (in my case a .net applicaiton)

I dont, know anything about 1 and 2, but no. 3 could work.

I have a great deal of control of the clients thats needs this, so i can
tell them to install the client app and the our site to be trusted.

Sofar my soloution would be.
1. Create a windows app
1.1 Implement a Internet Explorer control for printing the renderen HTML page
1.2 Print the doc on the specified printer automatically, the user must not
do anything

2. Invoke the Client app form my webpage:
Sub runlink_onClick()
Set WshShell = CreateObject("WScript.Shell")
WshShell.run "C:\\Print.exe \u mypage.htm \p myPrinter", 1, 0
end sub

3. Wee, the print.exe app prints my very fine webpage on the printer that
i've specified.

In my head this would work, but is i the right way todo it ?
The Java Applet soloutions the best to me.
1. Its crossbrowser comp.
2. OS indepantent
3. Distributes well over the internet
But as i've told, I dont know anything about it.

I can create the soloution with the windows app myself, which is a great
thing but if anyone has any comment or expirience with something like this,
it would be very helpfull.

Thanks in advance!
Kresten Buch | Denmark
Nov 21 '05 #1
0 1236

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Robin Dindayal | last post by:
Does anyone know how I can print a fully rendered .aspx to the server's printer? I know that, if I wanted to print to the client's printer it would be easy (ie. use javascript's window.print()). ...
1
by: SlimFlem | last post by:
I hope this makes sense. Here is what I am attempting. I have an inital generic aspx page that has one custom tag: <web:site id=webSite runat=server/> When this control evaluates, it will...
6
by: Jeff Thies | last post by:
I have a club newsletter that is currently distributed as a PDF. I'm considering converting this to html... Several problems ensue. 1) PDF's can be formatted for a page to fit on a sheet of...
1
by: kumar | last post by:
Hello every one, Can any one help me how can i print values of my webpage with just a button in the webpage. From http://www.developmentnow.com/g/8_0_0_0_0_0/dotnet-framework-aspnet.htm ...
3
by: jnm | last post by:
How can I avoid the content of <meta name="Microsoft Border" content="b, default"> is printed, when printing by means of <link rel="stylesheet" href="../print.css" type="text/css"...
6
by: Bruce | last post by:
Although I have quite a bit of WinForms experience, I am new to ASP.NET. So don't be surprised by the elementary question. :) I am creating a webpage with a dropdown list that allows the...
2
by: MrNobody | last post by:
I have a string object filled with HTML text. I would like to have the text rendered and printed out onto paper. Any ideas on how to do this? Is there maybe a way to get this text into a TextArea...
1
by: eqiz | last post by:
I'm looking for a way to print stuff from my program. I have searched and searched for a way to print and the only thing I have found is PrintFORM which only takes a picture of the form and prints it...
9
by: happyse27 | last post by:
Hi All, In perl script(item b below) where we check if html registration form are filled in properly without blank with the necessary fields, how to prompt users that the field are incomplete...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.