[prev in list] [next in list] [prev in thread] [next in thread]
List: kfm-devel
Subject: dcp: print to pdf problem
From: Gábor Farkas <gabor () nekomancer ! net>
Date: 2005-11-23 15:45:25
Message-ID: 43848E95.2020207 () nekomancer ! net
[Download RAW message or body]
hi,
i'm trying to create a html-to-pdf convertor,
and i'm trying to do it with konqueror :)
the idea is to open the page in konqueror, and print it to the pdf printer.
but all this from a script.
so i started a konqueror instance, printed a page using pdf.
now with dcop, i can do something like:
"dcop load-the-url-i-do-not-remember-it-here-right-now-but-it-works-fine"
"dcop konqueror-12345 html-widget-3 print 1"
and it prints fine.
but, if i just start a konqueror instance, and try to print using the
abovementioned lines, i get an error.
if i go and manually invoke the print dialog and print,
after this, my print-script works.
the error i get is:
===
A print error occurred. Error message received from system:
cupsdoprint -P '' -J 'http://www.google.sk/' -H 'localhost:631' -U
'gabor' -o '
multiple-document-handling=separate-documents-uncollated-copies
orientation-requested=3' '/tmp/kde-gabor/kdeprint_ukJAOKiA' : execution
failed with message:
No printer specified (and PRINTER variable is empty
===
any ideas how could i do fix this problem of mine?
gabor
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic