The Art of Printing - Getting started with label printing on Bixolon SRP-Q300 Series

Published in hardware, printing

The Art of Printing - Getting started with label printing on Bixolon SRP-Q300 Series

March 01, 2023 1 min read

Peakboard as a platform for any kind of industrial applications is very often used together with other devices. Often that’s true for huge manufactoring machines or conveyers, but also for simple things like printers. Although we already discussed how to get rid of paper and use e-ink displays, we still often find printed tags, papers, or labels in modern logistic processes.

In today’s article we will go our first steps and learn how to integrate a label printer. In our sample we will use a printer of the SRP-Q300 Series provided by Bixolon. Peakboard is based on Microsoft Windows, so it would be obvious to use the Windows driver model interact with a Windows hosted piece of software and a printer. We don’t do this. The main reason is performance. In any environment in which application responsiveness to the what the user wants is a very crucial point. So we communicate directly between our Peakboard application and the printer on the basis of direct TCP/IP connection. That’s by far the fastest and most responiviest way to do it. In a modern world of label printing, there are mainly two important protocols to by used in that cases. One is called ZPL (Zebra Programming Language), the other one is ESC/POS (Epson Standard Code for Point of Sale). FOr our sample, the Bixoon printer, we will use ESC/POS.

The extension

To make it as easy as possible, we will use a Peakboard extension called “POS Printer”. More information about this extension can be found directly at github, or on the extension website.

image

In the data source, we fill the ip address and a port on which the printer is listening to out commands.

image