Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Freeze at PrintJob.getGraphics()  RSS feed

 
terr lundamo
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I've run into a somewhat strange problem with printing. The printer is "ready", but there's still an error, so documents are queuing up.
So here's my code:



I've used the same code for at least 1 year without problems, so there's no doubt in my mind it's the printer causing this, is there any way to avoid getting this freeze?
I know a quick solution is to reconnect the printer and then all is good, but that doesn't cut it really..


Edit: notepad also freezes when trying to print to this printer.. so java is not the problem. anyway, feel free to add some knowledge


 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!