Okay, Linux gurus...

I have a problem I can't find a simple solution to.

I am trying to automate Mozilla to print a page for me (i.e. no
user-interaction)

I know that browsers try to keep that boundary so that no evil website
can waste your precious ink and paper.  With Javascript, I can call
"Window.print()" and I get the print DIALOG, but not an actual
print-out.

Can anyone think of a way to tell Mozilla to actually do a simple
printout with the default printer settings, etc... ?    (One option I do
have is to develop my own custom patch against Mozilla source, and add a
custom command-line hook or something, but I'd like to avoid that much
work.)

I don't mind if it involves calling strange things from Perl, Python,
PHP, Ruby, C code, etc...  It just needs to be able to be executed
automatically from some other Linux processes.

The reason I'd like to stick with Mozilla is because html2ps and friends
don't adhere to current CSS/DHTML standards, etc...

Thanks for any ideas!

-- 
/* david kaiser (NO SPAM/UCE) pubkey=1C8DCC8D    begin e-mail decoder */ main()
{int j=-1;char t[]="gndlvhuCfgn1frp\r";while(t[j]!='\r'){putchar(t[++j]-3);}0;}

Reply via email to