El día Monday, November 07, 2005 a las 11:08:12AM +0100, [EMAIL PROTECTED] 
escribió:

        ...
> 
> and playing with the { font-size: 8px; } makes the printout
> smaller or bigger; but this is not an option if I want to print
> pages from the web and not my own pages; there seems no way on
> the klick-level to configure this and teh KDE docs does not explain
> how the khtml may be configured on file level :-(

I don't know if this is for intention to do it this way, but I've
found a file /usr/local/share/apps/khtml/css/html4.css which seems
to control the rendering for printouts; I changed the existing
'@media print' block which now looks like:

@media print {
        body {
                display: block;
                margin: 0px;
                font-size: 6pt;
        }
        table {
                display: block;
                margin: 0px;
                font-size: 6pt;
        }
        td {
                display: block;
                margin: 0px;
                font-size: 6pt;
        }
        th {
                display: block;
                margin: 0px;
                font-size: 6pt;
        }
}

and this is much better now;

        matthias

-- 
Matthias Apitz / Sisis Informationssysteme GmbH
Gruenwalder Weg 28g / D-82041 Oberhaching
Fon: ++49 89 / 61308-351, Fax: -399, Mobile ++49 170 4527211
http://www.sisis.de/~guru/
_______________________________________________
kde-freebsd mailing list
[email protected]
http://freebsd.kde.org/mailman/listinfo/kde-freebsd

Reply via email to