So, I work at a school, and the people here want to keep electronic versions of the student reports. These are produced either by access or crystal reports, and they create a massive PDF by printing all the reports at once. The issues is how to split this report automatically, since each report can vary in the number of pages it has. I want to be able to have it cut on pages containing a certain word or phrase. Is that possible?
We’ve been using a program called PDFsam to do basic per-page splitting, and also have access to Acrobat Professional 8 and Livecycle 8.
I have a similar thing, where I have to split a large PDF (also the result of a crystal report, oddly enough) into numerous two page documents, each named something like customer_id.pdf. I use pdftk to burst the original pdf into pages and then reassemble, and pdftotext to get the information from them to name them correctly. I’m lucky that my output documents are always 2 pages long, but if you have a common element on each page of each student’s report that you can look for, you should be able to come up with some logic to reassemble documents with a variable number of pages.
Yeah, the mid-semester reports are a fixed number of pages, so they are fine. But despite threats and cursing, teachers want to keep extending their sections of the reports for end-semester, and so with different subjects, you will get different page lengths. Personally, I think the best solution is to force the report to always be the same number of pages, but I’ve been asked to look into this.
Probably a bit of a stretch, but I seem to recall that you can tell Access to generate a report and write back to a field in the query that populates it. The query could pull the top record from the overall list, and exclude records that have been updated as “printed” by the report. Macro to run the report | print to file until the query is empty?
Not sure how best to deal with naming and saving each file, though.
Also, it is entirely possible I am misremembering what Access is capable of.