How to create Output Templates

Last updated: Oct 2nd 2020

Output Templates allow you to define what data and in what order should be collected and then sent to the output.

The Output Template that you set in the server settings will affect the output of the Keyboard emulation and also the CSV output (if it’s enabled).


You can edit the Output Template by following the following steps:

  1. Open Barcode to PC server on your computer
  2. Click the settings icon (up-right side)
  3. Drag & drop the components from the Available components field to the Output template field


Like this:



The app will acquire the data required to fill every component of Output template, and then send it to the server.



For example, if you have two barcodes containing respectively the name, and the e-mail of a customer, and you want them to be typed into two separate fields, you’ll have to edit the Output template so that it looks like this:

output template

This way the app will acquire two QR Codes and then send them to the server


Create multiple Output templates

If you need to use different Output components combinations based on what you’re scanning, you can create more Output templates and chose which one to use before start scanning.

To do that you have to enable the advanced settings of the server and then click “New output template” as shown in this video:


If instead your barcode/QR Code contains multiple information, and you need to split them across different fields of your programs check out this article: How to extrapolate data from QR Code


  1. If several persons are taking an inventory and I want to identify every reading, what will the DEVICE_NAME component send? What do you recommend to do this?

  2. Hello
    I wanted to ask how it is possible MAC shortcuts, e.g. ⌘N, to be implemented correctly in the output templates.
    As a UseCase I would like to do the following. In the “Notes” application, I want to create a new note with each new barcode. To do this, I first have to call “⌘N” to create a new note. Unfortunately, that doesn’t work for me, or I’m doing something fundamentally wrong.
    Thank you for your support
    Best regards

    1. Hello, I’ve got it working by using the CUSTOM KEY component set to n with the Command modifier enabled.
      In addition, I had to change the Type method option to Clipboard (enable the advanced options from the server settings).

  3. after barcode scan I need to select in the select_option “yes or no”, and if “no” scan second barcode. How is it possible?

    1. Use yes,no as Options list for the SELECT_OPTION component, and then put select_option == "no" as condition for the IF component, like this:


Your email address will not be published. Required fields are marked *

Related posts