Duplicate Blocks

Modified on Wed, Feb 14, 2018 at 3:50 PM

For PDFLib Blocks is there a way that the customer can input the info once but it will duplicate it so it goes on the front and the back? Answer. There are 2 ways to do this. 1. In blocks if you create a block Name, then you can put whatever funcionality you want in there. For example you can put a prefix and a postix with <nextline> etc...Then create another block Name.1 you do not need to put ANY functionality in there, if you have something it will not be recognized. Instead everything from Name block will be copied into Name.1. However, the pdf lib wizard still affect the output. So font colour, size etc... basically nothing in the custom section needs to be duplicated. So if you have ParagraphBlock 1 on the front of a card you can have Paragraph 1.1 on the back of the card. If you have Paragraph 1.3 then all three paragraphs will be the same.

2. The other way you can do it is to create two different paragraph blocks. One for the front and one for the back. Let's call them FrontParagraph and BackParagraph. FrontParagraph will use the paragraph command to embed all the noprint blocks in it like {Name} and {Title} ect... Then the back of the pdf you can use BackParagraph to imbed the same blocks as you did the front. So it will use the paragraph command and include {Name} {Title}  etc... Just as you would the front. You can embed blocks multiple times.  In either case you do not need to create the Name block again or the others just the paragraph block. The first way will work slightly faster.

so either a) try paragaphblock.1 or b) create a back paragraph and copy the code from the custom section of first page to the back page.


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article