Page 1 of 1

PrintPreview v4.74 and large paper sizes

PostPosted: May 2nd, 2007, 11:22 pm
by marcel1218
I am using the SaveAsPDF functionality of TPrintPreview. It works fine for smaller paper types such as letter or legal. However, when I try saving larger paper types such as C, D or E sheets, then the resulting PDF file reports paper sizes such as 200" by 200" with no data. In examining the PaperTypeToPDFPageSize function, I see that only 14 paper types are considered. Is it possible to add additional paper types, particularly those used by plotters to the SaveAsPDF operation of TPrintPreview?

PostPosted: May 3rd, 2007, 7:29 am
by Johnny_Bit
It's that guy from PDF fault. Bash him about it, because he didn't release the source, so we can't fix it.

PostPosted: May 3rd, 2007, 11:44 am
by Kambiz
Altough only 14 papar sizes are defined, all other sizes will be handled as custom.

The dll gets size of custom pepers in 1/100 of millimeters. I guess the dll doesn't handle the large numbers properly.