New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
iOS Development Discussion on developing apps for the iOS platform.

Printer connection in iphone Programatically


Post Reply New Thread Subscribe

 
Thread Tools
manga

 
Member Since: Oct 01, 2012
Posts: 27
manga is on a distinguished road

manga is offline
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,
QUOTE Thanks
Mark FX

 
Mark FX's Avatar
 
Member Since: Aug 13, 2011
Location: West Sussex, UK
Posts: 170
Mark FX has a spectacular aura about

Mark FX is offline
Not dealt with printing in an app yet myself, but there is Apple documentation on the subject.

https://developer.apple.com/library/...10156-CH12-SW1

Regards Mark
QUOTE Thanks
xstep

 
xstep's Avatar
 
Member Since: Jun 25, 2005
Location: On the road
Posts: 3,231
xstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to all
Mac Specs: 2011 MBP, i7, 16GB RAM, MBP 2.16Ghz Core Duo, 2GB ram, Dual 867Mhz MDD, 1.75GB ram, ATI 9800 Pro vid

xstep is offline
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.
QUOTE Thanks

Post Reply New Thread Subscribe


« westfield apps | Sqlite Runs fine on Simulate but not on Ipad »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Console message "network configuration changed" LPPU Switcher Hangout 1 10-04-2010 11:19 PM

All times are GMT -4. The time now is 07:49 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?