Finish cleaning and securing of print functions