I have a letter that needs a PDF thrown in the end. The PDFs change in their page count though, so that’s a bit of an issue. I used a control script to throw the pages in, and I can separate by the page count, but there’s a few issues. This is a presort mailing. I need the presorted data to break out into the different page count for inkjetting. This means I need the data I take in to have the final sequence numbering to push into the inserters for inkjetting. Curses.
The obvious solution, to me because I’m a brute and forcy and stuff, is to build the files, embed the full data record, group the file, dump out the new CSVs and spray on some sequence numbers. I don’t need to do this though. I’m just working on how to do it “right”.
I’ve gotten as far as reading the filename in, and grabbing a page count, but dumping the page count back into the data is being a bit of a hassle. Once I do that though, I can sequence by the page count, fix the sequence number, and dump out records all in one pass.
That’s what my life consists of now.