[PATCH 9/9] Add poppler version to PSOutputDev ouput

Adrian Johnson ajohnson at redneon.com
Fri Aug 12 07:53:23 PDT 2011


---
 poppler/PSOutputDev.cc |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/poppler/PSOutputDev.cc b/poppler/PSOutputDev.cc
index 0a3df51..458b21e 100644
--- a/poppler/PSOutputDev.cc
+++ b/poppler/PSOutputDev.cc
@@ -1315,6 +1315,7 @@ void PSOutputDev::writeHeader(int firstPage, int lastPage,
     writePS("%!PS-Adobe-3.0 Resource-Form\n");
     break;
   }
+  writePSFmt("% Produced by poppler pdftops version: {0:s} (http://poppler.freedesktop.org)\n", PACKAGE_VERSION);
   xref->getDocInfo(&info);
   if (info.isDict() && info.dictLookup("Creator", &obj1)->isString()) {
     writePS("%%Creator: ");
-- 
1.7.4.1


--------------010100010407070709080108--


More information about the poppler mailing list