Print action to send body content to pdf-writer , which stra

I would like to give the user to execute an :action => ‘print’ to get
a pdf version of the current content in the displayed page (rendered by
an :action =>‘list’

I installed pdf-writer and played with it, but I don’t know how to give
him the @content he needs…
shoudl I re-execute all the list action before rendering ?
or use Ajax to get back the content I need in the displayed page before
rendering the pdf ?

I don’t know which strategy to follows ? help & links appreciated

kad