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

List:       kde-print
Subject:    khtml printing. How to scale or print full size?
From:       Unai Garro <Unai.Garro () ee ! ed ! ac ! uk>
Date:       2003-11-11 14:45:57
[Download RAW message or body]

-----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-----
_______________________________________________
kde-print mailing list
kde-print@kde.org
https://mail.kde.org/mailman/listinfo/kde-print

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

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