Hi,
If you want to create a pdf in background you have two options:
1. 1.Create a PDF from spool with function module CONVERT_ABAPSPOOLJOB_2_PDF like explained in the following thread https://scn.sap.com/thread/1501009
2. 2. Or create an SMARTFORM and convert it to pdf like in the following wiki http://wiki.scn.sap.com/wiki/display/Snippets/Convert+Smartform+to+PDF+format
To print you need to configure the user which runs the job the proper printer (this is more system configuration).
http://help.sap.com/saphelp_nw04/helpdata/en/9f/760ddd102d11d290a40000e8292d60/content.htm