trichview.com

trichview.support




Re: Aborting PrintPages?


Return to index


Author

Message

Sergey Tkachenko

Posted: 10/29/2003 22:53:29


Well, you can raise an exception in OnSendingToPrinter, for example call

Abort procedure.

In this case, you need to call PrintPages in this way:


try

  rvp.PrintPages(...)

except

  Printer.EndDoc;

end;


>

> Is there a way to abort the PrintPages function after it was called? My

application

> often prints very large files and I want my users to have the option to

stop

> printing (sending pages to printer) after my application calls PrintPages.

>

> I want to do this in some of the RVPrint events, i.e. OnSendingToPrinter.

>

> Is this possible and if yes - how?

>

> Regards,

> Petko





Powered by ABC Amber Outlook Express Converter