As a follow up to previous question - I am using Meir's script from http://whatsup.org.il/article/6412 - which has hard coded A4 paper size.
Since my documents are for the Kindle, with screen size of 9 cm x 12.2 cm, I tried replacing it with B7 (8.8 x 12.5), but the slight discrepancy in length results in the last line cut up in the middle, so I want to use paper size : custom. Alas, I can't find any example of where I stick my 'custom' dimensions and in what format. The code calls for printer.setPageSize(QPrinter.B7 or A4 in the original) Anyone has any experience in using QPrinter page size funtcion with custom page size? How do I list the width and length? This is the variable from trolltech's web site: enum *PageSize* { A0, A1, A2, A3, ..., *Custom**)* Thanks Steve http://www.words2u.net - GPS points and tracks (mainly in Costa Rica) http://www.words2u.net/recipes - Recipe collection
_______________________________________________ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il