This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Swing / AWT / SWT and the fly likes ps file lacking BoundingBox for using in Latex Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "ps file lacking BoundingBox for using in Latex" Watch "ps file lacking BoundingBox for using in Latex" New topic
Author

ps file lacking BoundingBox for using in Latex

Ivn Tcakov
Greenhorn

Joined: Oct 15, 2003
Posts: 9
Hello,
I have been working with plotting graphs in an applet using Graphics. Then I load the applet into Netscape Browser.
To print, I use PrinterJob() Class which, when printed to a file generates a ps file (in unix at least. Macintosh Netscape generates a pdf file but I am not working on Mac)
After saving the file as .ps, I tried to load it into Latex using epsfig. The problem that it reported is that it was missing the BoundingBox info which is the property of eps file.
I know how to solve this and convert ps to eps outside of java. But does anyone know how I can do this within java code? I've been trying to see if PrinterJob class has any parameters or options but I can't find anything.
Any suggestions would be greatly appreciated.
thanks
Ivan
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: ps file lacking BoundingBox for using in Latex