[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: HTML printing
From:       Michael Goffioul <goffioul () imec ! be>
Date:       2001-05-18 7:24:01
[Download RAW message or body]

> I would like to ask about printing under Qt. Is Qt able to print HTML
> documents? I know that there is a QPirnter class that can print PS
> documents. But how can I put HTML document on QPrinter widget? Is
> there any class for that?

What do you want to do exactly? QPrinter class is a paint device (like
any widget), with the difference that when drawing on it, you generate
PS data. So QPrinter does not print PS documents, it generates PS
documents from what you've drawn on its device.
So to print an HTML document, you have to render the HTML data on a
QPrinter device, this will generate PS.

Bye.
Michael.

-- 
------------------------------------------------------------------
Michael Goffioul		IMEC-DESICS-MIRA
e-mail: goffioul@imec.be	(Mixed-Signal and RF Applications)
Tel:    +32/16/28-8510		Kapeldreef, 75
Fax:    +32/16/28-1515		3001 HEVERLEE, BELGIUM
------------------------------------------------------------------
 
>> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic