http://www.andrewheiss.com/blog/2009/06/19/pdftk-php-officially-released/ #10
Replies: 49 comments 46 replies
-
Hi Andrew, Thank you. I have almost everything working. I think have installed Here are two errors that I see in my apache log [Sun Jun 28 20:43:52 2009] [error] [client 127.0.0.1] PHP Fatal I also get this error but the database and data seems to be ok |
Beta Was this translation helpful? Give feedback.
-
Hi Thank you, Yes part of the problem on the windows system was the path name. You I did a little more trouble shooting. I wrote a test.php file with the following this works as I get a return of So assume the passthru is working? When I change the pdftk-php.php and made sure it had the proper file passthru("c:\www\pdftk.exe $pdf_original fill_form $fdf_fn output - I get this error in my apache log... Unhandled Java Exception: |
Beta Was this translation helpful? Give feedback.
-
I think the pdftk.exe can't parse the new livecycle form.. I can do the However, for my forms (created in adobe livecyle ES 8.2) if they are The issue is that all of our forms are dynamic meaning pdftk won't example static: |
Beta Was this translation helpful? Give feedback.
-
Thank you. I would put that troubleshooting as part of your install I finally got my linux box passthru working properly. I used the same Here are my two pdf's one is static and one is dynamic. The pdftk http://www.pathway2curis.co... Is this a limitation of pdftk? Blurb from a website Static forms present a fixed set of text, graphics, and fields at all |
Beta Was this translation helpful? Give feedback.
-
Thank you. I emailed "Sid" and asked him about the dynamic forms & Also I had the call the forge_php file in order to make my static If I didn't call the forge_php file I got an undefined function. I As soon as I called the OLD forge_php file it worked fine. |
Beta Was this translation helpful? Give feedback.
-
I hope you got my email, With livecycle you can also create a database connection and call The other option that my brother will be playing around with is passing For example a url like this See |
Beta Was this translation helpful? Give feedback.
-
escape_pdf_string Problems Original problems were posted here: I finally re-downloaded the latest and greatest tarabll from GitHub I have full access to my servers over here... I cleared the error_log To re-iterate the problem, using A.W's Acrobat form in the tarball, I I made a clean LiveCycle Design Form using the three fields as listed in Upon viewing the error_log file, this is what is logged:
So it appears that by making the escape_pdf_string a public function Hedgehog, I see in your post above you made reference to this, but I Darrell |
Beta Was this translation helpful? Give feedback.
-
Hello Andrew, Here is my work environment: I am running Fedora11 with pdftk-1.41-19.fc11.i586, All forms are created in LiveCycle 8.0 and are all saved as Acrobat 7 I just built this server with a fresh install of Fedora 11. Thanks |
Beta Was this translation helpful? Give feedback.
-
Hello Andrew, thank you for working on that problem so quickly... The I have commented out the unlink on Line 71 and the script seems to
And I have run the pdftk at the command line to try to directly merge If you look at my previous post, it may be because the fdf_data_string By chance can you send me or upload a working copy of a LC form and the Again Andrew, thank you for all of your work on this project... If I Darrell |
Beta Was this translation helpful? Give feedback.
-
Andrew, |
Beta Was this translation helpful? Give feedback.
-
Sorry......IT IS NOT telling me the path........I type 'whereis pdftk' and hit pdftk: and that is all...... |
Beta Was this translation helpful? Give feedback.
-
Skeeter, try using this command: which pdftk |
Beta Was this translation helpful? Give feedback.
-
Thank you Darrell, got it |
Beta Was this translation helpful? Give feedback.
-
Andrew, \ Do you have a step by step tutorial available on this? I have created my |
Beta Was this translation helpful? Give feedback.
-
Andrew, I am creating my pdf in LiveCycle. One thing I have noticed is that I FieldType: Text FieldJustification: Left FieldType: Text FieldJustification: Left FieldType: Text \ On one of your tutorials, it had more info such as: \ and mine did not have that. Am I doing something wrong in LiveCycle? I \ What do you suggest? |
Beta Was this translation helpful? Give feedback.
-
Problem solved. I am including it here for anyone running into this \ The problem was that I was calling the "download.php" with an include \ Cheers! |
Beta Was this translation helpful? Give feedback.
-
I have the same problem but I don not change anything except the path to |
Beta Was this translation helpful? Give feedback.
-
I use Windows and if I change it to example/pdftk.exe it doesn't work |
Beta Was this translation helpful? Give feedback.
-
html to pdf |
Beta Was this translation helpful? Give feedback.
-
Hopefully you still monitor these comments. I'm having a problem with Do you have any idea why I might be experiencing this problem? I can't |
Beta Was this translation helpful? Give feedback.
-
I was figuring out why all my pdf's were saving with size 1 byte and |
Beta Was this translation helpful? Give feedback.
-
How could I add an email function - to email the flattened pdf? |
Beta Was this translation helpful? Give feedback.
-
I'm asking the same question asked almost a year ago, does pdftk |
Beta Was this translation helpful? Give feedback.
-
Unfillable form? This app has been working wonderfully (thank you so much Andrew), and This is the original: Any help would be greatly appreciated. |
Beta Was this translation helpful? Give feedback.
-
Hey Andrew! I'm sure it's just a matter of encoding to right charset, but I |
Beta Was this translation helpful? Give feedback.
-
Hey...awesome program! I have been using it for a couple of years, but header("Content-Type: Not sure how to change it to make the pdf download to the server. Any |
Beta Was this translation helpful? Give feedback.
-
Hi Andrew.. I've tried to open other people's pdf, same error message, any idea? Cheers |
Beta Was this translation helpful? Give feedback.
-
Hi Andrew I have one PDF file with some Drop down and Text Fields which is Thanks in advance!! |
Beta Was this translation helpful? Give feedback.
-
Hi Andrew Unfortunately there are some issues if number of fields on PDF file are Thansk |
Beta Was this translation helpful? Give feedback.
-
Hi Andrew, I want to extract xml or xfa from form pdf in php. Please suggest me. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
pdftk-php Officially Released
http://www.andrewheiss.com/blog/2009/06/19/pdftk-php-officially-released/
Beta Was this translation helpful? Give feedback.
All reactions