TLS-BocaSystems since 1995

Sample Code

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 code is supplied as is.