How do I allow the receipt number and barcode to be printed onto the receipt?

To do this go to System management->Main settings.

To print the barcode on the receipt go to setting 38 and edit. Then change its status to 1.

To print the receipt number on the receipt go to setting 40 and edit. Then change its status to 1.