Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: libcups.dylib and network difficulties



There shouldn't be any differences between libcups.a and libcups.dylib. You must be building the static library yourself -- are you comparing libraries built from the same source?

What printer are you connecting to? There's an open bug about a printer returning partial results due to packet fragmentation -- might this be what you're seeing? Unfortunately we haven't been able to reproduce it as of yet. Seeing a packet trace might help...

Jim

On Jan 3, 2005, at 3:34 PM, Alan Somers wrote:

<x-tad-bigger>I have a Cocoa app (not document-based) where I'm attempting to obtain a list of the jobs (either completed or not-completed) from an IPP printer queue using the CUPS library routines and display it in a window.

When I link against libcups.dylib, I can get the local server jobs with no problems but the remote server job requests either fail with an IPP_SERVICE_UNAVAILABLE error code or I get an incomplete list. The really weird thing is that if I link against libcups.a, everything works flawlessly.

To set up the library I'm linking against, I'm adding a reference to the pertinent file to the Frameworks folder in XTools, making sure that it's associated with the target, and then building the project. Is there anything else I need to do for dylibs? Does anybody have any idea what might be different between linking dynamically vs. statically against libcups that might affect network performance?

TIA.

Alan</x-tad-bigger>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Printing mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/printing/email@hidden

This email sent to email@hidden
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Printing mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/printing/email@hidden

This email sent to email@hidden

References: 
 >libcups.dylib and network difficulties (From: Alan Somers <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.