LittleJohn
10th April 2003, 22:00
Hi,

I have a print session that creates a data file of all the records it printed.

I am trying to get the name of the device that this print session used.
How is it possible to trap the device name in the program script.

All suggestions are welcome. Thanks

Regards
Minhaaj

NPRao
10th April 2003, 22:10
Minhaaj,

The device name is stored in spool.device.

Refer to the predefined spool.* variables.

http://www.baanboard.com/programmers_manual_baanerp_help_functions_spooling_spool_open

http://www.baanboard.com/programmers_manual_baanerp_help_functions_reports_rprt_open

LittleJohn
10th April 2003, 22:47
got it.... it works !!

thanks prashant