fixed pdf printing