Page 1 of 1

print setup problems

Posted: Tue Nov 11, 2008 8:15 pm
by zekeriye
Hi;

1) We using modified richactiontest app with our programs. if we change the document page layout the print dialog has discard it. The print dialog always poPortarit (Default page layout). The richviewedit richaction does not have got this problem.

Is it possible using thrichviewedit print dialog with srichviewedit ?

2) The srichviewedit print dialog does not page selection. It always passive. (have I got a problem at my system?)

How Can I solve these two problems?

Posted: Thu Nov 13, 2008 3:25 pm
by Sergey Tkachenko
What version of ScaleRichView do you use?
In the latest version, the document orientation and paper size is assigned to printer orientation and paper size. So values entered in printer dialog are ignored, only values entered in page setup dialog do matter.

Printing the specified range of pages is just not supported in this demo. It's simple to implement it by adding the proper option to PrintDialog and using SRichViewEdit.PrintRange method.

Posted: Fri Nov 14, 2008 6:31 pm
by zekeriye
using the scalerichview version 1.5.2 with Delphi 7

Posted: Mon Nov 17, 2008 11:30 am
by Sergey Tkachenko
I confirm this problem - ScaleRichView's printing methods do not set Printer.PageOrientation to the proper value.
It will be fixed in the next update.
Meanwhile, you can assign Printer.Orientation := srv.PageProperty.Orientation before printing.