Print HTML to PDF via Konqueror

Dotan Cohen dotancohen at gmail.com
Wed Dec 24 08:04:19 GMT 2008


2008/12/24 James Richard Tyrer <tyrerj at acm.org>:
> Dotan Cohen wrote:
>> I need to print an HTML page via lpr however I am getting the HTML
>> code printed out, not the rendered page. Can I somehow call Konqueror
>> to render a page and print it to a PDF file via the CLI? Something
>> like this pseudo-command:
>> $ konqueror --print-pdf file.html file.pdf
>>
> Can't you just open the HTML page in a browser and then print it?
>
> KDE (and most GUI UIs) are designed to print from applications (except
> for PS files) so trying to print without using an app isn't really an
> easy thing to do.
>

No, this is being used in a script.

-- 
Dotan Cohen

http://what-is-what.com
http://gibberish.co.il

א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه‍-و-ي
А-Б-В-Г-Д-Е-Ё-Ж-З-И-Й-К-Л-М-Н-О-П-Р-С-Т-У-Ф-Х-Ц-Ч-Ш-Щ-Ъ-Ы-Ь-Э-Ю-Я
а-б-в-г-д-е-ё-ж-з-и-й-к-л-м-н-о-п-р-с-т-у-ф-х-ц-ч-ш-щ-ъ-ы-ь-э-ю-я
ä-ö-ü-ß-Ä-Ö-Ü
___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.


More information about the kde mailing list