Updates for printing in chrome and firefox