print setup problems

ScaleRichView support and discussion (TRichView add-on for WYSIWYG editing)
Post Reply
zekeriye
Posts: 32
Joined: Thu Sep 15, 2005 8:09 pm
Location: Turkey
Contact:

print setup problems

Post 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?
Sergey Tkachenko
Site Admin
Posts: 17566
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post 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.
zekeriye
Posts: 32
Joined: Thu Sep 15, 2005 8:09 pm
Location: Turkey
Contact:

Post by zekeriye »

using the scalerichview version 1.5.2 with Delphi 7
Sergey Tkachenko
Site Admin
Posts: 17566
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post 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.
Post Reply