[Koha-devel] Barcode Printing Problems

MJ Ray mjr at phonecoop.coop
Mon Sep 5 01:48:56 CEST 2005


Joshua Ferraro <jmf at liblime.com> wrote:
> 1. The file that's exported has an extension of .pl ... this means
> that most OSes can't determine that it's a PDF by default. What's
> the best way to export it as a useful filename and extension?

The CGI needs to generate a header like:
Content-Disposition: attachment; filename="test.pdf"
Most browsers and download tools will then Do The Right Thing.

Hope that helps,
-- 
MJ Ray (slef), K. Lynn, England, email see http://mjr.towers.org.uk/




More information about the Koha-devel mailing list