Create BarTender Printer Code Templates – BarTender Instructions


This Instruction Article explains the basic steps to create a BarTender Printer Code Template (PCT) for BarTender Automation and Enterprise Automation.


1. Determine the Correct File Formatting Required

The destination of the PCT will determine certain format conventions that must be consistently used throughout the PCT file for the PCT to work.  This can include:

  • Delimiters used throughout the file to designate where different types of data need to be inserted.  Types include the text or barcode field information, label header and footer information, etc.
  • Printer specific language or printer model requirements.
  • Output file requirements such port information, use of separate ‘format’ and data file’ files, specific destination directory information and/or a specific default file extension.
  • Performance impacting settings such as if Graphics, Objects, Variable Data, and Serialization are allowed.
  • Other General file characteristics such need for file prompting on external keyborads (KDU), dual size printing support, use of multiple design templances, and specific modifiers (i.e. default printer code changes and/or inserted VB script) to the file.

BarTender has several formats per-configured including:

  • SAP ITF File
  • TEC Printer / XML
  • Zebra XML
  • Intermec XML
  • Datamax Printer / XML
  • Argox Printer

2. If Required, Create a New Printer Code Template (PCT) Setup

If one of the setups definitions or setups is not available, you will need to create one.  BarTender Automation and Enterprise Automation have a tool to assist with this.  Try these steps:

  1. Open the Printer Code Template Setup utilities (Administer > Printer Code Template Setup…)
  2. Select the new icon at the bottom of the Print Systems list, enter a new name for the PCT setup, and go through each of the tabs (Delimiters, Printer, Output, Performance, and General)
  3. Make sure to select “Visible in Print System list” and OK when done

3. Review / Update Label Design Specific Settings

BarTender saves these settings with the label template.

  1. Open the “Export Printer Code Template” (File > Export Printer Code Template).
  2. Select the correct PCT setup on the Print System list (with the “Visible in Print System list” checked in the PCT setup screen in step 2 above, your new PCT Setup should appear) and define / confirm Output options.
  3. Select the “More Options…” button and go through Printer Code Template options (Template Fields, Printer, Object Print Method, Performance, and Advanced).  It is particularly important to look at each Template Field to make sure it is defined correctly in the PCT file.
4. Export Printer Code Template

Once you have completed reviewing the settings on the main Export Printer Code Template screen and the Printer Template Options screens, you should be ready to export the PCT file.  From the main Export Printer Code Template screen, select “Export”.


Additional Comments

See attached white paper from BarTender on Printer Code Templates.

Written using: BarTender 2016 Enterprise Automation


Was this article helpful?

Related Articles