This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Just a simple task I'm trying to do in a program I made: it produces an HTML file which I subsequently want Internet Explorer to open up and print out. I have everything working up to the point where I need to open IE...and then I realized I don't know how. How can I do this?'
Opening IE for a specific page or file is easy enough. Just use Runtime.exec() to run "iexplore file://whatever.html". Getting IE to print thereafter though, that is hard. Is there any reason why you want IE to print the file? You could just use the Java Print Service API to do it without the involvement of IE.