Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

printer deletes queued document before printing  RSS feed

 
Karen Gomes
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello friends,

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.

Pls help!!!

Thanks,
Karen
[ March 03, 2005: Message edited by: Karen Gomes ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!