• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Server side printing no longer works
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Server side printing no longer works


  • Subject: Server side printing no longer works
  • From: Dan Faber <email@hidden>
  • Date: Mon, 4 Jul 2005 22:14:05 -0600

I am using java.awt printing to send jobs to a local printer on the same network as the server (server side printing). This has worked pretty well in the past, but now with WO 5.3 on OSX 10.4.1 the code breaks.

When executing:
 PrinterJob job = PrinterJob.getPrinterJob();

The console logs a message:
** ATTENTION ***

Please Attach Debugger : No Autorelease pool exists
Press any key to continue...

Other code seems to go OK, but then when the following is executed:
job.print();

the program hangs. No exception is thrown, the program just chokes. Checking with the debugger reveals the hang occurs somewhere in the CPrinterJob code.

Using: int myPool = NSAutoreleasePool.push();
does not change the behavior at all.

Anybody have any ideas that might help fix this? So far the problem is reproducible in development mode. I tried the code on an upgraded deployment machine, and so far it actually prints. Don't know if it will keep printing in the future, and I'd hate to have it break all of a sudden.

Thanks

Dan Faber
email@hidden
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: WEBOBJECTS 5.3
  • Next by Date: Best way to encrypt passwords, credit cards, with MySQL or EOModeler...
  • Previous by thread: Click - alternative to WO?
  • Next by thread: Best way to encrypt passwords, credit cards, with MySQL or EOModeler...
  • Index(es):
    • Date
    • Thread