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



From: Sriram S <email@hidden>
To: email@hidden
Subject: IP Address from PDE
Date: Wed, 4 Jun 2003 19:07:08 +0530

Can I get the Printers IP address from my PDE ?

Printerinfo ticket had PrinterAddress but the value did not even resemble
like an IP address. From where can I get the Printer IP Address associated
with the queue ?

Regards,
Sriram



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