
Travis-ULD
New Here
Travis-ULD
New Here
Activity
‎Feb 01, 2019
06:42 AM
2 Upvotes
Hi Akki_24, I ended up figuring this out and it had to do with the version of pdf that I was generating and the font-type being used within the form fields. Hopefully, this is helpful to anyone generating forms in a pdf using libraries like fpdf + fpdm (written in php). I have since moved everything over to use the mpdf library (still php) and don't have the same problems now. I created a pdf template that had form fields in it using a free program called Scribus. I know, I know... I am in an Adobe forum suggesting that I used another product to create a pdf! However, I do own a copy of Acrobat DC and use it for everything else... For just this one application, I needed something else because the version of pdf that Adobe DC created (I did try to use it first) wasn't readable by the fpdf + fpdm libraries mentioned above (I had spent way too long already trying to tweak settings in Adobe DC, couldn't get it figured out and had already past a deadline to get my forms posted on our site). Scribus generated pdfs only worked with my scripts if I saved them to version 1.3 (equivalent to Adobe legacy ver. 4 or 5, so the forms weren't pretty and didn't need to be). What I didn't realize however, is that when you go back that far (I remember those days... Ugh... I'm old...), you have to specify that a TrueType font (Helvetica for example) be used within the form fields when completing them in Adobe Reader. Not knowing this, I was trying to use Montserrat. I am assuming that if Adobe Reader detects that the pdf is saved as an older version, it applies the legacy code that governed a pdf back then to be able to interpret and display them properly. The reason that the browser pdf readers let a user fill in the field (from what I'm assuming) is because they must not revert back in time to when people knew who Austin Powers was, to follow whatever font limitations those versions applied. I could understand that Adobe Reader versions dating back that far specified which fonts (TrueType) that could be used to keep the document formatted nicely whereas, neither Chrome or Firefox even existed back in those days (unlike Adobe, they will never know what life was like when Tupac was around).
... View more
‎Jan 10, 2019
08:07 AM
Chrome, Firefox and IE (Edge) browsers open my pdf, display the form fields and allow entering data without any issue. Adobe Reader DC however, doesn't play nice with a file that is opened in the browser, downloaded and opened locally. Funny enough, if I download the file that was opened by Chrome, right click on it and select Chrome as the program to open the pdf, it displays fine and allows data entry as expected. Same goes for IE and Firefox, but Adobe Reader only displays the form fields and you can't enter anything (though it does appear to recognize the form fields being there). Unfortunately, when you print->save as pdf using Chrome, the information that was already entered in the form fields is retained, but any form fields that still need to be completed electronically are removed (the fields just don't exist anymore as your pdf is a flat file with everything dynamic removed when you print it). So, if you email the pdf to someone and they try to open it using your "Chrome printed/saved" pdf, the form fields aren't present. I can't figure out why browser pdf viewers work fine, but Adobe DC can't open the file and allow data to be entered.
... View more