konqueror prints as batch process
OK, once again in english :-) I would like to print a page with konqueror automatically to a file from a batch process. I would like to specify the URL to be read and the destination file location: konqueror ("http://www.kde.org", "kde.pdf") I saw some examples with dcop, by they only show how to render the URL, but not how to print it. BTW, since I want ot run it as a batch process in e.g. cron, I would prefer a solution, which requires no X connection. rgds, Rainer
Hi Rainer Lay, *, Rainer Lay wrote on Sat Nov 20, 2004 at 10:51:57AM +0100:
BTW, since I want ot run it as a batch process in e.g. cron, I would prefer a solution, which requires no X connection. Grep it via wget and parse it to cups...
Rainer :) -- --------------------------------------------------------------------- Rainer 'Ny' Bendig | http://UnresolvedIssue.org | GPG-Key: 0xCC7EA575
Rainer Bendig aka Ny wrote:
Hi Rainer Lay, *,
Rainer Lay wrote on Sat Nov 20, 2004 at 10:51:57AM +0100:
BTW, since I want ot run it as a batch process in e.g. cron, I would prefer a solution, which requires no X connection.
Grep it via wget and parse it to cups...
So I have to create a pdf printer queue? And how can I specify the output file name? rgds, Rainer
Try the following: wget <URL> --output-document=- | html2ps -o - | ps2pdf - <output file> This would get the webpage, convert it to PostScript and then convert that to a PDF. There is also the following: wget <URL> --output-document=- | htmldoc -f <output file> - But the results are not as good IMO. I had problems with its rendering on a page I used to test before I sent this. On Saturday 20 November 2004 04:25, Rainer Lay wrote:
Rainer Bendig aka Ny wrote:
Hi Rainer Lay, *,
Rainer Lay wrote on Sat Nov 20, 2004 at 10:51:57AM +0100:
BTW, since I want ot run it as a batch process in e.g. cron, I would prefer a solution, which requires no X connection.
Grep it via wget and parse it to cups...
So I have to create a pdf printer queue? And how can I specify the output file name?
rgds, Rainer
-- Kelly L. Fulks Home Account near Huntsville, AL
participants (3)
-
Kelly Fulks
-
Rainer Bendig aka Ny
-
Rainer Lay