• 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

Is it possible to merge user entered text with a jpeg and print it out at 300 dpi?

 
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is it possible to merge user entered text with a jpeg and print it out at 300 dpi?
Basically I am working on a program where a user selects an advertisment and then customizes it by entering their information(name, adderess, phone). Is there any way I can have text added to a 300 dpi jpeg and then print that out at 300 dpi to the users printer?
 
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I can't help you with the particulars of printing at a certain DPI (Java Printing), however, I do know you can take a JPanel, get it's Graphics object (p.getGraphics), draw an image on it (g.drawImage) and then overwrite that image with text(g.drawString) and print that out.
[ September 25, 2003: Message edited by: Joe Ess ]
reply
    Bookmark Topic Watch Topic
  • New Topic