09-08-2009
Quote:
Originally Posted by
pludi
Question: why do you need the visual content of a page (with 50+ printed pages) in a word processor document? If it's for offline reading, why not convert it to PDF? If it's for archiving, why not save the HTML source?
Answer: You are right Pludi. Redhat.com has some (70+) webpages which is purely documentation. These webpages are needed to me.
So, wats my question is, i need these webpages as a word document ( or pdf id fine) for printing. Instead of printing it by page by page, i need a script to copy these ( 70+ ) pages locally to my machine and print it.
This is the URL which i am try do so.
"http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5.4/html/Logical_Volume_Manager_Administration/index.html"
Thanks in advance.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
....passing variable via list...
here 's the HTML code extract :
****************
<form method=post action=http://servername/cgi-bin/cgi-comptage_diff.ksh>
<table border...........>
.............. </table>
<table bgcolor=#FFFFFF width="980">
... (6 Replies)
Discussion started by: Nicol
6 Replies
2. Shell Programming and Scripting
Hi ,
I have a cgi code with shell script on it.I am submitting a form in the first.cgi.These values are posted to second.cgi.Second.cgi do some process with these values.
After that i want to direct my page from second.cgi to first.cgi.
What is the command i can use from cgi(shell) script?
... (2 Replies)
Discussion started by: rajbal
2 Replies
3. Shell Programming and Scripting
Basically to illuminate i want to take a file with mutliple lines,
C:\searching4theseletters.txt
a
b
c
Read this into an array
@ARRAY
and then use this to compare against another file
C:\inputletters.txt
b
o
a
c
n
a (9 Replies)
Discussion started by: bradleykins
9 Replies
4. Shell Programming and Scripting
Dear all,
I am calling a korn shell script(CGI script) by a web-page. This shell script do some checking in a unix file and return true or false. Now within the same script, If it returns true then I want to redirect to another web-page stored in htdocs directory.
Example: Login page sends a... (3 Replies)
Discussion started by: ravi18s
3 Replies
5. Shell Programming and Scripting
I need to write a perl script to search for a specific set of numbers that occur after a series of words but before another. Specifically, I need to locate the phrase today at the summit, then immediately prior to the words tonnes/day copy the number that will be between 100 and 9,999, for example,... (1 Reply)
Discussion started by: libertyforall
1 Replies
6. Shell Programming and Scripting
I am working on an embedded linux router and trying to make a webpage where the user can input a desired number of CPE and have a script update that number on the router. I have a CLI where I can log in and type the following to change that number
echo "20">/proc/net/dbrctl/maxcpe which then... (7 Replies)
Discussion started by: BobTheBulldog
7 Replies
7. HP-UX
First, let me state that I am completely out of my realm with this.
I have a server running HPUX. I'm not even sure if this can be considered a UNIX question and for that let me apologize in advance.
I need to create a web page where a client can input 2 variables (i.e. date and phone number).... (0 Replies)
Discussion started by: grinds
0 Replies
8. Shell Programming and Scripting
Hi,
I've been attempting to create a script that downloads web pages at random intervals to mimic typical user usage. However I'm struggling to link $url to the URL list and thus wget complains of a missing URL. Any ideas?
Thanks
#!/bin/sh
#URL List
url1="http://www.bbc.co.uk"... (14 Replies)
Discussion started by: shadyuk
14 Replies
9. Shell Programming and Scripting
I need help to make a script for Ubuntu to OSCam that copy the text on this website that only contains "C: ip port randomUSERNAME password" and want to exclude the text "C:" and replace the rest with the old in my test.server file.
(line 22) device = ip,port
(line 23) user =... (6 Replies)
Discussion started by: baxarn
6 Replies
10. Shell Programming and Scripting
hello,
I am trying to refresh my web page which is created in bash script.
I have a HTML page which when press a button calls a bash script. this bash script created the same page with dynamic data.
When pressing the button I am calling to a function that set time out of 7 seconds and and after... (1 Reply)
Discussion started by: SH78
1 Replies
LEARN ABOUT DEBIAN
pdf::api2::basic::pdf::page
PDF::API2::Basic::PDF::Page(3pm) User Contributed Perl Documentation PDF::API2::Basic::PDF::Page(3pm)
NAME
PDF::API2::Basic::PDF::Page - Represents a PDF page, inherits from PDF::API2::Basic::PDF::Pages
DESCRIPTION
Represents a page of output in PDF. It also keeps track of the content stream, any resources (such as fonts) being switched, etc.
Page inherits from Pages due to a number of shared methods. They are really structurally quite different.
INSTANCE VARIABLES
A page has various working variables:
curstrm
The currently open stream
METHODS
PDF::API2::Basic::PDF::Page->new($pdf, $parent, $index)
Creates a new page based on a pages object (perhaps the root object).
The page is also added to the parent at this point, so pages are ordered in a PDF document in the order in which they are created rather
than in the order they are closed.
Only the essential elements in the page dictionary are created here, all others are either optional or can be inherited.
The optional index value indicates the index in the parent list that this page should be inserted (so that new pages need not be appended)
$p->add($str)
Adds the string to the currently active stream for this page. If no stream exists, then one is created and added to the list of streams for
this page.
The slightly cryptic name is an aim to keep it short given the number of times people are likely to have to type it.
$p->ship_out($pdf)
Ships the page out to the given output file context
perl v5.14.2 2011-03-10 PDF::API2::Basic::PDF::Page(3pm)