in reply to Printing a Zip file

a multipart page will work...first print the nice page and even a static download link if their browser doesn't support multipart pages. then print the second multipart header and your stuff. look up multi-part in cgi.pm documentation.