TTprintPreview and paper size

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

TTprintPreview and paper size

Postby pinjoa » January 23rd, 2007, 2:04 pm

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
pinjoa
Member
Member
 
Posts: 2
Joined: January 23rd, 2007, 1:05 pm

Postby Kambiz » January 23rd, 2007, 6:33 pm

Welcome!

Do you set the UsePrinterOptions property to False?
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2408
Joined: March 7th, 2003, 7:10 pm

Postby pinjoa » January 23rd, 2007, 7:00 pm

as requested here are all TPP default values:
...
Annotation := False;
DirectPrint := False;
UsePrinterOptions := False;
FastPrint := True;
PaperType := pA5;
ZoomState := zsZoomToWidth;
...
pinjoa
Member
Member
 
Posts: 2
Joined: January 23rd, 2007, 1:05 pm

Postby Kambiz » January 23rd, 2007, 9:54 pm

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


Return to DELPHI AREA Products

Who is online

Users browsing this forum: No registered users and 3 guests

cron