Removed useless code in header printer