title: How to fix "error exists on this page" PDF error from prawn generated documents?
body: <p>I'm generating PDFs in my Rails application using the Prawn PDF library.  Everything is working great, but when opening the resulting PDF in Acrobat or Acrobat Reader the message below is shown: </p>
  
  <blockquote>
    <p>An error exists on this page.  Acrobat
    may not display the page correctly. 
    Please contact the person who created
    the PDF document to correct the
    problem.</p>
  </blockquote>
  
  <p>Adobe lists this as being fixed in their Acrobat 8.1.3 release notes.</p>
  
  <blockquote>
    <p>1810668 Memory leak while printing
    large document with images: 
     > When a large document is exported to a
    PostScript, or sent to a printer for
    printing "An error exists on this
    page. Acrobat may not display the page
    correctly. Please contact the person
    who created the PDF document to
    correct the problem" can occur. This
    problem was encountered on certain
    documents with a large number of
    monochrome images, but has been
    rectified in 8.1.3.Root: Fixes issue
    found in 8.1.2.</p>
  </blockquote>
  
  <p>But I'm seeing the issue in all current Versions of Acrobat Professional and Acrobat reader.  My PDF does use a background image on every page, has lots of pages (usually 75+), and has lots of transparent images, but nothing that should be causing an error.  Additionally Mac's Preview shows no issues, and if you press "OK" on the Acrobat error, everything is fine.  </p>
  
  <p>I ran the Preflight tool in Acrobat Professional to check for PDF syntax errors and found no errors but some warnings "Unbalanced q and Q operators".</p>
  
  <p>This is for a customer facing application so I can't change settings to suppress the error in the PDF reader.</p>
  
  <p>Any ideas on how I can get the error to go away?</p>