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