I’ve been implementing this:
http://wiki.rubyonrails.org/rails/pages/HowtoGeneratePDFs
[PDF::Writer section on using rpdf templates]
Strangest thing tho is that it doesn’t work with IE [get a ‘server not
found’ error] - after reviewing the headers and such, I noticed that
there was no file name for the generated PDF in IE - so I made sure that
this was in header:
Content-Disposition: attachment; filename=mypdf.pdf
Still doesn’t work, but also IE *still doesn’t get the filename… ?
Anyone ever had issues with IE and this particular header? Did a lot of
research and found an assortment of IE bug reports but nothing quite
like this –
Thanks