Skip to main content

How Do I Connect Multiple Lasernet Instances to One Print Server Using Cloud Print Connector? - Knowledgebase / Lasernet FO Connector / Lasernet FO Connector FAQs - Formpipe Support Portal

How Do I Connect Multiple Lasernet Instances to One Print Server Using Cloud Print Connector?

Authors list

Lasernet-for-Dynamics-365_Product-Logo_Digital.png

Note

This process is valid for Lasernet FO Connector 6.18 and newer.
For versions older than 6.18, follow the process outlined in this article.

Introduction

Due to restrictions in the number of available print servers or the creation of new environments, multiple Lasernet configurations can sometimes need to be connected to a singular print server. For example, a customer may have a test print server and a production print server. On the test print server, it is necessary to print for both the test and UAT Lasernet instances while keeping the production server separate.

Configure One Environment

At least one FO environment must be properly configured to connect to the Cloud Print Connector. If you need further help, watch this video showing the setup.

When this configuration is ready, the migration tools within Lasernet FO connector can be used to move the same configuration between environments. The same service can then be reused on the print server. 

Copy Connections to a New Environment

In order to use the same print service, all Lasernet instances must reference the same Cloud Print Connector configuration and use the same connections. This can be achieved by copying over the Cloud Print Azure Service Bus Connection and the Cloud Print Storage Connection information from one environment to another.

In the FO environment which is already configured, navigate to Lasernet > Setup > Administration > Connections.

Either:

  • Use the standard import/export functionality to copy the connections.

  • Manually copy and paste the connection strings between environments.

If using the import/export functionality, ensure that any extra unneeded connections are removed after the copy process is finished. A guide on migrating configuration between different entities or different environments can be found here: https://support.formpipe.com/kb/articles/migrate-lasernet-configurations-between-different-environments-and-legal-entities

Reference Connections in the Parameters

Once copied over or configured in the second FO environment, ensure the connections are referenced correctly within the Parameters. To do this:

1. Navigate to Lasernet > Setup > Cloud Print Connector Setup > Parameters.

2. Navigate to General and set the Azure Storage Connection to the one that was configured or copied from the other environment.

3. Do the same for the Azure Service Bus under Azure Service Bus Connection-string.

Reference Connection in the Lasernet Config

The connections must also be referenced within the Lasernet configuration. To do this:

1. Open the relevant Lasernet Developer.

2. Navigate to Modules and open the Azure Service Bus (Cloud Print) module:

3. Copy the Connection string from the Azure Service Bus Connection referenced in the Cloud Print Parameters in FO:

4. Paste the value into the Connection String in the Azure Service Bus (Cloud Print) module:

5. Commit and Deploy this change.

Checklist

Before copying the configuration from the first FO environment to the second FO environment, ensure that:

  • The Service Bus for Cloud Print Connector is the same for all environments that will use the same print server.

  • The Storage for Cloud Print Connector is the same for all environments that will use the same print server.

  • The Cloud Print Connector Azure Service Bus has been copied into the Lasernet config and is the same for all environments.

  • The other Cloud Print Connector in the second environment is blank - remove all printers, users, etc.

Export Config

The config from the already working environment must now be exported to the second environment, which has been configured in the previous sections.

In the already configured environment:

1. Navigate to the Lasernet module in the legal entity where the Cloud Print Connector is configured.

2. Navigate to Common > Backup > Export Lasernet Backup.

3. Ensure the Endpoint type is Browser, and then click OK.

4. Clear the checkboxes for all the reports and tables except for Lasernet Azure parameters and Azure On-premises user mapping.

5. Click OK.

The configuration will now be exported as a .zip file.

Import Config

Open the second environment. To import the configuration, follow these steps:

1. Navigate to Lasernet > Common > Backup > Import Lasernet Backup.

2. Ensure the Endpoint type is set to Browser.

3. Click OK.

4. Click Browse and locate the exported .zip file containing the configuration.

5. Click OK and OK again.

6. After the configuration is imported, navigate to the Lasernet module.

7. Navigate to Setup > Lists > Printers.

8. Click Download Lasernet Cloud Printers.

The list of printers will be updated to match the other environment, and both environments will be able to print to the same print server.

Helpful Unhelpful

Add a comment

Please log in or register to submit a comment.

Need a password reminder?

Share