Print HTML file via shell command

Leon Pu leon_xf_pu at yahoo.com.cn
Tue Nov 1 17:02:04 UTC 2005


--- Derek Martin <code at pizzashack.org> wrote:

> On Tue, Nov 01, 2005 at 05:49:41AM -0800, Leon Pu wrote:
> > Hi all,
> > 
> > is it possbile to print out a HTML file via shell command?
> 
> Yes.  But, it's not clear what you're trying to accomplish...  Your
> question is a little vague.  Where do you want the file to print?  Do
> you want the contents of the file printed, or do you want the
> formatted web page printed?

I want to print out the HTML file in its web page format, not the HTML
source.

It's better to print out the HTML file in web format via one shell
command likes [htmllpr foo.html].

If there is no possibility to print out HTML via shell command
directly, is it possbile to convert the HTML file to PDF or PostScript
by shell then I can print out?

Thanks for your reply.


Best regards,
Leon


		
__________________________________ 
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com




More information about the fedora-list mailing list