This will output the websec output to the printer, but it is possible to create a shell script to do the same so it will print the actual file to the printer. Or you can tell websec to print the html to stdout.
-------- Original Message -------- Subject: Here's how: Possible to automatically print the output Date: Mon, 06 Feb 2006 13:27:32 -0600 From: Dan Rose <[EMAIL PROTECTED]> To: Baruch Even <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> Here's how to do it. 1. Websec creates the new html file with changes highlighted 2. htmldoc (http://www.htmldoc.org/) converts the html to postscript or pdf 3. gs (uses ghostscript) can convert to printer language (pcl) and many other formats too. # One piped to another, flags not shown here. % websec | htmldoc | gs | lpr So.... Websec notices changes in my monitored site and the output goes straight to the printer. (since I dont have time to actually sit down and read e-mail). Dan Rose Baruch Even wrote: >Dan Rose wrote: > > >>2 Quick questions for fans (author) of websec. >> >> > >You should look at the url.list manpage: > > > >>#1 Can websec monitor pages that require my login and password? >> >> > >Use the Auth option, an entry would look like: > >URL = http://www.example.com/ >Prefix = example >Name = Prefix >Auth = user:password > > > >>#2 Can websec, directly or indirectly, send the created, highlighted >>page straight the printer. >> >> > >There is the Program directive, but you'd need a program that rendered >the HTML and printed the rendered image, just using lpr will print out >the HTML itself and not its rendering :-) > >None of the graphical browsers I know would do it, you can probably use >links or one of the other text browsers to do something useful for you. > >Baruch > > > > _______________________________________________ WebSec-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/websec-users
