Re: Print svg file with PrintTranscoder in applet
Helder Magalhães <[email protected]> Thu, 25 Jul 2013 08:37:26 +0100
| Newsgroups | gmane.text.xml.batik.user |
|---|---|
| Message-ID | <CAPODfC5omuKsTuZQH_34Ve6M-gfpnJokF1gOsYZ2rqhQtLQsfw@mail.gmail.com> |
> Hi Batik users, Hi minh tuan, > I'm doing an applet which can print svg sttring to printer. > But when i use PrinterJob and set printable is PrintTranscoder then print, it has error with sun class unknown source. > Could i use PrintTranscoder in applet ? or i wrong in something ? You must use the JDK/JRE from Sun (now Oracle) with all currently released versions. You can use other JDK/JRE if you compile Batik from source (trunk version currently stands for 1.8). If you have trouble with that, there are also nightly builds available. > Pls help me, > Thank you in advance. > Tuan. Let us know how it goes! Hope this helps, Helder