Solved

PDF Version

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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
PDF files Slow openning 8 90
PHP and Form data to PDF 4 86
A PDF to HTML file converter 2 94
3d PDF Reader 5 30
The ability to edit PDF documents can be useful, however it may not be a straight forward process. Many non-technical people don't realise that a PDF document is basically an image rather than a text file, even if it contains nothing but text. If…
Update 21-May-2015: I temporarily removed the source code to make major changes to the program. Regards, Joe INTRODUCTION This article presents a solution to a question (http://www.experts-exchange.com/Programming/Installation/Q_28396542.html)…
In this video, we show how to convert an image-only PDF file into a PDF Searchable Image file, that is, a file with both the image (typically from scanning) and text, which is created in an automated fashion with Optical Character Recognition (OCR) …
In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…

759 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now