command to generate pdf