bugGNUstep - Bugs: bug #22129, GSCUPSPrintInfo may not get...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #22129: GSCUPSPrintInfo may not get default printer if it is networked

Submitted by:  Mark Tracy <tracy454>
Submitted on:  Sun 27 Jan 2008 04:38:01 AM UTC  
 
Category: Gui/AppKitSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Fred Kiefer <FredKiefer>
Open/Closed: Closed

Fri 01 Feb 2008 10:08:21 PM UTC, comment #1:

Submitted to SVN

Fred Kiefer <FredKiefer>
Project MemberIn charge of this item.
Sun 27 Jan 2008 04:38:01 AM UTC, original submission:

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.

Mark Tracy <tracy454>

 

Attached Files
file #14875:  GSCUPSPrintInfo.m.patch added by tracy454 (1KiB - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by FredKiefer (Posted a comment)
  • -unavailable- added by tracy454 (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 01 Feb 2008 10:08:21 PM UTCFredKieferStatusNone=>Fixed
      Assigned toNone=>FredKiefer
      Open/ClosedOpen=>Closed
    Sun 27 Jan 2008 04:38:01 AM UTCtracy454Attached File-=>Added GSCUPSPrintInfo.m.patch, #14875

    Back to the top


    Powered by Savane 3.1-cleanup1