Rexolio
Technical User
- Aug 29, 2001
- 230
Okay...this is a confusing one from the get-go, so I don't know how much sense all of this will make and I'm not sure that I will explain this sufficiently. But I'm at my wit's end and I need your help...
I'm using ActivePDF to print PDF mailing labels. The mailing label stock is 30 to a page in rows of 3. The information for the labels, obviously, is pulled from a database. The problem I'm having is that the standard <% if not n mod 3 = 0 %> that allows my records to be retrieved and displayed horizontally, 3 across, then start a new row won't cut it for ActivePDF.
Obviously each record will consist of Name (1st line), Address (2nd line), and City/State/Zip (3rd line). The problem with ActivePDF is that as far as I can tell, is that I can't print record #1's info on 3 lines of one row, then record #2's info on 3 lines of the same row and ditto with record #3. ActivePDF doesn't seem to use "rows", but instead "lines". Sooo...
For this example, TRUE means stay on line; FALSE means move to next line. It should be like this (simplified):
PrintLine Record1(Name) at 0.35", TRUE
PrintLine Record2(Name) at 3.5", TRUE
PrintLine Record3(Name) at 6.0", FALSE - move to next line
PrintLine Record1(Address) at 0.35", TRUE
PrintLine Record2(Address) at 3.5", TRUE
PrintLine Record3(Address) at 6.0", FALSE - move to next line
I THINK you man get the picture...I don't know how to say "Pull first 3 records' Name, then go back and pull the Address for those same 3 records, then..." Don't know how to go in and out of a record like that and still continue on consecutively if there's several records.
Am I making ANY sense?
Thanks,
Rexolio
I'm using ActivePDF to print PDF mailing labels. The mailing label stock is 30 to a page in rows of 3. The information for the labels, obviously, is pulled from a database. The problem I'm having is that the standard <% if not n mod 3 = 0 %> that allows my records to be retrieved and displayed horizontally, 3 across, then start a new row won't cut it for ActivePDF.
Obviously each record will consist of Name (1st line), Address (2nd line), and City/State/Zip (3rd line). The problem with ActivePDF is that as far as I can tell, is that I can't print record #1's info on 3 lines of one row, then record #2's info on 3 lines of the same row and ditto with record #3. ActivePDF doesn't seem to use "rows", but instead "lines". Sooo...
For this example, TRUE means stay on line; FALSE means move to next line. It should be like this (simplified):
PrintLine Record1(Name) at 0.35", TRUE
PrintLine Record2(Name) at 3.5", TRUE
PrintLine Record3(Name) at 6.0", FALSE - move to next line
PrintLine Record1(Address) at 0.35", TRUE
PrintLine Record2(Address) at 3.5", TRUE
PrintLine Record3(Address) at 6.0", FALSE - move to next line
I THINK you man get the picture...I don't know how to say "Pull first 3 records' Name, then go back and pull the Address for those same 3 records, then..." Don't know how to go in and out of a record like that and still continue on consecutively if there's several records.
Am I making ANY sense?
Thanks,
Rexolio