Page 1 of 1

TTprintPreview and paper size

PostPosted: January 23rd, 2007, 2:04 pm
by pinjoa
Hello,

I am using TPP and all works very fine.
I have only one problem :
I want to create an A5 paper sized report, but it prints all pages as A4 sized...

I configured the TPP as:
...
PV.PaperType:=pA5;
PV.Orientation:=poLandscape;
...

and it send to the printer as if i configured to PaperType:=pA4 and Orientation:=poLandscape


What is the problem ?

thanks in advanced for any help,

Best regards

PostPosted: January 23rd, 2007, 6:33 pm
by Kambiz
Welcome!

Do you set the UsePrinterOptions property to False?

PostPosted: January 23rd, 2007, 7:00 pm
by pinjoa
as requested here are all TPP default values:
...
Annotation := False;
DirectPrint := False;
UsePrinterOptions := False;
FastPrint := True;
PaperType := pA5;
ZoomState := zsZoomToWidth;
...

PostPosted: January 23rd, 2007, 9:54 pm
by Kambiz
Well, I tesetd on my printer and didn't see anything wrong.

Could you please test the issue using the Genaral Demo? Before running the demo, set the Oriantation property of PrintPreview to poLandscape. The paper size can be set at runtime.