-
Posts
7 -
Joined
Posts posted by cswart
-
-
Ok, at this point we have most of this figured out. The one piece we're missing is a method for counting consecutive pages in a batch where each record might have a different/varying number of pages.
Can anyone help with that?
So again, we can easily count the page numbers in a record, but we just need a way to have that page's number count for the entire run.
-
Hi,
We have a project we're working on where we're outputting reminder letters. We have a custom barcode that's needed for our mail inserter to figure out how many pages go in each envelope. We have a daily file with a large number of records, and each record will have a main body page, possibly an additional overflow page, and possibly 1-10 additional inserts. (We actually have 10 pages set up in the document for each of the potential inserts.)
The inserter needs a particular format to do it's job so we need to set up the barcode with a sequential numbering system that uses a rule to determine:
That page's count in the overall run
That page's count in the record.
So example of how the barcodes need to be show on each page:
TotalRunPageNumber RecordPageNumber
Example with 5 records:
First Record has Main Body Page and One Insert
00001001 <-- First Record Main Body Page
00002002 <-- First Record Insert
Second Record has Main Body Page, Overflow Page, and One Insert
00003001 <-- Main Body Page
00004002 <-- Overflow Page
00005003 <-- Insert 1
Third Record has Main Body Page only
00006001 <-- Main Body Page
Fourth Record has Main Body Page, Overflow Page, Insert 1, Insert 2, Insert 3
00007001 <-- Main Body
00008002 <-- Overflow
00009003 <--Insert
00010004 <--Insert
00011005 <--Insert
Fifth Record has Main Body Page only
00012001 <-- Main Body
Again, first five digits = Page count in run
Next three digits = Page count in record
So is there a way to create a rule on record end, or job end, that can handle this? Just needs to be able to determine the page's count in the entire run, and then the page count within the record itself, and generate this sequential numbering system throughout the run?
Continuous Page Count
in Getting Started, Learning, Etc.
Posted
Ok, rephrasing a previous question because I wasn't getting a response.
We will be outputting individual PDFs from numerous records in one file. Each PDF will have a varying amount of pages (Anywhere from 1-10). There is a main body page and an overflow page to capture overflow text from that main body. This is what will generate additional pages.
We need a page counter that will put the page's number in the entire batch, not the individual PDF.
So record one generates a 2 page PDF (numbered page 1 and page 2). Record 2 generates a 5 page PDF (numbered page 3, page 4, page 5, page 6, and page 7).
How can we do this?