• 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

Silent Printing

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I've done all the searches and had some success, but I need some help connecting the dots. I have a Book object that I create and it prints fine using a PrinterJob and the dialog pop up. I have another app that uses a DocPrintJob that I created from the printService obj and I don't need to pop up the dialog in order for it to print.

My problem is I need to print the Book object without the printDialog popup. When I leave out the printJob.printDialog() and then call printJob.print(), nothing happens. So how can I get a Book to print without the dialog?
Thanks
reply
    Bookmark Topic Watch Topic
  • New Topic