Register and join over 40,000 other developers!
Recent Topics
-
The Game You Are Waiting For?
WendellHarper - Dec 06 2020 01:21 PM
-
Quora and Reddit Backlinks
WendellHarper - Dec 06 2020 01:14 PM
-
Delete account
pindo - Jul 23 2020 01:33 AM
-
Print specific values from dictionary with a specific key name
Siten0308 - Jun 20 2019 01:43 PM
-
Learn algorithms and programming concepts
johnnylo - Apr 23 2019 07:49 AM
Recent Blog Entries
Recent Status Updates
Popular Tags
- networking
- Managed C++
- stream
- console
- database
- authentication
- Visual Basic 4 / 5 / 6
- session
- Connection
- asp.net
- import
- syntax
- hardware
- html5
- array
- mysql
- java
- php
- c++
- string
- C#
- html
- loop
- timer
- jquery
- ajax
- javascript
- programming
- android
- css
- assembly
- c
- form
- vb.net
- xml
- linked list
- login
- encryption
- pseudocode
- calculator
- sql
- python
- setup
- help
- game
- combobox
- binary
- hello world
- grid
- innerHTML

9 replies to this topic
#1
Posted 25 October 2011 - 05:52 PM
Hello,
Each year, my client is forced by law (stupid québec) to get a pdf from the governement website, and fill it (a pdf that you can write in it), print it, keep a copie, and send it to our governement.
And he has to do this for each of his client (maybe 600-700) so it take a lot of time. And for each client, he has to get a new pdf from the website since they are all the same exept the barcode at the bottom.
Since I have all the data the governement ask inside a database, I was thinking of doing something that could do it for them.
I already have a script that can download a new pdf for each client, but I don't know how to write inside a writable pdf in PHP.
Anyone has already did something like that?
Each year, my client is forced by law (stupid québec) to get a pdf from the governement website, and fill it (a pdf that you can write in it), print it, keep a copie, and send it to our governement.
And he has to do this for each of his client (maybe 600-700) so it take a lot of time. And for each client, he has to get a new pdf from the website since they are all the same exept the barcode at the bottom.
Since I have all the data the governement ask inside a database, I was thinking of doing something that could do it for them.
I already have a script that can download a new pdf for each client, but I don't know how to write inside a writable pdf in PHP.
Anyone has already did something like that?
#2
Posted 25 October 2011 - 10:15 PM
I believe this page might help you. Using HTML forms to fill in PDF fields with PHP and FDF I just googled on "fill in pdf form with php" and got a bunch of hits...
I'm a System developer at XLENT Consultant Group mainly working with SugarCRM.
Please DO NOT send mail or PM to me with programming questions, post them in the appropriate forum instead, where I and others can answer you.
#3
Posted 26 October 2011 - 06:20 AM
Thx for the quick answer.
But sadly this will not help me.
The code is for creating a new pdf.
I want to modify some part of a existing pdf, as I would do normally with a writable pdf.
But sadly this will not help me.
The code is for creating a new pdf.
I want to modify some part of a existing pdf, as I would do normally with a writable pdf.
#4
Posted 26 October 2011 - 01:58 PM
I guess you could take all other info in the original pdf file and add the form content into a new file?
I'm a System developer at XLENT Consultant Group mainly working with SugarCRM.
Please DO NOT send mail or PM to me with programming questions, post them in the appropriate forum instead, where I and others can answer you.
#5
Posted 30 October 2011 - 02:55 AM
Although it seems valid, this goes in to a bit of a vague area of PHP's scope.
If you can afford the time to implement a Zend framework module, they have one that updates every so often - it should be able to modify existing PDF documents:
Zend_Pdf tutorial
If memory serves me, you should be able to search for the item you wish to replace and insert another, you will have to dig around the documentation.
If you can afford the time to implement a Zend framework module, they have one that updates every so often - it should be able to modify existing PDF documents:
Zend_Pdf tutorial
If memory serves me, you should be able to search for the item you wish to replace and insert another, you will have to dig around the documentation.
All new problems require investigation, and so if errors are problems, try to learn as much as you can and report back.
#6
Posted 30 October 2011 - 05:02 AM
I did read about the pdf module of zend framework.
But is it possible to use it without using the zend framework?
But is it possible to use it without using the zend framework?
#7
Posted 22 June 2014 - 07:30 PM
Actually, we can refer to a pdf document compatible barcode library to create, save and print barcode on pdf document, just like some excel barcode add-in and Word barcode add-on.
#8
Posted 16 December 2014 - 11:19 PM
Actually, we can refer to a pdf document compatible barcode library to create, save and print barcode on pdf document, just like some excel barcode add-in and Word barcode add-on.
Does anyone know of a good method for editing PDFs in PHP? Preferably open-source/zero-license cost methods.
I am thinking along the lines of opening a PDF file, replacing text in the PDF and then writing out the modified version of the PDF?
I have programmatically created PDF files in the past using FPDF, but found it a little unwieldy at times.
Also tagged with one or more of these keywords: pdf
General Forums →
General Programming →
Pdftk Fill forms with special charsStarted by Vaielab, 26 Mar 2015 ![]() |
|
![]() |
||
General Forums →
General Computing →
How can I fix a corrupted PDF file?Started by slindseyd, 29 Oct 2014 ![]() |
|
![]() |
||
Language Forums →
C# →
My C# PDF selectionsStarted by bunny03, 22 Jul 2014 ![]() |
|
![]() |
||
Language Forums →
PHP →
Convert PDF to HMTLStarted by lucasdcsp, 14 Jul 2014 ![]() |
|
![]() |
||
![]() Javascript PDF previewStarted by Vaielab, 25 Mar 2014 ![]() |
|
![]() |
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download