Hi All,
         I have been using alfresco for the past 6 months, I have defined few workflows as well.  Recently i have come across a new requirement, That is giving print options to documents which are attached to the workflow resource list. 
For example, the user attached somefile to a workflow, and those files are listed in the Workflow resource list. There are option to view, download…Likewise , i am looking for a action to print. 
I tried using javascript :window.print(). it prints only the html page, not the document.
Can anyone help me out with some ideas…
Thanks in advance..