This PHP script generates ballots for conducting single transferable vote elections.
It is configured to print to a CUPS (Common Unix Printing System) printer named "ReceiptPrinter" using ESC/POS commands.
It was tested with a Nexa PX700 thermal receipt printer.