As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
C:\xpdfbin-win-3.03\bin64>pdftotext.exe -f 1 -l 3 -raw -eol dos "c:\test\source\110825DD.pdf"
pdftotext version 3.03 Copyright 1996-2011 Glyph & Cog, LLC Usage: pdftotext [options] <PDF-file> [<text-file>] -f <int> : first page to convert -l <int> : last page to convert -layout : maintain original physical layout -fixed <fp> : assume fixed-pitch (or tabular) text -raw : keep strings in content stream order -htmlmeta : generate a simple HTML file, including the meta information -enc <string> : output text encoding name -eol <string> : output end-of-line convention (unix, dos, or mac) -nopgbrk : don't insert page breaks between pages -opw <string> : owner password (for encrypted files) -upw <string> : user password (for encrypted files) -q : don't print any messages or errors -cfg <string> : configuration file to use in place of .xpdfrc -v : print copyright and version info -h : print usage information -help : print usage information –help : print usage information -? : print usage information
<php>function __autoload($class) { require_once('Zend/Loader.php'); Zend_Loader::loadClass($class); } $pdf = Zend_Pdf::load($fichier); $pdf->properties['agence'] = $codeagence; // exemple de meta $pdf->save($fichier); // relecture des meta foreach($pdf->properties as $meta_key => $meta_value) { echo 'properties: '.$meta_key.' - '.$meta_value,PHP_EOL; } </php>