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: IP Address of a network printer ?



Mansur,
Take what I am about to say with a large grain of salt.
I don't know if you are building PDE/PBM/CUPS filter/CUPS backend or
whadevah.

However if you want to get the IP address of an existing CUPS printer
( postscript printer built with Jaguar).... a possible quick and dirty way
might be...

Mac OS X CUPS maintains a configuration(text) file for all existing
printers at '/private/etc/cups/printers.conf' take a peek at the 'Device
URI' line for each printer and see if it helps you.
- lpd printers should have useful addresses
- pap ( AppleTalk printers ) addresses are a little more arcane
parse that pup programmatically and you may be good to go.

John Rice
Group Logic, Inc.

----- Original Message -----
From: "Mansur_Milky" <email@hidden>
To: <email@hidden>
Sent: Thursday, June 12, 2003 12:44 AM
Subject: IP Address of a network printer ?


> hello fellas ,
>
> i posted this problem a few days back. i am really desperate to solve this
> problem. i really need to know some mechanism by which i may be able to
find
> a way out. i know there is no api in MacOS X which will help me solve this
> problem. Even CUPS documentation does not address this problem. dunno what
> to do ;-(
>
> best regards
> mansur
>
> -----Original Message-----
> From: Mansur_Milky
> Sent: Wednesday, June 11, 2003 10:45 AM
> To: email@hidden
> Subject: IP Address of a network printer ?
>
>
> Hi all,
>
> i am trying to get the ip address of a network printer. i have gone thro
the
> CUPS documentation and gone through PMCore.h and all MacOS X printing
> documentation but am unable to find anything.
>
>
> any pointers ?????
>
> best regards
> mansur
> **************************************************************************
> This email (including any attachments) is intended for the sole use of the
> intended recipient/s and may contain material that is CONFIDENTIAL AND
> PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying
or
> distribution or forwarding of any or all of the contents in this message
is
> STRICTLY PROHIBITED. If you are not the intended recipient, please contact
> the sender by email and delete all copies; your cooperation in this regard
> is appreciated.
> **************************************************************************
> _______________________________________________
> 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.
> **************************************************************************
> This email (including any attachments) is intended for the sole use of the
> intended recipient/s and may contain material that is CONFIDENTIAL AND
> PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying
or
> distribution or forwarding of any or all of the contents in this message
is
> STRICTLY PROHIBITED. If you are not the intended recipient, please contact
> the sender by email and delete all copies; your cooperation in this regard
> is appreciated.
> **************************************************************************
> _______________________________________________
> 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: 
 >IP Address of a network printer ? (From: Mansur_Milky <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.