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: Identify USB shared printer



> This would work to identify the current printer, but if I wanted to check
each
> printer that has a queue, I9d need a printer object for each. Is there an
> equivalent for PMSessionCreatePrinterList that returns a list of printers
> instead of a list of queue names?
>
> Thanks.
>
> Jim,
>
> You didn't miss a thing. There is no public API to find out if a
> printer is local or remote. But you can use the following, currently
> private, function for this purpose:
>
> OSStatus PMPrinterIsRemote (PMPrinter printer, Boolean *isRemoteP);
>
> We will add this to the PrintCore header in the next major OS release.
>
> -Paul
>
>
> On Tuesday, February 18, 2003, at 01:32 PM, Jim Leno wrote:
>
>> > Perhaps I missed this, but is there a way to identify a printer from
>> > code as
>> > a USB shared printer, other than getting the queue name and looking
>> > for an
>> > IP address?
>> >
>> > Thanks.
>> > _____________________________
>> >
>> > "You've been all over
>> > And it's been all over you..."
>> >
>> > U2
>> > Beautiful Day
>> >
>> > Jim Leno
>> > Relief Pitcher
>> > Critical Path Software, Inc.
>> >
>> > Voice: (503) 265-1219
>> > Fax: (503) 222-3020
>> > mailto:email@hidden
>> > http://www.criticalpath.com
>> > _______________________________________________
>> > 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.
>


_____________________________

"You've been all over
And it's been all over you..."

U2
Beautiful Day

Jim Leno
Relief Pitcher
Critical Path Software, Inc.

Voice: (503) 265-1219
Fax: (503) 222-3020
mailto:email@hidden
http://www.criticalpath.com
_______________________________________________
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: Identify USB shared printer (From: Paul Danbold <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.