Label Templates
Last updated
Last updated
For printing single pages with multiple labels, such as adhesive Label pages, you can use our Label Templates.
When you install Yansa PDF Generator, you will find an included Label Template named 'Example: Single Cell/Label'. This is a great place to get started.
You can always use the Generate PDF button in the form header to test creation of a PDF from your template. This is great for iterating during your design & creation process.
Label: The Label Config you wish to use for this template
Source table: The table to be used as the primary data source for dynamic data included in your PDF of labels.
State: Only 'Published' templates will be visible in the PDF generation modal that is typically used by your users when they generate a PDF document.
Mode: Options for how many labels are created for each record in the Data Source
Single Cell/Label: A single label per record
Entire Row: An entire row of labels per record
Advanced styling: Enable/disable an 'Advanced Styling' CSS field to allow custom CSS to be applied to the entire page of labels.
Template HTML: A custom HTML editor where you can add content to the labels to be created
The Template HTML field can include static, dynamic, and programmatic content. To include dynamic or programmatic content, you will reference an associated PDF Template Merge Map record. When doing so, simply use ${handlebar} brackets around the 'Merge key' value for the desired Merge Map.
For example, if you have a Merge Map record with a 'Merge key' of 'FIRST_NAME', you can include that dynamic value in your Template HTML with ${FIRST_NAME}.