• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

printer deletes queued document before printing

 
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic