sc_pdf_output ??? Header - Footer or Body ????

Hi all,

  1. I need to save the pdf generated and I got the sc_pdf_output([path].’/’.[file_name].’.pdf’,“F”); to use.
    Where have I to insert it ? Header, Body, Footer ???
    At the end ??

  2. Is it possible do not show the popup which ask if Open or Save the PDF generated ? If I set PDF Destination to Server what happens ?
    sc_pdf_output([path].’/’.[file_name].’.pdf’,“F”); writes the file on a server folder ?