SIGPIPE while printing ! Please help !!
SIGPIPE while printing ! Please help !!
- Subject: SIGPIPE while printing ! Please help !!
- From: Cristian Savu <email@hidden>
- Date: Fri, 21 Feb 2003 09:14:18 +0200
Hello everybody !
While I am trying to print from my Cocoa application, from time to
time the application exits with SIGPIPE message.
I am not doing anything special, and USUALLY the printing is working
fine.
Any idea what may cause this or how can I get rid of the problem ?
I am thinking, as a last solution, to prevent delivering of signals to
the application. Is this a safe approach ?
Regards , Cristian
The application stack looks like this when exits:
sendto
httpPrintf
httpGetLength
cupsDoFileRequest
cupsGetDefault
cupsGetDests
cachedCupsGetDests(cups_dest_t**)
CPLCopyDefaultPrinterName
OpaquePMPrinter::OpaquePMPrinter[unified]()
OpaquePMPrinter::OpaquePMPrinter[in-charge]()
PJCGetCurrentPrinter
OpaquePMPrintSession::SetCurrentPrinter()
OpaquePMPrintSession::OpaquePMPrintSession[unified](OpaquePMPrintSession
*)
OpaquePMPrintSession::OpaquePMPrintSession[in-
charge](OpaquePMPrintSession*)
PJCCreateSession(OpaquePMPrintSession**)
PMCreateSession
-[NSPrintInfo(NSPrivate) _printSessionForGetting]
-[NSPrintInfo(NSPrivate) _pageFormatForGetting]
-[NSPrintPanel updateFromPrintInfo]
-[NSPrintPanel _runModalWithPrintInfo:]
-[NSConcretePrintOperation runOperation]
-[RSPrintingController startPrinting]
-[RSMainWindowController(RSMainMenuCategory) doMenuPrint:]
-[NSApplication sendAction:to:from:]
-[NSMenu performActionForItemAtIndex:]
-[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:]
_NSHandleCarbonMenuEvent
_DPSNextEvent
-[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:]
-[NSApplication run]
-[RSApp run]
NSApplicationMain
main
_start
start
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.