vineetu1
28th November 2005, 05:41
:(

While printing any Baan report when we use a windows printer device we can use the option of preview to see the report. This is done manually.

Almost 95% of reports are previewed before printing to the printer.

Is there any pre-defined variable for spool which can be set so that as soon as the report is fired from Baan session instead of the select device window it directly prints to the Preview window.

we can use the brp.open() function with various options to select the report . Also there are various other variables which can be set for spool. But I am not able to find variable for preview (it is a check box in session ttstpsplopen : Select Device).

We can use mode 0 in the brp.open() function to suppress the window but then it directly prints to the printer.

en@frrom
28th November 2005, 13:23
use spool.preview = true