URL:
<http://savannah.gnu.org/bugs/?22129>
Summary: GSCUPSPrintInfo may not get default printer if it
is networked
Project: GNUstep
Submitted by: tracy454
Submitted on: Sunday 01/27/2008 at 04:38
Category: Gui/AppKit
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
GSCUPSPrintInfo +defaultPrinter uses cupsGetDefault() which can't retrieve
the default printer if it is the user-defined default on a shared printer. The
CUPS documentation recommends cupsGetDests() and cupsGetDest() as being more
reliable. As an added benefit, this approach is faster at recognizing when
there is no printer available. The attached patch makes the change.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Sunday 01/27/2008 at 04:38 Name: GSCUPSPrintInfo.m.patch Size: 1kB
By: tracy454
<http://savannah.gnu.org/bugs/download.php?file_id=14875>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?22129>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gnustep