Learn how to communicate with your BOCA printer
Important notice
Microsoft plans to discontinue their usage of third party printer drivers over the next few years. In consideration of this, we released a Windows SDK in spring 2025 to provide our customers with the opportunity to make a smooth transition to the new driverless platform.
A Mac and Linux SDK will follow later.
The SDK (preferred) allows you to implement features into the ticketing software that will allow you to communicate directly with the printer, without installing a driver. The SDK provides commands for sending text, barcodes, FGL commands, graphics and logos, as well as requesting and receiving status information from the printer.
We also have a collection of older code samples to demonstrate how to communicate bi-directionally with your printer with and without printer drivers on a variety of operating systems. The sample program allows the user to send a string or a file to the printer and then read the returning data and display it. We recommend that you test the sample code before making any modifications.
Please note that the sample codes and SDKs are supplied as is and as a service.
SDKs and sample codes are available for:
Windows Windows SDK
C# sample for all interfaces and FGL printer driver (Visual Studio 2013)
Apple MacOS
Xojo sample for direct communication via USB HID/Ethernet (Rel. - Dec. 2019)
Xojo sample for use with FGL Printer driver (Released -August 2017)
Xcode sample for use with FGL Printer driver
Linux Xojo sample for Ethernet
Apple iOS iOS SDK
Android Android SDK
JavaScript JavaSrcipt SDK
Java Java sample