After installing BarTender on your local network, you must connect it to your Benchling tenant. This article covers:

Configure servers

To ensure communication between Benchling and the BarTender server is not blocked by users’ web browsers, you must configure Cross-Origin Resource Sharing (CORS) settings. Your BarTender server(s) must also be assigned URLs with SSL certificates.

Install and configure the IIS CORS module

To install the Microsoft IIS CORS module:

  1. Go to https://www.iis.net/downloads/microsoft/iis-cors-module.

  2. At the bottom of the install page under Download IIS CORS 1.0, click x64 installer (AMD) or x86 installer (Intel). Don’t click Install this extension at the top of the page.

  3. Complete the installation process.

To configure the IIS CORS module:

  1. Open the Windows IIS Configuration Editor on the BarTender server.

  2. In section system.webServer/cors:

    • Set Enabled=True.

    • Right-click (Collection) and Edit Items.

  3. Click Add.

  4. Open the allowHeaders property and set allowAllRequestedHeaders to True.

  5. Set origin to your full Benchling tenant URL. For example, https://benchling.example.com.

  6. Click , then click Add to set two allowMethods with OPTIONS and POST values.

    • Enter OPTIONS as the value of the method property, then click Add.

    • Enter POST as the value of the method property, then click Add.

  7. Click X in the top-right corner to close the window.

  8. Click Apply.

Add BarTender servers in Benchling

To make your BarTender servers available on the network to anyone needing to print labels, you must point Benchling to the servers by adding their URLs on the Label Printing settings page.

To add the servers in Benchling:

  1. In Feature Settings under the Label Printing section, click Label Printing.

  2. Click + next to BarTender servers.

  3. Enter the server URL and display name.

  4. Click Save.

Printer statuses

Navigating to the Label Printing settings page triggers Benchling to check the configured servers. The status it displays reflects the connection between your browser and the BarTender’s server. When a check is successful, Benchling displays the number of printers and label templates managed by each server.

If the server status displays an error, ensure your browser can access the BarTender server.

Set your printing method

To select the printing method in Benching:

  1. In Feature Settings under the Label Printing section, click Label Printing.

  2. In the Print method drop-down menu, select BarTender.

Note: If you’re using a discontinued printing method and need to switch back after selecting BarTender, contact Benchling support.

Did this answer your question?