Article View: adobe.document.graphics.server
Article #7Exporting pdf content to browser using ADS
From: miguel_guardo
Date: Thu, 17 Jun 2004 18:01
Date: Thu, 17 Jun 2004 18:01
18 lines
1632 bytes
1632 bytes
Hi there, I am using ADS to merge several PDFs files, and some of them are filled using fdfs. Everything is done on the server memory (IIS) but the final pdf file result. It works really fine. Now I am trying not to write this final file, and using Response.BinaryWrite(responsePDF.getData().Item(1).getData()); to export the result directly to the web page without writing the file to the disk. Of course it does not work. if i download the source result and create a pdf file with it, the acrobat can open it but with corrupted data. Both files are pretty similar (viewing them with notepad) The process is the same. The only differences are: (Writing file) var commands = '<commands resultOverwrite="true" resultLocation="file:///c:/tempFiles/" >' ... <saveContent name="test" appendExtension="true" />' instead of (NOT writing files) var commands = '<commands>'; Have anyone already had a similar problem? thanks so much
Technical Details
Message-ID:
<3bb4a6d4.-1@webx.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsgate.cistron.nl!news.tele.dk!news.tele.dk!small.news.tele.dk!npeer.de.kpn-eurorings.net!feed.news.schlund.de!schlund.de!newsfeed01.sul.t-online.de!t-online.de!webxShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1effe5,f099dffedde0a7bc,start X-Google-Attributes: gid1effe5,public From: miguel_guardo@adobeforums.com Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsgate.cistron.nl!news.tele.dk!news.tele.dk!small.news.tele.dk!npeer.de.kpn-eurorings.net!feed.news.schlund.de!schlund.de!newsfeed01.sul.t-online.de!t-online.de!webx Newsgroups: adobe.document.graphics.server Subject: Exporting pdf content to browser using ADS Message-ID: <3bb4a6d4.-1@webx.la2eafNXanI> Date: Thu, 17 Jun 2004 11:01:45 -0700 Lines: 26 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit