Help please on printer output.
A long story ...
With the help of some people on here, I have nearly completed an application.
Using pfSense to control WiFi access for guests in an apartment complex.
Voucher data is exported from pfSense to a csv file.
My application converts the csv file to a sqlite database.
So that a certificate can be issued for x days and then not re-issued.
The guest is given a voucher with a certificate number, and the number of valid days.
I need to output the data to a label printer.
I have got all the bits working except how to output to printer.
The image shows how the label should look.
There are 3 variables to print alongside an image.
var1, var2 ..
Do I start with a paintbox, or some other method?
Thanks