title: PDFView printWithInfo:autoRotate: fails
body: <p>I'm trying to print a PDFDocument that I am constructing from a series of images. In case it matters, I'm doing all of this from within a Mozilla plugin. </p>
  
  <p>I create the PDFDocument, and put it into a PDFView, then I call </p>
  
  <pre><code>[printView printWithInfo: [NSPrintInfo sharedPrintInfo] autoRotate: YES];
  </code></pre>
  
  <p>The print dialog comes up (as a separate window, instead of panel. I assume that that comes from being inside a mozilla window, so I wasn't too worried about it. The dialog shows my document, and I can page through it correctly, and everything looks good. </p>
  
  <p>However, when I hit "Print" the dropdown with "Layout" etc becomes empty, and the view under that becomes empty. The window doesn't disappear, and the document doesn't print. Hitting Cancel does exactly the same thing. The only thing I can do then is force-quit Mozillla. </p>
  
  <p>I based the program off of <a href="http://developer.apple.com/mac/library/samplecode/PDFKitLinker2/index.html#//apple_ref/doc/uid/DTS10003594" rel="nofollow noreferrer">PDFKitLinker2</a> from the apple dev site, and that program works. But I can't see any significant differences between it and my version. </p>
  
  <p>Any suggestions on where to look?</p>
  
  <p>thanks.</p>
  
  <p>EDIT: Yes, I know that this is pretty much an exact duplicate of <a href="https://stackoverflow.com/questions/2058501/printing-off-screen-pdfviews">Printing Off-screen PDFViews</a> but that never got a sufficient answer...  (And I didn't notice it until just now...)</p>