Depends how the PDF was created. Most of the tools I've seen simply copy
the spooled file text and wrap it inside a PDF format. A PDF is
essentially a specially formatted text file. If you open such as PDF in
a text editor such as Ultraedit or even EDTF, you'll see something like:
stream
BT
1 0 0 1 25 580 Tm
/F1 9 Tf 8 TL
(HCE001 BORGWARNER
PAGE: 1) '
( COST
EXPLOSION DATE: 9/10/06) '
(PART NUMBER: MODEL: PS:
IT: ECN: TIME: 10:31:24) '
(PART NUMBER DESCRIPTION TYPE QUANTITY MATERIAL
LABOR OUTSIDE -----------HOURS---------- EXTENDED) '
( PER PARENT /BURDEN
/BURDEN /BURDEN MACHINE ASSEMBLY MISC AMOUNT) '
(-----------------------------------------------------------------------
-------------------------------------------------------------) '
() '
() '
( * * E N D O F R E P O R T * *) '
ET
Endstream
Things between parentheses ( ) are the spooled file data. It should be
possible to write a utility to search for the text streams and write it
back to QSYSPRT. You would need to interrogate the file for width, such
as 80, 132, or 198 positions.
Done correctly, such a utility would need to interpret the PDF to
determine the number of pages and positions for the textual information.
On the other hand, if the tool converts the spooled file to a picture or
graphic format, I don't know a way to reverse that.
HTH,
Loyd
Loyd Goodbar
Business Systems
BorgWarner Shared Services
662-473-5713
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of
jmoreno@xxxxxxxxxxxxxxxx
Sent: Tuesday, June 24, 2008 6:32 AM
To: midrange-l@xxxxxxxxxxxx
Subject: Convert .PDF in the IFS back to spooled *file format
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.
Thanks for your answers
Jorge Moreno
Overseas Military Car Sales
Woodbury, New York
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.