Print to file
We have a unique requirement but I am unable to find a solution. I checked some documents posted on sdn also checked OSS note but nothing worked. Seems like I am missing something important.
Is it possible to print to some directory in our application server.
User executes a report and prints the report. He then chooses outout device (ZFILE) the report output then gets directed to /tmp directory in our server.
rspo/host_spool/print profile parameter has value cd &p; /usr/bin/lpr -P&P -J&f -r -h -#&C &f 2>&&1
I configured ZFILE in SPAD and with command id 'L' , I entered command to transfer print data as
cd &p; /usr/bin/lpr -P&P -J&f -r -h -#&C &f 2>&&1 &F /tmp/zfile.txt
I thought my report output will be saved in /tmp directory with name ZFILE.txt but I don't see it in /tmp
Has anyone configured output device to print to file instead of printer.
Thanks and Have a great day.