• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

ps file lacking BoundingBox for using in Latex

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Time flies like an arrow. Fruit flies like a banana. Steve flies like a tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic