Yep. That should get the raw file contents.
There are also Linux and Windows based PCL to PDF converters still out there, but I have not used any for several years.
Potential workflow:
-Extract file contents to IFS
-Send over to Linux/Windows server
-Convert with whatever you decide to use and get back resulting file to IFS.
Regards,
Richard Schoen
Web:
http://www.richardschoen.net
Email: richard@xxxxxxxxxxxxxxxxx
------------------------------
message: 6
date: Tue, 12 Nov 2024 08:46:19 -0800
from: VERNON HAMBERG Owner via MIDRANGE-L
<midrange-l@xxxxxxxxxxxxxxxxxx>
subject: Re: Converting a *USERASCII spooled file (containing PCL)
into a PDF file in the IFS
Hi Richard
I see that I posted something in these lists in 2016 about using CPYSPLF with the TOSTMF parameter -
Since 7.1 of the OS, if you do not set the WSCST parameter, it will copy contents of either *AFPDS or *USERASCII.
CPYSPLF FILE(YOURUSSPLF)
TOFILE(*TOSTMF)
TOSTMF('/path/to/stream/file.ext')
STMFOPT(*REPLACE)
Ghostscript could then convert that from PCL to PDF, it seems.
Thanks
Vern
On Tue, 12 Nov, 2024 at 9:59 AM, Richard Schoen <richard@richardschoennet> wrote:
To: midrange-l@xxxxxxxxxxxxxxxxxx
GhostScript is indeed available via the IBM Open Source Package Management.
Looks like V9.52.
Regards,
Richard Schoen
Web:
http://www.richardschoen.net
Email: richard@xxxxxxxxxxxxxxxxx<mailto:richard@xxxxxxxxxxxxxxxxx>
------------------------------
As an Amazon Associate we earn from qualifying purchases.