[VIEWERJAVA-562] Print doesn't work if usePdfPrinting=false