Hello everybody,
I try to exceute a script when a user wants to print a document.
In RZ10 I added the following parameter:
rspo/host_spool/print /usr/local/bin/do_sap_print.sh &P &C &F &J &m &o &L &T
In SPAD I added a printer .
When I print a test the script exceuted successfully with "return code 0" ( + exit 0) .
But the SAP spool protocol printed "(l_rc = 1)" .
Does anybody has some hints or tricks to execute the script an retrun the code 0 to the SAP System ?
Best regards
A. Moore