Operating System - HP-UX
1836535 Members
3992 Online
110102 Solutions
New Discussion

Re: Print HTML documents from HP-UX

 
cferbrache
Frequent Advisor

Print HTML documents from HP-UX

How do you print an html document from HP-UX without it just printing the source code?
5 REPLIES 5
Paul Cross_1
Respected Contributor

Re: Print HTML documents from HP-UX

You could use a web browser...
If you don't have access to one, you could try wget to fetch the .html file and lynx to print the file.

like this:

> wget www.example.com/example.html
...
> lynx example.html

Or maybe even SIMPLER you could use something html2text!!!

-P
cferbrache
Frequent Advisor

Re: Print HTML documents from HP-UX

I want to be able to print the html document from the command line so that I can put it into a script and automate the printing.
A. Clay Stephenson
Acclaimed Contributor

Re: Print HTML documents from HP-UX

One option would be a2ps. This will convert your html output to postscript for output to a postscript printer.

http://hpux.connect.org.uk/hppd/hpux/PostScript/a2ps-4.13/
If it ain't broke, I can fix that.
cferbrache
Frequent Advisor

Re: Print HTML documents from HP-UX

Thanks for the info I will look into it.
cferbrache
Frequent Advisor

Re: Print HTML documents from HP-UX

Thanks for you help.