By roylansink at 7 Apr 2020 - 14:29
I'm trying to print a report to a second device. The idea is that with the print, the report is stored to a folder as well.
The following code is used for testing purpose, but when I run the report, I get a blank notepad file. What am I doing wrong?
|Save original values
org.spool = spool.id
org.pr.line = spool.pr.line
org.fileout = spool.fileout
|Open extra spooler and print report
spool.id = spool.open("rtcmcs041011000","NOTEPAD",0)
|fill predefined vallues with original values
spool.id = org.spool
spool.pr.line = org.pr.line