made revisions to enable display (printreceipt.py)