khtml printing. How to scale or print full size?

Unai Garro Unai.Garro at ee.ed.ac.uk
Tue Nov 11 15:45:57 CET 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi there, I use khtml in my app to show recipes, and then the app is meant to 
print it. 

Here's a sample file generated by the app: 
http://www.see.ed.ac.uk/~uga/recipe.html

and pdf file resulting from printing it: 
http://www.see.ed.ac.uk/~uga/recipe.pdf

If you have a look at the pdf, or try to print it from konqui you'll see what 
the problem is. It generates a tiny printout only, instead of a full width 
page. 

Only if I remove "width=" tags, it's printed in full size. 

Is there any way I can force it to print in full size? I can't avoid 
specifying the widths, since it's meant to show the recipe correctly 
formatted.

Thanks very much

	Unai

PS: the only thing the code does is using the method: 
KTHMLPart::View()->print()
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/sPYpWNUXeOoCNE0RAiHDAJ9FAJC1mFtKL+M83wsx6aTM4EVXwQCghD/+
cfh96cUcpXWiyY37OLVIYww=
=RkSU
-----END PGP SIGNATURE-----


More information about the kde-print mailing list