01-30-2013, 02:38 AM #1
Printer connection in iphone Programatically
- Member Since
- Oct 01, 2012
Can you please tell ,is it possible to connect printer in iPhone programatically?
if it is connect,how can we develop?
it is very urgent...Please Help me...
01-30-2013, 02:17 PM #2
03-30-2013, 06:39 PM #3
- Member Since
- Jun 25, 2005
- On the road
- 2011 MBP, i7, 16GB RAM, MBP 2.16Ghz Core Duo, 2GB ram, Dual 867Mhz MDD, 1.75GB ram, ATI 9800 Pro vid
As suggested, the recommended method is to use Airprint with an Airprint printer.
Airprint and and I'll mention below both require a WiFi connection from the iOS device and a printer connected to the same network.
You can write your own printing system but it is hell. First the best thing to do is to monitor for printers by using Bonjour. Then present the user with your list of found printers to the user and make an NSStream connection to the chosen printer to send the printing description file.
To convert to the printer language from input, Ghostscript can help in some cases. This is the trickiest issue. If your printer handles Postscript or the HP PCL languages, you maybe able to use GS.
Another issue is printing in the background when the user switches apps. There maybe something you can do here, but you app wouldn't have the same background privilege as Apples Airprint.CameraTime - Time lapse photography for novice and advanced users.
When asking questions, post the version of your software. You'll receive better answers.
Please post your results to the thread as it is good feedback.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
By cheshirebrian in forum Other Hardware and PeripheralsReplies: 3Last Post: 02-22-2015, 01:38 PM
By faisaliqbal in forum OS X - Development and DarwinReplies: 1Last Post: 05-13-2014, 09:40 AM
By arastogi7 in forum OS X - Operating SystemReplies: 0Last Post: 09-06-2012, 07:28 AM
By osterman57 in forum Apple DesktopsReplies: 2Last Post: 09-04-2012, 09:28 PM
By skiran in forum OS X - Development and DarwinReplies: 0Last Post: 07-05-2003, 08:31 AM