Learn how to communicate with your BOCA printer
We have prepared a collection of code samples to demonstrate how to communicate bi-directionally with your printer with and without printer drivers on a variety of operating systems. We recommend that you test the sample code before making any modifications. 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.
Please note that the sample codes are supplied as is and as a service.
Important notice
Microsoft plans to discontinue their usage of third party printer drivers over the next few years. In consideration of this, we plan to release a Windows SDK in spring 2025 to provide our customers with the opportunity to make a smooth transition to the new driverless platform.
Mac and Linux SDK’s will follow shortly after.
Sample codes are available for:
Windows C# sample for all interfaces and FGL printer driver
Apple MacOS
Xojo sample for direct communication with printer via USB HID and Ethernet
Xojo sample for use with FGL Printer driver
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