Changed client side printing codes