A typical xml file looks like this..
The start and finish of the desired data are at the marked phrases.
I use an online Google service to turn the data into QR codes. These are sent to a graphic page which when full prints and starts another page. I used a routine to right align currency numbers, and show with + or - signs and a comma as decimal separator. I also add a footer.
21 Eenh. 2315 Eenh. Snijmais "LG30.211" "Ontsmet" +841,43 325 Kg 3427 Physiostart P-plus NP6+27+4SO3+2Zn 0,00 1 Stuks 9005 Pallets inclusief +19,88 40 Kg 1130 Kaliber opfok (kalveropfokkorrel) * +27,48 40 Kg 1758 Kaliber Start (muesli) * +718,99 1.575 Kg 3421 Maismest 24+0 HUMICoat +90,80 2 Stuks 9060 Kisten +19,88 40 Kg 1130 Kaliber opfok (kalveropfokkorrel) * +27,48 40 Kg 1758 Kaliber Start (muesli) * +19,88 40 Kg 1130 Kaliber opfok (kalveropfokkorrel) * +27,48 40 Kg 1758 Kaliber Start (muesli) * -39,27
The resulting pages of data are sent to the default printer. I have this set to 'print to pdf' to avoid wasting paper!
And here is a typical page..