Printing HTML files using java print API

Discussion in 'Java' started by Shameek, Dec 27, 2005.

  1. Shameek

    Shameek Guest

    Can anyone give a solution of how to print an HTML file using the
    JPS(java printing service). My printer does not support 'text/html'
    docflavor.
     
    Shameek, Dec 27, 2005
    #1
    1. Advertisements

  2. Shameek

    Roedy Green Guest

    You might look into how to feed it to a browser and get the browser to
    print it. Java's out the box HTML rendering is pathetic. See
    http://mindprod.com/jgloss/htmlrendering.html

    Other possibilities are to convert the HTML to PDF ahead of time.
     
    Roedy Green, Dec 27, 2005
    #2
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.