title: using pdftotext in Windows vs. Ubuntu server
body: <p>On my Windows 7 PC the command line input "pdftotext myfile.pdf" creates a .txt file in the same directory as myfile.pdf.  However, when I try the same command line input on my ubuntu-12.04 server with an identical myfile.pdf, I get an error output as follows:</p>
  
  <pre><code>Error: May not be a PDF file (continuing anyway)
  Error (2): Illegal character &lt;21&gt; in hex string
  Error (4): Illegal character &lt;4f&gt; in hex string
  Error (6): Illegal character &lt;54&gt; in hex string
  Error (7): Illegal character &lt;59&gt; in hex string
  Error (8): Illegal character &lt;50&gt; in hex string
  Error (11): Illegal character &lt;48&gt; in hex string
  Error (12): Illegal character &lt;54&gt; in hex string
  Error (13): Illegal character &lt;4d&gt; in hex string
  Error (14): Illegal character &lt;4c&gt; in hex string
  Error (16): Illegal character &lt;50&gt; in hex string
  Error (17): Illegal character &lt;55&gt; in hex string
  Error (19): Illegal character &lt;4c&gt; in hex string
  Error (20): Illegal character &lt;49&gt; in hex string
  Error (23): Illegal character &lt;22&gt; in hex string
  Error (24): Illegal character &lt;2d&gt; in hex string
  Error (25): Illegal character &lt;2f&gt; in hex string
  Error (26): Illegal character &lt;2f&gt; in hex string
  Error (27): Illegal character &lt;57&gt; in hex string
  Error (30): Illegal character &lt;2f&gt; in hex string
  Error (31): Illegal character &lt;2f&gt; in hex string
  Error (33): Illegal character &lt;54&gt; in hex string
  Error (36): Illegal character &lt;48&gt; in hex string
  Error (37): Illegal character &lt;54&gt; in hex string
  Error (38): Illegal character &lt;4d&gt; in hex string
  </code></pre>
  
  <p>and so on...</p>
  
  <pre><code>Error (122): Illegal character &lt;6c&gt; in hex string
  Error: PDF file is damaged - attempting to reconstruct xref table...
  Error: Couldn't find trailer dictionary
  Error: Couldn't read xref table
  </code></pre>
  
  <p>Is the Windows 7 pdf utility package different than that available on Linux (which is from Poppler)?  Otherwise, the same call should produce the same result, no?</p>