- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Printing HTML
Operating System - HP-UX
1753370
Members
4984
Online
108792
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2001 07:42 AM
тАО03-01-2001 07:42 AM
Hi All,
I collect a lot of information about my intranet using MRTG.
Now my manager want me to send him statistics for every month.
Is there any utility/way for printing .HTML files with .PNG images.
I need it for Shell or Perl scripts.
Thanks.
I collect a lot of information about my intranet using MRTG.
Now my manager want me to send him statistics for every month.
Is there any utility/way for printing .HTML files with .PNG images.
I need it for Shell or Perl scripts.
Thanks.
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2001 10:45 AM
тАО03-01-2001 10:45 AM
Re: Printing HTML
If you have to have the images, there is no way I know of from script. The layout of HTML can be complex, and embed images anywhere, and text anywhere.
If I were in your shoes, I would look at the following.
1. Use sed to strip html tags and url's to get the plain text from the file.
2. email him direct html, or use netscape to print interactively.
gimp has some nice scripting features to allow translation of images from the command line, but this does not fix the html text and formating problems.
Regards,
Shannon
If I were in your shoes, I would look at the following.
1. Use sed to strip html tags and url's to get the plain text from the file.
2. email him direct html, or use netscape to print interactively.
gimp has some nice scripting features to allow translation of images from the command line, but this does not fix the html text and formating problems.
Regards,
Shannon
Microsoft. When do you want a virus today?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2001 07:59 AM
тАО03-02-2001 07:59 AM
Solution
You are asking something difficult!
You can call Netscape from a script:
netscape -remote "openURL()"
... and save the page to a file:
netscape -remote \ "saveAs(,Source)"
You can then analyze for the
URLs of links, embedded graphics, etc.,
and download and save them in a
similar way for further processing.
netscape -remote "print()"
prints the top browser window.
You can call Netscape from a script:
netscape -remote "openURL(
... and save the page to a file:
netscape -remote \ "saveAs(
You can then analyze
URLs of links, embedded graphics, etc.,
and download and save them in a
similar way for further processing.
netscape -remote "print()"
prints the top browser window.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2001 08:33 AM
тАО03-02-2001 08:33 AM
Re: Printing HTML
You might take a look at the netpbm tools located at http://sourceforge.net/projects/netpbm Thay have some limited capabilities to extract text from graphical .png files.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP