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: Re:IP Address from PDE



hi abhijit,

If i add a printer selecting IP Printing then i do get the IP Address but if
i choose Appletalk then i dont get the IP Address and a user can select
Appletalk while adding the printer to the print center.

best regards
mansur

-----Original Message-----
From: Abhijit Gupta [mailto:email@hidden]
Sent: Thursday, June 12, 2003 12:05 PM
To: Mansur_Milky
Cc: email@hidden
Subject: FW:Re:IP Address from PDE



Hi Mansur,
Your question was answered few days back in the mailing list. I
think you are
trying to get the IP address of the printer in the PDE. Please find the
mail below.
Regards,
Abhijit

PS : Description of the function PMPrinterGetDeviceURI () available
in PMCore.h heqader file



-----Original Message-----
From: Abhijit Gupta [mailto:email@hidden]
Sent: Thursday, June 05, 2003 10:29 AM
To: email@hidden
Cc: email@hidden
Subject: Re:IP Address from PDE



Hi Sriram,
You can use the following calls

PMPrinter currentPrinter;
CFURLRef deviceURI;
// printSession is of type PMPrintSession passed to each callback
function like Initialize()
err = PMSessionGetCurrentPrinter (printSession,
&currentPrinter );
PMPrinterGetDeviceURI(currentPrinter,&deviceURI);

Hope this helps.

Regards,
Abhijit


**************************Disclaimer************************************

Information contained in this E-MAIL being proprietary to Wipro Limited is
'privileged' and 'confidential' and intended for use only by the individual
or entity to which it is addressed. You are notified that any use, copying
or dissemination of the information contained in the E-MAIL in any manner
whatsoever is strictly prohibited.

***************************************************************************
**************************************************************************
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.



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.