Print a file

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Lans Redmond

    #1

    Print a file

    I have a word doument on Tomcat. I need to print the file passing the url
    of the filename and get the users default printer or selected pinter so that
    it can print

    i want to call it like this

    printFile http://localhost/myapp/docs/mydoc.doc defaultprinter


    can someone give me a function that can do this?

    thanks


Working...