| View previous topic :: View next topic |
| Author |
Message |
pinjoa Member
Joined: 23 Jan 2007 Posts: 2
|
Posted: 23/01/07 14:04 Post subject: TTprintPreview and paper size |
|
|
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
|
|
| Back to top |
|
 |
Kambiz Administrator

Joined: 07 Mar 2003 Posts: 1113 Location: Tehran, Iran
|
Posted: 23/01/07 18:33 Post subject: |
|
|
Welcome!
Do you set the UsePrinterOptions property to False?
_________________ Kambiz |
|
| Back to top |
|
 |
pinjoa Member
Joined: 23 Jan 2007 Posts: 2
|
Posted: 23/01/07 19:00 Post subject: |
|
|
as requested here are all TPP default values:
...
Annotation := False;
DirectPrint := False;
UsePrinterOptions := False;
FastPrint := True;
PaperType := pA5;
ZoomState := zsZoomToWidth;
...
|
|
| Back to top |
|
 |
Kambiz Administrator

Joined: 07 Mar 2003 Posts: 1113 Location: Tehran, Iran
|
Posted: 23/01/07 21:54 Post subject: |
|
|
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 |
|
| Back to top |
|
 |
|