Planet PDF Forum Archive

Planet PDF ForumWowsers! This is page is old, head to the LIVE Planet PDF Forum. It features more than 10 conferences, covering everything from beginner to in-depth developer and pre-press discussions. If you wish to continue... one & two archive covers 1999-2011 (160,000 pages).


New Forum | Previous | Next | (P-PDF) Developers


Topic: RE: Using Reader only - importing data
Conf: (P-PDF) Developers, Msg: 58713
From: kt
Date: 5/29/2002 05:34 PM

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C0FDB4.D2673576
Content-Type: text/plain;
charset="iso-8859-1"

Bear in mind, you won't be able to run Acrobat on a server anyway, since
it's a license violation.

Reader can import FDF data and merge that into a PDF that can be viewed in a
browser. This may figure into a solution for you, but you will probably end
up having to have a CGI script or process on the server that creates the FDF
files dynamically. The importTextData() method is not available in Reader.
Your trick for popping data off the end of 'this.path' is a good one, but
the 255 limit is indeed a problem. That's a very common limit for urlencoded
data; it's dangerous in many environments to pass more than 255 chars in an
URL string.

The 'URL' property is defined for Acrobat 5.0 only, so if you're getting an
error when using it, it's probably because you're using a pre-5.0 viewer.

kt

- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Kas Thomas
Documentation Manager
eBusiness Integration Products Division
SilverStream Software
One Reservoir Corporate Center
Shelton, CT 06484
203.225.1838
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -



>>-----Original Message-----
>>From: p-pdf-developer Listmanager
>>[mailto:listmanager@forum.planetpdf.com]
>>Sent: Monday, June 25, 2001 4:08 PM
>>Subject: Using Reader only - importing data
>>
>>
>>From: "Jay"
>>
>>--- Planet PDF Forum | http://forum.planetpdf.com ----
>>
>>On a local PC connected to the Internet, I want to bring up
>>an IIS server resident PDF via the local browser having
>>only the free Adobe reader locally - and have the PDF run
>>some Javascript which will bring in data and populate the fields.
>>
>>After jumping into the Adobe JavaScript 5.0 document I
>>realize that a lot of the functions do not work if you have
>>Reader only...such as importing and exporting FDFs.
>>Putting Adobe on the IIS Server I'm guessing would not help
>>as the PDF is brought up locally by the user's browser????
>>
>>I was calling the PDF via a URL and including my data as
>>part of the URL. Using this.path then parsing out the
>>parameters and putting them into the form. Unfortunately I
>>found that this.path only holds 255 bytes and my parameter
>>list is longer than that.
>>
>>I now have Adobe 5.0 to develop the PDF and see a reference
>>to URL under Doc. I keep getting "undefined" for URL and
>>have been looking for documentation/examples to see if URL
>>is similar to this.path but possibly does not have the 255
>>limitation?
>>
>>Even a solution of opening a flat file of data and reading
>>in the records to parse out via the PDF's Javascript would
>>be fine but I haven't found documentation on something like that.
>>
>>Its not that I'm cheap and don't want the full blown Adobe
>>- its that the various people accessing this PDF might only
>>have the Reader. So I'm trying to bring up a PDF on the
>>web and have its JavaScript bring in and populate some data
>>- having only the Reader.
>>
>>
>>
>>------- Planet PDF Store's Top 10 List for May ---------
>>
>> ARTS Split and Merge - Stamp PDF - Jaws PDF Creator
>> Gemini - Amyuni PDF Converter - Crackerjack - BCL Drake
>> iCopy - ARTS Import - Mapsoft Impress Stamper
>>
>> Find out why these were the best-selling products last
>> month. Free demos of each at the Planet PDF Store!
>> http://www.pdfstore.com/
>>
>>---- Powered by foxitsoftware.com & www.PlanetPDF.com ----
>>

------_=_NextPart_001_01C0FDB4.D2673576
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable










Bear in mind, you won't be able to run Acrobat on a =server anyway, since it's a license violation.



Reader can import FDF data and merge that into a PDF =that can be viewed in a browser. This may figure into a solution for =you, but you will probably end up having to have a CGI script or =process on the server that creates the FDF files dynamically. The =importTextData() method is not available in Reader. Your trick for =popping data off the end of 'this.path' is a good one, but the 255 =limit is indeed a problem. That's a very common limit for urlencoded =data; it's dangerous in many environments to pass more than 255 chars =in an URL string.



The 'URL' property is defined for Acrobat 5.0 only, =so if you're getting an error when using it, it's probably because =you're using a pre-5.0 viewer.



kt



- - - - - - - - - - - - - - - - - - - - - - - - - - - =- -

Kas Thomas

Documentation Manager

eBusiness Integration Products Division

SilverStream Software

One Reservoir Corporate Center

Shelton, CT 06484

203.225.1838

- - - - - - - - - - - - - - - - - - - - - - - - - - =- - -

 





  >>-----Original Message-----

  >>From: p-pdf-developer =Listmanager

  >>[mailto:listmanager@forum=..planetpdf.com]

  >>Sent: Monday, June 25, 2001 4:08 =PM

  >>Subject: Using Reader only - =importing data

  >>

  >>

  >>From: "Jay" =<tahoka@txdirect.net>

  >>

  >>--- Planet PDF Forum | http://forum.planetpdf.com ----

  >>

  >>On a local PC connected to the =Internet, I want to bring up

  >>an IIS server resident PDF via the =local browser having

  >>only the free Adobe reader locally - =and have the PDF run

  >>some Javascript which will bring in =data and populate the fields.

  >>

  >>After jumping into the Adobe =JavaScript 5.0 document I

  >>realize that a lot of the functions =do not work if you have

  >>Reader only...such as importing and =exporting FDFs. 

  >>Putting Adobe on the IIS Server I'm =guessing would not help

  >>as the PDF is brought up locally by =the user's browser????

  >>

  >>I was calling the PDF via a URL and =including my data as

  >>part of the URL.  =Using   this.path   then parsing out the

  >>parameters and putting them into the =form.  Unfortunately I

  >>found that this.path only holds 255 =bytes and my parameter

  >>list is longer than that.

  >>

  >>I now have Adobe 5.0 to develop the =PDF and see a reference

  >>to URL under Doc.   I keep =getting "undefined" for URL and

  >>have been looking for =documentation/examples to see if URL

  >>is similar to this.path but possibly =does not have the 255

  >>limitation?

  >>

  >>Even a solution of opening a flat =file of data and reading

  >>in the records to parse out via the =PDF's Javascript would

  >>be fine but I haven't found =documentation on something like that.

  >>

  >>Its not that I'm cheap and don't want =the full blown Adobe

  >>- its that the various people =accessing this PDF might only

  >>have the Reader.    So =I'm trying to bring up a PDF on the

  >>web and have its JavaScript bring in =and populate some data

  >>- having only the Reader.

  >>

  >>

  >>

  >>------- Planet PDF Store's Top 10 =List for May ---------

  >>

  >>    ARTS Split and =Merge - Stamp PDF - Jaws PDF Creator

  >>  Gemini - Amyuni PDF Converter =- Crackerjack - BCL Drake

  >>       =iCopy - ARTS Import - Mapsoft Impress Stamper

  >>

  >>  Find out why these were the =best-selling products last

  >>  month. Free demos of each at =the Planet PDF Store!

  =>>          &nbs=p;    http://www.pdfstore.com/

  >>

  >>---- Powered by BinaryThing.com & =www.PlanetPDF.com ----

  >>





------_=_NextPart_001_01C0FDB4.D2673576--

PDF In-Depth Free Product Trials Ubiquitous PDF

Debenu Aerialist

The ultimate plug-in for Adobe Acrobat. Advanced splitting, merging, stamping, bookmarking, and link...

Download free demo

Debenu PDF Tools Pro

It's simple to use and will let you preview and edit PDF files, it's a Windows application that makes...

Download free demo

Back to the past, 15 years ago! Open Publish 2002

Looking back to 2002, it's amazing how much of the prediction became a reality. Take a read and see what you think!

September 14, 2017
Platinum Sponsor





Search Planet PDF
more searching options...
Planet PDF Newsletter
Most Popular Articles
Featured Product

Debenu PDF Aerialist

The ultimate plug-in for Adobe Acrobat. Advanced splitting, merging, stamping, bookmarking, and link control. Take Acrobat to the next level.

Features

Adding a PDF Stamp Comment

OK, so you want to stamp your document. Maybe you need to give reviewers some advice about the document's status or sensitivity. This tip from author Ted Padova demonstrates how to add stamps with the Stamp Tool along with related comments.