cryan wrote: Qt lacks a decent means of dealing with custom page sizes for printing. The code works best when Qt has some defined page size so we try to give it an approximate size. The end where it returns the Letter size may not be correct based on the code but it may also be there because the printing just wasn''t working correctly without it. The findNearest function should be looking for something that is close or larger than what you specified. From looking at all the choices I would guess that Letter is the page it would likely choose as the closest size.
Various people have had various success printing to printers using non-standard page sizing. I believe at least one of those was a thermal label printer which has a continuous form feed system. -- Read more at http://www.xtuple.org/phpBB2/viewtopic.php?t=3420