Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Output is setting filename, but...

Help
2012-05-18
2012-10-09
  • Carlo Borreo
    Carlo Borreo
    2012-05-18

    To set the name of my PDF I use the function Output:

    $pdf->Output( "nicefilename.pdf", "I" ) ;

    My web application show my PDF, I go on the browser's File menu, I choose Save
    Page As, I can then save my PDF and the default name is nicefilename.pdf. This
    is perfect.
    However, when I go toward the bottom of the window and use the PDF transparent
    menu to save (see example
    ) the proposed filename
    is something like "http_localhost_testkey=123" which is basically the
    complete URL.
    How do I get a nice filename from the PDF transparent menu?

     
  • Robert
    Robert
    2012-09-06

    I have the same problem. Did you find any solution?

     
  • Jan Slabon
    Jan Slabon
    2012-09-06

    Does this help?

    Cheers,
    Jan

     
  • Nicola Asuni
    Nicola Asuni
    2012-09-06

    Setting the file name works only when you download the PDF or you save it on
    the server.