?
Solved

PDF Version

Posted on 2011-02-28
4
Medium Priority
?
759 Views
Last Modified: 2012-06-27
At present we are building some work flows using Enfocus Full Switch to Pre-flight and proof (via EFI XF) PDFs prior to sending them to press.

Most of our PDFs come from InDesign, but some are generated by the ESKO Backstage/packedge system that we use.

Esko have migrated to using a version of PDF format as their main file format, however these file have a few variations, i.e., linked externals, that mean they are not much use outside of the backstage system. While we are able to export as an Adobe PDF for the purposes of going to press, we would like to try and put a check into the work flow that will prevent any of the rouge ESKO pdfs from going through the system, unfortunately we can't find a way of telling the difference between the two files outside of the backstage system.

Does any one know of a method telling the two files apart that we may be able to implement with Full Switch
0
Comment
Question by:Maplehurst
  • 2
  • 2
4 Comments
 
LVL 14

Expert Comment

by:Brook Braswell
ID: 35006727
Not being familiar with the ESKO pdf formats I would say that I have seen other facsimile PDF formats.
The most common difference in the format is that a normalized PDF has the beginning of %PDF-
This is usually followed by some version tag like 1.3

There is also a creator tag that should indicate a difference for you...
Parsing the first few lines of a PDF should give you an indication of what you might need.

Example of a normalized PDF

%PDF-1.3
%âãÏÓ
1 0 obj
<< 
/Creator (Canon )
/CreationDate (D:20100216110020-05'00')
/Producer ( )
>> 
endobj

0
 
LVL 1

Author Comment

by:Maplehurst
ID: 35006835
Brook1966, thanks for that sounds promising.
However excuse my ignorance how would I go about parsing a pdf, and potentially fitting it into a FullSwitch workflow?
0
 
LVL 14

Accepted Solution

by:
Brook Braswell earned 2000 total points
ID: 35006926
I am not sure what you mean by "FullSwitch workflow".
It would take some coding to parse the PDF like a C program or Visual Basic.

In VB you would open the PDF as a file and read the first few lines enough to gather what you need.
A decision could then be made as far as what to do with the file if it "Fails" the check.
Perhaps move the file to a different location like a folder marked "ESKO".

If you want to do this manually....
Then you could right click on your PDF and open with MS Word.  Then you could visually inspect and make a decision.
0
 
LVL 1

Author Comment

by:Maplehurst
ID: 35008648
Brook1966 thanks for that solved our problem perfectly.

For you info FullSwitch is just an automated workflow system from Enfocus that allowes you to daisychain hot folders and applications like PitStop and Adobes creative suite to process files.

It turns out that the ESKO files are all produced as version 1.6 and everything else in the system should be 1.3 (to comply with pdf/x-1a:2001) ready for press.
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

One of the questions I get asked again and again is how to validate a field value in an AcroForm with a custom validation script. Adobe provided a lot of infrastructure to do that with just a simple script. Let’s take a look at how to do that wit…
Update 21-May-2015: I temporarily removed the source code and the code snippets to make major changes to the program. Regards, Joe A recent question here at Experts Exchange piqued my interest, so I decided to provide a thorough solution and publ…
In this second video of the Xpdf series, we discuss and demonstrate the PDFimages utility, which, in a single command, is able to extract all the images from a PDF file and save each one in a separate image file (PBM, PPM, or JPG). Download and inst…
In this third video of the Xpdf series, we discuss and demonstrate the PDFtoText utility, which converts PDF files into plain text files. Download and install the software.: You may have already downloaded and installed the Xpdf tools while watching…
Suggested Courses

621 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question