I'm trying to print using the javax.print API. My code works fine when I print images. However when I try to print TXT files, my code queues the file in the printer spooler. However the printer deletes the document from the queue after dispaying a "deleting printing" status in the printers queue. I tried using different sets of flavor but nothing seems to work. Also tried all the code I could find online (that works for everyone else), but did not work fine on my printer.
here is one such code [in the reply 2 of]: http://forum.java.sun.com/thread.jspa?threadID=293692&tstart=0 ====================================== I used the smartJPrint API and that worked perfectly fine on my printer for PDF. However I do not have the luxury of using external APIs and need to sort this problem.