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: Trouble finding source of PBM error problem



Hi Bob,

On Tue, 17 Jun 2003 10:10:59 -0400, email@hidden
<email@hidden> said:

>Pierre,
>
>I saw this problem when I first began working on my PBM. While I don't
>remember for sure what caused this, I think it was because a had
>written a PBM but not an IOM (since I planned on getting the PBM part
>working before doing the IOM). The IOM's GetConnectionInfo routine must
>return the path of the PBM relative the the IOM path.
>
>Hope this helps.
>
>Bob Maggi

Thanks Bob, but actually no, it doesn't :-) Yes I've already found out
about the relative path to the PBM. And I found it somewhat confusing,
but perhaps that's just me. I think this is how it goes:

- If IOM and PBM are siblings in the same parent directory, the browser
path should be "../PBM.plugin"

- If the PBM is to be within the IOM's bundle (which seems appropriate to
me), say within a plugins directory, the browser path should be
"Contents/PlugIns/PBM.plugin"

- If the IOM is within in the PBM's bundle (which i originally thought
made sense then changed my mind), say within contents/plugins or
something, I believe the browser path should be just "../../.."!

I believe these situations are all allowed, someone please correct me if
I'm wrong.

I wasn't clear, but the error -1 I get is upon clicking the Add
pushbutton in the browser sheet while my PBM is showing, not Print
Center's Add button in toolbar. This is what I'm referring to when I ask
"What exactly happens after the Add button is pressed?"

So can anyone give me a rundown of the calls made to PBM, IOM & PM after
the browser sheet's Add button is pressed? Or anything in the print
system itself that would cause Print Center to report error -1?

Thanks,
Pierre


>> Hi printing list,
>>
>> I'm once again working on a PBM. The LPR & USB samples from DTS are very
>> useful, thanks Apple.
>>
>> Anyway, Print Center generates an error alert, error code -1, after I
>> press the Add button with my PBM (in fact, after a long delay after
>> pressing the Add button). I don't doubt the -1 comes from my code, but
>> I'm having trouble finding it. I probably not looking at all the entry
>> point functions called by Print Center, in either PBM, IOM or PM. What
>> exactly happens after the Add button is pressed?
>>
>> Or could possibly the -1 be coming from Print Center itself?? If so what
>> might that mean?
>>
>> Thanks a bunch.
>>
>> --
>> Pierre Houston <mailto:email@hidden>
>> Senior Software Engineer Direct Ph: (604) 296-3635
>> Strydent Software, Inc. <http://www.strydent.com>
>> Suite 488 - 2608 Granville St. Office Ph: (604) 296-3600
>> Vancouver, BC, Canada V6H 3V3 Fax: (604) 296-3699
>_______________________________________________
>printing mailing list | email@hidden
>Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/
>printing
>Do not post admin requests to the list. They will be ignored.
_______________________________________________
printing mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/printing
Do not post admin requests to the list. They will be ignored.

References: 
 >re: Trouble finding source of PBM error problem (From: 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.