cscooper has asked for the wisdom of the Perl Monks concerning the following question:
Life is good. But I have seen sites where the generated PDF shows up inside the browser and there are nifty "print" and "save" buttons. What is the recommended/best way to modify my script to do this?print CGI::header( -type => 'application/x-pdf', -attachment => 'Calendar.pdf' ); my $pdf = PDF::API2->new(); $pdf->saveas('-');
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Creating inline PDF?
by thomas895 (Deacon) on May 12, 2015 at 01:14 UTC | |
by kennethk (Abbot) on May 12, 2015 at 01:29 UTC | |
by thomas895 (Deacon) on May 12, 2015 at 03:21 UTC | |
by afoken (Chancellor) on May 12, 2015 at 08:52 UTC | |
by thomas895 (Deacon) on May 13, 2015 at 01:15 UTC | |
|