Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Print PDF Problem

by thezip (Vicar)
on Jul 11, 2008 at 21:11 UTC ( #697088=note: print w/replies, xml ) Need Help??


in reply to Print PDF Problem

I've used a header such as this with success:

my $header = qq(Content-type:application/pdf\n) . qq(Content-Disposition: attachment;filename=foo.pdf\n\n); print $header;

YMMV, so please adapt as needed.


Your wish is my commandline.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://697088]
help
Chatterbox?
[Corion]: Weird. HTML::Selector:: XPath is on v0.22 on search.cpan.org but v0.20 on metacpan.org - I wonder what part of the pipeline I have to kick; most likely the metacpan indexer...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (11)
As of 2017-03-23 13:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (286 votes). Check out past polls.