Printer connection in iphone Programatically

Joined
Oct 1, 2012
Messages
27
Reaction score
0
Points
1
Hai,
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...



Thank you,
 
Joined
Jun 25, 2005
Messages
3,231
Reaction score
112
Points
63
Location
On the road
Your Mac's Specs
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 ****. 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.
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top