Solved

PDF Version

Posted on 2011-02-28
4
751 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 500 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Update 21-May-2015: I temporarily removed the source code and the code snippets to make major changes to the program. Regards, Joe INTRODUCTION This Article is a follow-up to the Article entitled How To Rename-Move a Batch of PDF Files Based o…
Update 21-May-2015: I temporarily removed the source code to make major changes to the program. Regards, Joe In a previous Experts Exchange article, How To Rename-Move a Batch of PDF Files Based on Contents of the Files (http://www.experts-exchan…
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 seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

679 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