PrintPreview v4.74 and large paper sizes

Please post bug reports, feature requests, or any question regarding the DELPHI AREA projects here.

PrintPreview v4.74 and large paper sizes

Postby marcel1218 » May 2nd, 2007, 11:22 pm

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?
marcel1218
Member
Member
 
Posts: 2
Joined: May 2nd, 2007, 11:12 pm

Postby Johnny_Bit » May 3rd, 2007, 7:29 am

It's that guy from PDF fault. Bash him about it, because he didn't release the source, so we can't fix it.
Thou shalt write the code, not connect the bricks.
Johnny_Bit
VIP Member
VIP Member
 
Posts: 455
Joined: June 15th, 2003, 9:56 am

Postby Kambiz » May 3rd, 2007, 11:44 am

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.
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2429
Joined: March 7th, 2003, 7:10 pm


Return to DELPHI AREA Projects

Who is online

Users browsing this forum: No registered users and 2 guests

cron