Re: Java: how to use xulrunner to convert html to postscript?

Daniel Oliveira <[email protected]> Thu, 20 Feb 2014 10:40:51 -0800 (PST)
Newsgroups gmane.comp.mozilla.devel.embedding
Message-ID <[email protected]>
Em quinta-feira, 20 de fevereiro de 2014 15h39min39s UTC-3, Daniel Oliveira  escreveu:
> Em quinta-feira, 20 de fevereiro de 2014 14h24min46s UTC-3, Christian Sell  escreveu:
> 
> > we have done something similar, actually also from within SWT/Java. Heres some caveats:
> 
> > 
> 
> > 
> 
> > 
> 
> > 1. If you want a version of XULRunner > 10, you must move up to at least Eclipse 4.4M5. That version supports XULRunner 24. You can, however, manipulate your Eclipse target to include the 4.4M5 SWT bundles only
> 
> > 
> 
> > 
> 
> > 
> 
> > 2. your solution won't be able to handle large images/webpages. If the generated image in itself will not blow up your app because of memory consumption, the conversion to AWT will surely do so.
> 
> 
> 
> I was wrong, this solution can't solve all my problems. I necessary that the browser not appear, only need to capture the image, is this possible?

Note: The images are small, I just need to print labels on a Zebra printer