On Feb 19, 2008 8:02 PM, Vladimir Vukicevic &lt;<a href="mailto:vladimir@pobox.com">vladimir@pobox.com</a>&gt; wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Plugins on linux are a very different beast than win32/osx, because<br>there isn&#39;t a standard printing interface on linux like there is on<br>the other platforms. &nbsp;I believe that the NPAPI provides only one way<br>to print plugins on linux, and that&#39;s a &quot;Give me an Encapsulated<br>
PostScript stream&quot; method that is called while printing, with the<br>result stuck into the output. &nbsp;Obviously, this doesn&#39;t work unless<br>you&#39;re manually generating postscript output. &nbsp;However, I&#39;m pretty<br>
sure that the only implementor of this API on linux is the Java<br>plugin; future revs of NPAPI on linux will probably use cairo directly<br>(or at least, I&#39;m going to push heavily in that direction).<br></blockquote>
<div><br>The other thing we can do is XComposite/XDamage Jedi mind tricks to capture all plugin rendering, which we can then print as a bitmap. Not as good quality as if we can persuade plugins to draw using cairo, of course.<br>
<br></div></div>Rob<br>-- <br>&quot;He was pierced for our transgressions, he was crushed for our iniquities; the punishment that brought us peace was upon him, and by his wounds we are healed. We all, like sheep, have gone astray, each of us has turned to his own way; and the LORD has laid on him the iniquity of us all.&quot; [Isaiah 53:5-6]