creating pdf with input fields
creating pdf with input fields
am 03.04.2011 04:12:07 von John DePasquale
This is a multi-part message in MIME format.
--===============0120067702==
Content-Type: multipart/alternative;
boundary="----=_NextPart_000_005C_01CBF183.0233A560"
Content-Language: en-us
This is a multi-part message in MIME format.
------=_NextPart_000_005C_01CBF183.0233A560
Content-Type: text/plain;
charset="US-ASCII"
Content-Transfer-Encoding: 7bit
Hi all,
I'm trying to determine if there's a perl module with which I can create pdf
files and create input fields in the file ( form fields? ), so that the
recipient of the pdf file can open it, fill in those fields, and save the
file. I've looked at the module pdf::api2 but it appears to only allow me to
create pdfs and insert text and images, but not create input fields ( unless
I'm just not understanding it's capability ). Is there such a module for
perl?
Thanks much.
- John
John DePasquale
Chief Executive Officer
Paradigm Consulting
49 Dalby Street
Newton, MA 02458
Mobile: 617-610-2424
Fax: 617-600-7326
------=_NextPart_000_005C_01CBF183.0233A560
Content-Type: text/html;
charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40">
HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
(filtered medium)">
vlink=3Dpurple>
style=3D'color:#1F497D'>
class=3DMsoNormal>Hi all,
I’m =
trying to determine if there’s a perl module with which I can =
create pdf files and create input fields in the file
style=3D'color:#1F497D'> ( form fields? ), so that the recipient =
of the pdf file can open it, fill in those fields, and save the file. =
I’ve looked at the module pdf::api2 but it appears to only allow =
me to create pdfs and insert text and images, but not create input =
fields ( unless I’m just not =
understanding it’s capability ). Is there such a module for =
perl?
Thanks much.
class=3DMsoListParagraph style=3D'text-indent:-.25in;mso-list:l0 level1 =
lfo1'>
style=3D'mso-list:Ignore'>-
Roman"'> =
style=3D'color:#1F497D'>John
style=3D'margin-left:.25in'>
class=3DMsoNormal>
John =
DePasquale
style=3D'color:#1F497D'>Chief Executive Officer
class=3DMsoNormal>
Paradigm =
Consulting
style=3D'color:#1F497D'>49 Dalby Street
class=3DMsoNormal>
Newton, MA =
02458
style=3D'color:#1F497D'>Mobile: 617-610-2424
class=3DMsoNormal>
Fax: =
617-600-7326 =
o:p>
class=3DMsoNormal>
------=_NextPart_000_005C_01CBF183.0233A560--
--===============0120067702==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
--===============0120067702==--
Re: creating pdf with input fields
am 03.04.2011 06:37:06 von Tim Bolshaw
--===============0155331238==
Content-Type: multipart/alternative; boundary=bcaec51961df0a3062049ffc326f
--bcaec51961df0a3062049ffc326f
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable
On Sun, Apr 3, 2011 at 9:12 AM, john depasquale w=
rote:
>
>
> Hi all,
>
> I=92m trying to determine if there=92s a perl module with which I can cre=
ate
> pdf files and create input fields in the file ( form fields? ), so that
> the recipient of the pdf file can open it, fill in those fields, and save
> the file. I=92ve looked at the module pdf::api2 but it appears to only al=
low
> me to create pdfs and insert text and images, but not create input fields=
( unless I=92m just not understanding it=92s capability ).
> Is there such a module for perl?
>
> Thanks much.
>
>
> I am not a PDF expert, but did look into this at one point. You may be
trying to do something that Adobe specifically blocks. If your users are
going to open the PDF in Adobe Reader, then saving the file will not be
possible. My understanding is that the best you can do is have the PDF fil=
e
have a submit button that creates or mails an FDF or XML file. You probabl=
y
want to read up on the Adobe FDFToolkit. Once upon a time, Adobe provided =
a
Perl interface to this. You may also find PDF::FDF::Simple might be part o=
f
the solution.
I eventually decided to approach this kind of functionality another way. A=
s
an example, you could generate an Excel spreadsheet in which all cells
except those you want the user to fill in are locked. Modifying the cells
programmatically is possible without unlocking the cells. Thus, you create
a base template and lock in down. Later, your perl script customizes
specific cells and sends it to the user to fill out.
Let us know if you find something better, or if any of the information abov=
e
is wrong.
--=20
Tim Bolshaw
--bcaec51961df0a3062049ffc326f
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: quoted-printable
On Sun, Apr 3, 2011 at 9:12 AM, john d=
epasquale
<
>johnd@johndepasquale.net> wrote:
il_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-lef=
t:1ex;">
al">
=A0Hi a=
ll,
I=92m trying to determine if there=92s a perl=
module with which I can create pdf files and create input fields in the fi=
le ( form fields? ), so that the recip=
ient of the pdf file can open it, fill in those fields, and save the file. =
I=92ve looked at the module pdf::api2 but it appears to only allow me to cr=
eate pdfs and insert text and images, but not create input fields
e=3D"color:#1F497D"> ( unless I=92m just not understanding it=92s capabilit=
y ). Is there such a module for perl?
Thanks much.
color=3D"#1F497D">
I am n=
ot a PDF expert, but did look into this at one point. =A0You may be trying =
to do something that Adobe specifically blocks. =A0If your users are going =
to open the PDF in Adobe Reader, then saving the file will not be possible.=
=A0My understanding is that the best you can do is have the PDF file have =
a submit button that creates or mails an FDF or XML file. =A0You probably w=
ant to read up on the Adobe FDFToolkit. =A0Once upon a time, Adobe provided=
a Perl interface to this. =A0You may also find=A0PDF::FDF::Simple might be=
part of the solution.
I eventually decided to approach this kind of functionality =
another way. =A0As an example, you could generate an Excel spreadsheet in w=
hich all cells except those you want the user to fill in are locked. =A0Mod=
ifying the cells programmatically is possible without unlocking the cells. =
=A0Thus, you create a base template and lock in down. =A0Later, your perl s=
cript customizes specific cells and sends it to the user to fill out.
Let us know if you find something better, or if any of =
the information above is wrong.
--
Tim Bolshaw
r>
--bcaec51961df0a3062049ffc326f--
--===============0155331238==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
--===============0155331238==--
Re: creating pdf with input fields
am 03.04.2011 06:46:52 von Bill Luebkert
On 4/2/2011 8:37 PM, Tim Bolshaw wrote:
> On Sun, Apr 3, 2011 at 9:12 AM, john depasquale
> wrote:
>
> Hi all,
>
> I=92m trying to determine if there=92s a perl module with which I can=
create pdf files and create input fields in the file( form fields? ), so t=
hat the recipient of the pdf file can open it, fill in those fields, and sa=
ve the file. I=92ve looked at the module pdf::api2 but it appears to only a=
llow me to create pdfs and insert text and images, but not create input fie=
lds( unless I=92m just not understanding it=92s capability ). Is there such=
a module for perl?
>
> Thanks much.
>
>
> I am not a PDF expert, but did look into this at one point. You may be t=
rying to do something that Adobe specifically blocks. If your users are go=
ing to open the PDF in Adobe Reader, then saving the file will not be possi=
ble. My understanding is that the best you can do is have the PDF file hav=
e a submit button that creates or mails an FDF or XML file. You probably w=
ant to read up on the Adobe FDFToolkit. Once upon a time, Adobe provided a=
Perl interface to this. You may also find PDF::FDF::Simple might be part =
of the solution.
>
> I eventually decided to approach this kind of functionality another way. =
As an example, you could generate an Excel spreadsheet in which all cells =
except those you want the user to fill in are locked. Modifying the cells =
programmatically is possible without unlocking the cells. Thus, you create=
a base template and lock in down. Later, your perl script customizes spec=
ific cells and sends it to the user to fill out.
>
> Let us know if you find something better, or if any of the information ab=
ove is wrong.
Or just create a GUI app that gets the fields from the user and
creates the PDF file from the data inputted. Then you don't need
to worry about having a license for one of the Adobe apps that
can modify fields etc. I think the PDF module can then handle
creating the resultant file you want.
_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs