Jerome Alet writes:
<dtml-call "RESPONSE.setHeader('Content-Type', 'application/pdf')"> <dtml-call "RESPONSE.setHeader('Content-Disposition', 'attachment; filename=rapport.pdf')"> <dtml-var rpdf> Code like this may add spurious white space. Use
<dtml-return rpdf> instead of <dtml-var rpdf> Dieter
On Wed, Mar 14, 2001 at 09:15:36PM +0100, Dieter Maurer wrote:
Jerome Alet writes:
<dtml-call "RESPONSE.setHeader('Content-Type', 'application/pdf')"> <dtml-call "RESPONSE.setHeader('Content-Disposition', 'attachment; filename=rapport.pdf')"> <dtml-var rpdf> Code like this may add spurious white space. Use
<dtml-return rpdf> instead of <dtml-var rpdf>
Ok, I've changed it. Now if only I could have windows and IE at home :-) I'll test it tomorrow and let you know. Thanks. Jerome Alet
On Wed, 14 Mar 2001, Dieter Maurer wrote:
Jerome Alet writes:
<dtml-call "RESPONSE.setHeader('Content-Type', 'application/pdf')"> <dtml-call "RESPONSE.setHeader('Content-Disposition', 'attachment; filename=rapport.pdf')"> <dtml-var rpdf> Code like this may add spurious white space. Use
<dtml-return rpdf> instead of <dtml-var rpdf>
Now it works fine on a PC, but not on another one, it's better. The problem probably comes from the PC in question. Thanks a lot. Jerome Alet - alet@unice.fr - http://cortex.unice.fr/~jerome Fac de Medecine de Nice http://wwwmed.unice.fr Tel: (+33) 4 93 37 76 30 Fax: (+33) 4 93 53 15 15 28 Avenue de Valombrose - 06107 NICE Cedex 2 - FRANCE
participants (2)
-
Dieter Maurer -
Jerome Alet