Page 1 of 1

Default Printer not exist

Posted: Fri Mar 10, 2006 1:15 pm
by cychia
if the default printer is set to a printer which no longer exist, I will get the following exception from RVRuler:

"Printer selected is not valid"

Then, after that I cannot access the Page Setup, Print Preview & Print.

Why?

Page Setup & Print Preview shouldn't depend on printer setting for display right?

Posted: Fri Mar 10, 2006 8:32 pm
by Sergey Tkachenko
All these actions depend on the chosen printer.
Print preview relies on page size and printer resolution.
Page setup reads from the printer a list of available page sizes and paper sources.

Please contact the ruler author (Pieter Zijlstra, see his email in Ruler.pas) about the exception.

Posted: Sat Mar 11, 2006 4:36 pm
by Pieter Zijlstra
Since version 1.6, included in RichViewActions 1.33, RVRuler should not generate an exception when the default printer is not available. Which version are you using?

You can turn of the handling of the default printer by RVRuler by setting roAutoUpdatePrinterWidth and roUseDefaultPrinterWidth of RVRuler.Options to False.

How to show Page Setup without printer set?

Posted: Tue Mar 28, 2006 10:43 am
by cychia
How if there is no printer is set, but I still want to do Page Setup?

Posted: Tue Mar 28, 2006 5:59 pm
by Sergey Tkachenko
In RichViewActions, it's not possible.