Trying to figure out how to create this document

Here you go John. You’ll need to TextOutputStream the 1.xml file out and send it to the printer. If you generate it next to joyfulheart.xsl it’ll find the xsl and turn it into your page. You’ll just need to change bg.jpg for a png which will scale (vector) or a 4x dimension png bitmap/jpeg that will be forced into the image and give a nice high res output on the printer.

https://www.dropbox.com/s/vxezqren8bw01hy/ForJohnXML.zip?dl=0

If you want some info on producing barcodes at runtime without a plugin, see here

This then gets around all printing issues in Xojo and can be printed/converted to a PDF if required to be emailed to a customer.