Mailing Lists: Apple Mailing Lists

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

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.

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