Companial and Fênix combine value-added distribution, services, and certified localization to help Business Central partners succeed in Brazil.
Learn moreCloud Printing Service for Dynamics 365 Business Central
Thursday, April 29, 2021
Reading time: 1 minute
Printing in cloud scenarios can be a bit challenging, especially if the number of prints is relatively high and/or the printer is not modern (born in the cloud). Examples are zebra printers using ZPL streams and printing a CMR (freight document) using matrix printers. These printers are often a bit older and can be quite expensive to replace.
Printing should not be blocking any cloud migration so in order to connect older devices to Business Central we decided to share this repository on GitHub.
What does Print Service do?
Business Central allows you to store files in Azure Blob Storage with a simple HTTP request. These files can contain information required for printing such as a ZPL string or a PDF file.
The tool on GitHub allows you to run a windows service on any machine that has a connection to your local printers. Most often this will be an Azure Virtual Machine connected to the local network, but in theory, it can also be an old box sitting in a corner of your office with an internet connection.
Periodically the windows service will connect to the Azure Blob Storage and check for new files. The contents of this file can be processed and sent to any printer using software that is supported using DotNET Framework.
In the example, a ZPL string is sent to a Zebra printer using an open socket connection.
Optionally you can use any publicly available libraries to send contents of PDF files to printers in your network.
An example tool can be pdfprint.exe from VeryPDF.com. This can be executed from the Windows command prompt. Another option is to add SpirePDF to the project from nuget.org.
More in the News
Companial expands to Brazil, strengthening the Dynamics ecosystem in LATAM
Companial’s move into LATAM, and specifically Brazil, reinforces its long-term commitment to the Microsoft Dynamics 365 ecosystem. Their presence brings ...
Learn moreWhat is new for Consultants in Empowered BC 2.30.0.0 Release
Briefing on the most important changes made to Empowered BC with 2.30.0.0 release, which can be used for quick learning ...
Learn moreUpdates to the Business Central Migration Voucher Program
Microsoft has announced several enhancements to the Business Central Migration Voucher Program, expanding eligibility, increasing flexibility...
Learn moreEmpowered Business Central – Release Notes Version 2.29.0.0
Discover Empowered Business Central release notes from Companial with new features, solution-wide improvements, and major updates.
Learn moreCompanial Acquires Softstore: Boost Portuguese Partners’ Success
Companial and Softstore can offer richer support to the local partner community by offering a broad range of services designed ...
Learn more