Hello Kumar,
To view the PDF fromat, tcode: ME22N --> message --> enter the medium as prinout, select the printer and check..
Also, for automatic message determination, do the configuration part--> in tcode: NACE for PO output type NEU and maintain condition records...
Hope this solution works for you..
Regards,
Priti.