I cant tell you how to set up the printer, but to create the .XDP template you need adobe Livecycle which is available to download in the Netweaver section of Service Marketplace (no additional license as long as you don't use interactive forms if I remember correctly, but please check). You will also find some example templates in the SAP ME Wiki page if you want to try one.
Kevin