bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #22129] GSCUPSPrintInfo may not get default printer if it is networ


From: Mark Tracy
Subject: [bug #22129] GSCUPSPrintInfo may not get default printer if it is networked
Date: Sun, 27 Jan 2008 04:38:02 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.8) Gecko/20071015 SUSE/2.0.0.8-1.1 Firefox/2.0.0.8

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/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]