title: javax print vs java awt print api
body: <p>Can i use java awt print to print a document/file instead of using javax print? I could find that in java awt print there is an option to set the content to be printed only as string using AttributedString. Is there an option to use awt and print document/file from input stream instead of String?</p>