http://www.andrewheiss.com/blog/2009/07/29/installing-pdftk-php/ #13
Replies: 45 comments 51 replies
-
Andrew, \ Thank you for the detailed tutorial. Very nice. But I have a question \ Is this possible? |
Beta Was this translation helpful? Give feedback.
-
Andrew, \ I have a Linux box with root access and would be willing to pay you for \ Any chance you would be willing to access one of my servers and bring \ Safe travels and thank you for your time! \ Scott |
Beta Was this translation helpful? Give feedback.
-
Has worked thanks alot |
Beta Was this translation helpful? Give feedback.
-
Hi Andrew, |
Beta Was this translation helpful? Give feedback.
-
I am just using mPDF |
Beta Was this translation helpful? Give feedback.
-
Andrew, \ Forgive me as I am having a bit of a brain freeze. I can follow 90% of \ Tony \ Server Specs. |
Beta Was this translation helpful? Give feedback.
-
Andrew, \ I just wanted to say I managed to sort this out, we had a desktop lying |
Beta Was this translation helpful? Give feedback.
-
Andrew, is there a way on the view page, to have a button to download |
Beta Was this translation helpful? Give feedback.
-
Hello. Thank you for the article. I am having a problem. I get this \ Acrobat could not open (filename) because it is either not a supported \ How can I fix this? |
Beta Was this translation helpful? Give feedback.
-
Hi Andrew, \ I've been looking for a script like this for ages. Could you please |
Beta Was this translation helpful? Give feedback.
-
Hi Andrew, \ The PDF's the make_pdf function are producing do not contain any user \ I suspect the problem has something to do with the part where you \ I have LiveCycle Designer ES... should I try to get an older version? \ Please advise :) |
Beta Was this translation helpful? Give feedback.
-
I actually was able to figure it out... missed the comment about the \ make sure you remember to do the dump thing to see what the structure of |
Beta Was this translation helpful? Give feedback.
-
Hi Andrew, This appears to be exactly what I need for a project, but System: Vista Ultimate 32bit, Acrobat Pro 9, FireFox I previously had PDFXChange Viewer. Uninstalled that. Then, I tried on |
Beta Was this translation helpful? Give feedback.
-
I've got the pdftk uploaded and installed on my server. It runs fine. |
Beta Was this translation helpful? Give feedback.
-
Hi Andrew, First of all thanks for a great article like this. First we downloaded the build from Done! Cya. |
Beta Was this translation helpful? Give feedback.
-
Your instructions say "Modify the information in example/_dbConfig.php But the example dbConfig has code for SQLite, not MySQL. I am a newb, as |
Beta Was this translation helpful? Give feedback.
-
Is it possible to hire you to help set this up for me? I have it |
Beta Was this translation helpful? Give feedback.
-
David Parent, $hostname = 'localhost'; $conn = new PDO("mysql:host=$hostname;dbname=$db_name", $username, |
Beta Was this translation helpful? Give feedback.
-
Hey! Thanks so much! I will try this out tonight! |
Beta Was this translation helpful? Give feedback.
-
Here are a couple of things to help get this example working. I'm using a windows box for both of my development and production I've used pdftk for a number of years to combine hundreds of pdf's $passthu_command = "pdftk \"C:\Program //write variable to file this is for testing. Comment out for I found that pdf's were being created with 0mb and giving an error when pdftk "C:\Program The - (dash) before "flatten" should be used for the php script So, for EasyPHP with pdftk.exe located in the system32 folder the code $passthu_command = "pdftk \"C:\Program passthru($passthu_command); For IIS I had to copy pdftk.exe to the example folder, I also relocated $passthu_command = "pdftk passthru($passthu_command); You will note that the file paths are full paths on the windows hard In my final download.php file, I changed the $pdf_original variable to In my final pdftk-php.php file I changed the passthru string like this: This will allow me to create many different pdf forms with their own For all non-required fields in the pdf, make sure the column in the |
Beta Was this translation helpful? Give feedback.
-
I'd like it to add a datetime timestamp into the DB. I have added a |
Beta Was this translation helpful? Give feedback.
-
pdftk data_dump_fields is returning field names with what appear to be |
Beta Was this translation helpful? Give feedback.
-
Great tutorial! However I am having some trouble with interactive PDF forms. I can passthru("c:\windows\system32\pdftk $pdf_original fill_form However this flattens the PDF and I want the PDF form to remain If I use the following command: (which should produce the desired passthru("c:\windows\system32\pdftk $pdf_original fill_form Help?\ |
Beta Was this translation helpful? Give feedback.
-
I have been using the pdftk.exe and pdftk-php.php for over a year now, "Adobe Reader cannot open "xxxxxx" because it is either not supported anybody know any fixes? I have made sure 755 file security is on the tmp folder, i check the will it not work with newer versions of Reader? |
Beta Was this translation helpful? Give feedback.
-
It successfully creates my pdf but everything comes up as little square |
Beta Was this translation helpful? Give feedback.
-
Hi Andrew, Is there a way to make it check for a duplicate entry into the |
Beta Was this translation helpful? Give feedback.
-
STUCK - PDF is generated but size is 0K and error messge stating Adobe |
Beta Was this translation helpful? Give feedback.
-
Thanks for making this class available. When I was using the pdftk.exe |
Beta Was this translation helpful? Give feedback.
-
I want to be able to save the pdf on the server after it outputs it to |
Beta Was this translation helpful? Give feedback.
-
great libraries Andrew I have tried and succeeded, but the problem now is how we are to create Thank you. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Installing pdftk-php | Andrew Heiss.com
http://www.andrewheiss.com/blog/2009/07/29/installing-pdftk-php/
Beta Was this translation helpful? Give feedback.
All reactions