2008/6/24 <jmoreno@xxxxxxxxxxxxxxxx>:
Hello everyone,

Is there a way to convert .PDF files back to spooled *file format

We use a number of utilities to convert from spooled format to .PDF format
and place those in the IFS.
once in a blue moon we need to convert one of those back to spooled *file
format.

If you have PDF capable printers there is a a fairly straightforward solution.

First create a *USERASCII printer file.

CRTPRTF FILE(QGPL/PDFASCII) DEVTYPE(*USERASCII)

Then FTP the PDF into the *USERASCII file in BINary format. You can do
this all from your System i

ftp myi
bin
put /path/to/pdf /qsys.lib/qgpl.lib/pdfascii.file

The system recognises this action and duly creates a spooled file in
the job doing the FTP. You can't view the spooled file - it's
essentially still the PDF in a *USERASCII wrapper, but it will print
on suitable printers. Our HP lasers seem to cope fine.

Regards, Martin

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.