PDF Generator
HomeBlogDocsContact
  • Overview
    • Try It!
    • Introduction
    • Key Features
    • Industry Use Cases
      • PDF Generator for Human Resources
    • Videos
  • Technical Docs
    • Getting Started
    • Building a PDF Template
      • HTML to PDF Merge Templates
      • Printable Labels
        • Label Templates
        • Label Configuration
        • Adding New Avery Type Label Configuration
        • Printing Labels
      • Merge Keys
      • Data Sources
    • Generating a PDF Document
      • Create from Wizard
      • Create from Flow Action
      • Create from Script
    • The Generate PDF Wizard
      • PDF Wizard (Standard Forms)
      • PDF Wizard (Workspaces)
      • PDF Wizard (List View)
    • Adding QR / Barcodes to PDFs
      • How-to Create Barcode Labels
    • TinyMCE Configs
    • Logging
    • Troubleshooting
Powered by GitBook
On this page
  1. Technical Docs
  2. Building a PDF Template
  3. Printable Labels

Label Templates

PreviousPrintable LabelsNextLabel Configuration

Last updated 9 months ago

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.

  • 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.

    • 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

    Content for the Template HTML

    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}.

Label: The you wish to use for this template

Mode: Options for how many labels are created for each record in the

The Template HTML field can include static, dynamic, and programmatic content. To include dynamic or programmatic content, you will reference an associated record. When doing so, simply use ${handlebar} brackets around the 'Merge key' value for the desired Merge Map.

Label Config
Data Source
PDF Template Merge Map
Label Template