Implementation of receipt printing feature.