This week's book giveaways are in the iOS and Features new in Java 8 forums.
We're giving away four copies each of Barcodes with iOS: Bringing together the digital and physical worlds and Core Java for the Impatient and have the authors on-line!
See this thread and this one for details.
The moose likes Java in General and the fly likes Freeze at PrintJob.getGraphics() Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Barcodes with iOS this week in the iOS forum
or Core Java for the Impatient in the Java 8 forum!

JavaRanch » Java Forums » Java » Java in General
Bookmark "Freeze at PrintJob.getGraphics()" Watch "Freeze at PrintJob.getGraphics()" New topic
Author

Freeze at PrintJob.getGraphics()

terr lundamo
Greenhorn

Joined: Dec 08, 2010
Posts: 19
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


 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Freeze at PrintJob.getGraphics()