Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How can I send a HTML file to a printer

59 views
Skip to first unread message

Juza

unread,
Apr 6, 2001, 7:14:39 AM4/6/01
to
As the subject says, i would like to know if it is possible and how to
send a HTML file directly to a printer.
The situation is the following:

Inside my applet i create a request for a servlet, which builds up and
give me back a HTML page as response. Now, i want to print this
responce/page without showing it in the browser and above all
overpassing the browser-print way.

Thanx in advance to all who can help me.
Francesco

Tilo Körbs

unread,
Apr 6, 2001, 9:21:09 AM4/6/01
to

Two ways.
The hard way: render the page yourself.
The easy way: call a browser and tell it to print your page. You can
either call it with a command line switch or you can script a browser
object if possible.

0 new messages