Linux.com

Manipulating PDFs with the PDF Toolkit

Posted by: Anonymous [ip: 202.88.34.110] on January 15, 2008 03:31 PM
plzz tell me how can i use pdftk with php on LINUX. I used it on Windows as folows to auto fill pdf's like this :

passthru( 'E:\Projects\PHPProjects\PDF\pdftk S-Corp-Blank.pdf fill_form flatfile.fdf output abc.pdf flatten') ;

Im a newbie to linux plz tell me what path do i give instead of E:\Projects\PHPProjects\PDF\pdftk on linux to invoke pdftk using passthru in php , caz i have read that passthru requires complete path of the application in order to run it .

thanx ,
waiting for reply ,
Fahad.

#

Return to Manipulating PDFs with the PDF Toolkit