Test if textStyle properties exist before setting the print style