[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Fetching and printing web pages automaticly



On Sat, Mar 30, 2002 at 07:36:28AM -0500, stan wrote:

Hi,

> I want to be able to use cron to fetch & print certain web pages on a
> scheduled bassis.
> 
> Looks like wget is the way to fetch them, but what can I use to print the
> result from a script?
Two ways that look promising to me:

Idea 1:
wget http://foo.bar.com/bla.html
html2text bla.html
cat bla.html|/usr/bin/lpr (IIRC this should print it)

Idea 2:
lynx --dump http://foo.bar.com/bla.html|/usr/bin/lpr

Sven
-- 
Lamer! :)\nLokaler Admin mit enormen Rechten[tm]
[Christian Schneider und Jens Himmelrath in alt.hacker.org-gcf]
http://www.linux-secure.de http://www.linuxboard.de
http://www.bluephod.net http://www.disconow.de


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: