Receipt Printer: How to include Company Name on receipts

First off, I’m running a fully updated Dolibarr 14.0.2 on Debian 10.

I use the native Dolibarr Receipt Printer module for printing receipts from TakePOS and while I have been able to fix a whole variety of formatting issues and whatnot through hand editing dolreceiptprinter.class.php, I cannot figure out how to have the name of the customer (llx_societe.nom) selected in TakePOS to print on the receipt. The dol_value_cutomer_firstname and …lastname fields are not useful.

Can someone help me figure this out?