0

I want to edit some part of the PDF and regenerates it in the same format after editing. I have tried pdftk but it won't allow to edit the readonly labels.i got success to parse the pdf using Smalot pdf parser but now i don't know how to again regenerate it in the same format after parsing??

Thanks in advance!!!1

prakash tank
  • 1,269
  • 1
  • 9
  • 15
  • have you tried http://www.fpdf.org/ ? – Vasil Rashkov Feb 13 '17 at 06:05
  • @VasilShaddix : Yes i tried different pdf libraries but my concern is that how to regenerate the pdf in same format as it was. `pdftk` is something which gives you proper output but it only allows to change the form values in my case it's not the form fields. – prakash tank Feb 13 '17 at 06:07
  • @VasilShaddix : but let me check again the `fpdf`. thanks for the suggestion. – prakash tank Feb 13 '17 at 06:07
  • what do you mean by same format ? – Vasil Rashkov Feb 13 '17 at 06:23
  • after edit the pdf the format would be same as it was before. i want to edit some things in pdf which will come dynamically and save so user don't have to fill those data. – prakash tank Feb 13 '17 at 06:27
  • fpdf should do that for you. just look up the lib. Its pretty simple and easy to use. best of luck. if you have any trouble, hit me up :) – Vasil Rashkov Feb 13 '17 at 06:28
  • Let us [continue this discussion in chat](http://chat.stackoverflow.com/rooms/135553/discussion-between-prakash-tank-and-vasil-shaddix). – prakash tank Feb 13 '17 at 06:58

0 Answers0