?
Solved

Parsing through PDF file and separating pages based on placeholder

Posted on 2013-01-31
2
Medium Priority
?
181 Views
Last Modified: 2013-02-07
I have a large amount of documents that are getting scanned into a folder via a high capacity scanner.

I' have created a barcode generator in PHP that are placed manually between each document.

I'm looking for a solution in PHP that would open this large PDF file, and at each barcode page, create a new PDF file based on the timestamp.

The end result would hopefully be me having 10 separate files with the barcode page being the first page in each document, rather than my one big document.

Thanks in advance.
0
Comment
Question by:t3chguy
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 5

Accepted Solution

by:
Pyromanci earned 2000 total points
ID: 38864852
Unfortunately since a pdf file is binary data there is no internal way for php to look for a specific marker.  You would have to use a 3rd party library to handle it. Take a look at:
http://www.fpdf.org/
http://www.setasign.de/products/pdf-php-solutions/fpdi/

Those 2 should, in theory at least, do what you want.
0
 
LVL 1

Author Closing Comment

by:t3chguy
ID: 38865439
Thank you
0

Featured Post

Enroll in August's Course of the Month

August's CompTIA IT Fundamentals course includes 19 hours of basic computer principle modules and prepares you for the certification exam. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

This article discusses how to create an extensible mechanism for linked drop downs.
This article discusses how to implement server side field validation and display customized error messages to the client.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Suggested Courses

741 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