The problem is that all pages are generated before preview and then used for preview and printing.
>I should learn it:
>Message #
1276563>:-)
>
>I can't test it right now, but the Note in help said that SYS(2040) will return right value in Error Handler routine. Is that true if we use function in Print When?
>Something like:
>Print When: MyPrintWhen()
>
>
>Function MyPrintWhen()
>RETURN SYS(2040) # 2
>
>I'll check this tomorrow, but I'm just curious right now :-)
--sb--