hi guys.
in my company i have to do a lot with RMA and i have to fill out a lot of different PDF-documents where are editboxes which i have to fill out, before i print the documents.
So i thought about a way to optimize this and some other processes with a small tool. The question is, how can i fill out PDF documents, with Editbox-Fields the user can type in?
Hope you guys know what i mean ^^ sadly i cant attache or link one of the PDFs i have to work every day.
Thx in advance!
How to fill out fields of a PDF document?
How to fill out fields of a PDF document?
va!n aka Thorsten
Intel i7-980X Extreme Edition, 12 GB DDR3, Radeon 5870 2GB, Windows7 x64,
Intel i7-980X Extreme Edition, 12 GB DDR3, Radeon 5870 2GB, Windows7 x64,
- Rook Zimbabwe
- Addict
- Posts: 4322
- Joined: Tue Jan 02, 2007 8:16 pm
- Location: Cypress TX
- Contact:
-
- Enthusiast
- Posts: 781
- Joined: Fri Apr 25, 2003 6:51 pm
- Location: NC, USA
- Contact:
@vain
I'm assuming you have previously created PDF files that are forms that are normally printed and then filled in by hand. And you wish to fill them in on screen and then print them.
Adobe Acrobat allows .pdf files to be created with fill-in fields. You can also do some rudimentary processing of the resulting data, using some built in commands and some JavaSript.
Then Acrobat Reader (free) allows you to display and fill in those fields. The form can be printed with the data, but the author may prevent/allow saving of the completed form.
There are several "PDF EDITOR" software packages that will allow you to add fill-in fields to pre-existing .pdf files that were not originally created with fill-in fields. And there are several "PDF FILL-IN" software packages that will allow you to fill in existing fields, and even "typewriter" over existing .pdf displays.
Do a Google search for "pdf fill-in" and/or "pdf editor" and you will see quite a list of products associated with these two topics. Pricing runs from about $29US to $3000US depending on which product and which features you choose.
If the .pdf files were created with the latest Adobe Acrobat, they are actually in XPDF format and it is possible to communicate with them using PHP. There is an existing product out there to do that also.
Now, if you are asking how to do this with PureBasic, then the answer is "not exactly". But it is possible to display the .pdf file as a backdrop for a PB window. Then you can capture that data, store it as desired, then print the .pdf and overlay it with data. It isn't a trivial task! For some clues, perhasp look at Comate and how it uses the Acrobat Reader's ActiveX component. Then obtain the specifications for that ActiveX and see which commands are available to you.
You may wonder why I know all this?
The original "fill-in" software for Acobat .pdf forms was written by a firm here in my hometown that was working in my own field as competitors. Adobe invested in the company and shortly "merged" their product into Acrobat Reader. (Read that to mean the two guys made some money, but were shoved out really quickly.)
I'm assuming you have previously created PDF files that are forms that are normally printed and then filled in by hand. And you wish to fill them in on screen and then print them.
Adobe Acrobat allows .pdf files to be created with fill-in fields. You can also do some rudimentary processing of the resulting data, using some built in commands and some JavaSript.
Then Acrobat Reader (free) allows you to display and fill in those fields. The form can be printed with the data, but the author may prevent/allow saving of the completed form.
There are several "PDF EDITOR" software packages that will allow you to add fill-in fields to pre-existing .pdf files that were not originally created with fill-in fields. And there are several "PDF FILL-IN" software packages that will allow you to fill in existing fields, and even "typewriter" over existing .pdf displays.
Do a Google search for "pdf fill-in" and/or "pdf editor" and you will see quite a list of products associated with these two topics. Pricing runs from about $29US to $3000US depending on which product and which features you choose.
If the .pdf files were created with the latest Adobe Acrobat, they are actually in XPDF format and it is possible to communicate with them using PHP. There is an existing product out there to do that also.
Now, if you are asking how to do this with PureBasic, then the answer is "not exactly". But it is possible to display the .pdf file as a backdrop for a PB window. Then you can capture that data, store it as desired, then print the .pdf and overlay it with data. It isn't a trivial task! For some clues, perhasp look at Comate and how it uses the Acrobat Reader's ActiveX component. Then obtain the specifications for that ActiveX and see which commands are available to you.
You may wonder why I know all this?
The original "fill-in" software for Acobat .pdf forms was written by a firm here in my hometown that was working in my own field as competitors. Adobe invested in the company and shortly "merged" their product into Acrobat Reader. (Read that to mean the two guys made some money, but were shoved out really quickly.)
- Rook Zimbabwe
- Addict
- Posts: 4322
- Joined: Tue Jan 02, 2007 8:16 pm
- Location: Cypress TX
- Contact:
In addition there is FOXIT READER and it has multiple functionality like Admobe. I don't know if you can script it though!
I also found this:
http://koivi.com/fill-pdf-form-fields/

I think this could be done in PB with a little skull sweat!
I also found this:
http://koivi.com/fill-pdf-form-fields/

I think this could be done in PB with a little skull sweat!
Wow! RMA? I'm getting burnt with these issues. We are focused in hardware integration for industrial market, so we are dealing every day with this.
We use Foxit Reader, this program allows save the filled document, Adobe Reader not.
At this moment I am planning doing a system more automatic, faster... for our customer though in fact the system implemented until this moment is a very fast way. If you are dealing with RMA and/or other hw issues we can share.
I will follow this interesting post for my project.
We use Foxit Reader, this program allows save the filled document, Adobe Reader not.
At this moment I am planning doing a system more automatic, faster... for our customer though in fact the system implemented until this moment is a very fast way. If you are dealing with RMA and/or other hw issues we can share.
I will follow this interesting post for my project.
-
- Enthusiast
- Posts: 781
- Joined: Fri Apr 25, 2003 6:51 pm
- Location: NC, USA
- Contact:
Foxit Reader is easy to use completing forms even if they do not have "form fields" in them. However, forms that have "form fields" established are much easier to complete using Foxit Reader.Jordi wrote:We use Foxit Reader, this program allows save the filled document.
Many "pdf editors" can add form fields. However, the Foxit PDFEditor program is not one of them.
- Rook Zimbabwe
- Addict
- Posts: 4322
- Joined: Tue Jan 02, 2007 8:16 pm
- Location: Cypress TX
- Contact:
-
- Enthusiast
- Posts: 781
- Joined: Fri Apr 25, 2003 6:51 pm
- Location: NC, USA
- Contact:
No, Foxit PDFCreator does not do that. It is a 'print driver' that you print from a Windows program to and the result is a .pdf file.
AFAIK none of the Foxit products allow the creation of "form fields" in the pdf itself, and I have licenses for Foxit Reader Pro, PDFEditor and PDFCreator.
I think PDFFill Editor (from Pilotsoft) does (must have JAVA installed), but I confess I haven't any experience with it doing that. And there are several others that will allow the creation of "form fields".
Of course, Acrobat has the ability. So, If you have a copy, and the file(s) allow modification (are not secured by the original author), then you can easily add the fields.
AFAIK none of the Foxit products allow the creation of "form fields" in the pdf itself, and I have licenses for Foxit Reader Pro, PDFEditor and PDFCreator.
I think PDFFill Editor (from Pilotsoft) does (must have JAVA installed), but I confess I haven't any experience with it doing that. And there are several others that will allow the creation of "form fields".
Of course, Acrobat has the ability. So, If you have a copy, and the file(s) allow modification (are not secured by the original author), then you can easily add the fields.