IOS airprint Function

Source: Internet
Author: User
Tags epson artisan 837 officejet hp laserjet p1102w

Required Conditions for iOS airprint:
Device
A. Mobile Devices
IPad (all models)
IPhone (3gs or later)
IPod Touch (version 3rd or later)
B. printing devices
A printer that supports airprint, And the printer should have the same WiFi network as IOS Mobile devices.
The following printer models support airprint:
HYPERLINK "javascript: void (0);" Brother
Brother DCP-J525N
Brother DCP-J525W
Brother DCP-J725DW
Brother DCP-J725N
Brother DCP-J925DW
Brother DCP-J925N
Brother MFC-J280W
Brother MFC-J425W
Brother MFC-J430W
Brother MFC-J432W
Brother MFC-J435W
Brother MFC-J5910DW
Brother MFC-J625DW
Brother MFC-J825DW
Brother MFC-J825N
Brother MFC-J835DW
Brother MFC-J955DN
Brother MFC-J955DWN
HYPERLINK "javascript: void (0);" Canon
Canon mg5310
Canon mg5320
Canon mg5330
Canon mg5340
Canon mg5350
Canon mg5370
Canon mg5380
Canon mg6210
Canon mg6220
Canon mg6230
Canon mg6240
Canon mg6250
Canon mg6270
Canon mg6280
Canon mg8220
Canon mg8230
Canon mg8240
Canon mg8250
Canon mg8270
Canon mg8280
HYPERLINK "javascript: void (0);" Epson
EPSON artisan 730
EPSON artisan 837
EPSON EP-804A
EPSON EP-804AR
EPSON EP-804AW
EPSON EP-904A
EPSON EP-904F
EPSON me office 940fw
EPSON PX-1600F
EPSON PX-1700F
EPSON PX-B700
EPSON PX-B750F
EPSON stylus nx430
EPSON stylus nx530
EPSON stylus nx635
EPSON stylus office bx535wd
EPSON stylus office bx630fw
EPSON stylus office bx635fwd
EPSON stylus office bx935fwd
EPSON stylus photo px730wd
EPSON stylus photo px830fwd
EPSON stylus sx0000w
EPSON stylus sx445w
EPSON stylus sx535wd
EPSON stylus tx435w
EPSON stylus photo tx730wd
EPSON workforce 545
EPSON workforce 645
EPSON workforce 845
EPSON WP-4011
EPSON WP-4015
EPSON WP-4020
EPSON WP-4025
EPSON WP-4511
EPSON WP-4515
EPSON WP-4521
EPSON WP-4525
EPSON WP-4530
EPSON WP-4531
EPSON WP-4535
EPSON WP-4540
EPSON WP-4545
HYPERLINK "javascript: void (0);" Hewlett Packard
HP Deskjet 3050a j611
HP Deskjet 3070a
HP envy 100 e-All-in-One d410
HP envy 110 e-All-in-One d411a
HP LaserJet p1102w printer
HP LaserJet p1606dn printer
HP LaserJet pro 100 Color MFP m175nw
HP LaserJet pro cm1415fn Color MFP
HP LaserJet pro cm1415fnw Color MFP
HP LaserJet pro cp1025nw color printer
HP LaserJet pro cp1525nw color printer
HP LaserJet pro m1212nf MFP
HP LaserJet pro m1213nf MFP
HP LaserJet pro m1214nf MFP
HP LaserJet pro m1216nf MFP
HP LaserJet pro m1217nfw MFP
HP LaserJet pro m1536dnf MFP
HP officejet 6500a e-All-in-One e710a
HP officejet 6500a plus e-All-in-One e710n
HP officejet 7500a wide format e-All-in-One e910a
HP officejet pro 8500a e-All-in-One a910a
HP officejet pro 8500a plus e-All-in-One a910g
HP officejet pro 8500a premium e-All-in-One a910g
HP officejet pro 8600a e-all-in-one printer n911a
HP officejet pro 8600a plus e-All-in-One n911g
HP officejet pro 8600a premium e-All-in-One n911g
HP photosmart 5510 e-AIO b111a
HP photosmart 5514 e-AIO b111h
HP photosmart 6510 e-AIO b211a
HP photosmart 7510 e-AIO c311a
HP photosmart e-All-in-One d110a
HP photosmart estation c510
HP photosmart plus e-All-in-One b210a
HP photosmart premium e-All-in-One c310
HP photosmart premium Fax E-All-in-One c410a
HP photosmart wireless e-All-in-One B110-Europe and Asia-Pacific
HP topshot LaserJet pro m275
HYPERLINK "javascript: void (0);" Lexmark
Lexmark c792
Lexmark c925
Lexmark c950
Lexmark officeedge pro4000
Lexmark officeedge pro4000c
Lexmark officeedge pro5500
Lexmark officeedge pro5500t
Lexmark pro715
Lexmark pro915
Lexmark x548
Lexmark x792
Lexmark x925
Lexmark x950
Lexmark x952
Lexmark x954

Note: If you need to use the airprint function for other printers, you can install the airprint cracking program. For detailed steps, refer:

Http://hi.baidu.com/engling/blog/item/785d874411fafd5c510ffee6.html

Or

Http://mobile.it168.com/a2010/1126/1131/000001131071_all.shtml

Write code.
In iOS, The uiprintinteractioncontroller class is used to implement the airprint function. The uiprintinteractioncontroller class provides four mutex attributes for printed content:
Printingitem: A printing object. You can set the instance object to nsurl, nsdata, uiimage, or alasset.
Printingitems: a set of print objects, the same as the instance objects.
Printformatter: A Layout format
Printpagerenderer: Customize the rendering of printed pages

The showspagerange attribute indicates whether the page range is displayed. If showspagerange is set to yes and the page is greater than 1, and the property is any attribute other than printingitems, the print option includes the page range option.

Please refer to the demo in my resources.

References:

Http://hi.baidu.com/engling/blog/item/785d874411fafd5c510ffee6.html

Http://mobile.it168.com/a2010/1126/1131/000001131071_all.shtml

Http://support.apple.com/kb/ht4356

Http://hi.baidu.com/amigoradio/blog/item/92249d4378c3280b9313c60d.html

Http://jingyan.baidu.com/article/1612d500156ac1e20e1eeed6.html

Http://www.cocoachina.com/iphonedev/sdk/2011/0513/2851.html

Http://www.yifeiyang.net/iphone-web-development-skills-of-the-article-4-make-sure-the-network-environment-3gwifi/

Https://developer.apple.com/library/ios/#documentation/2DDrawing/Conceptual/DrawingPrintingiOS/Printing/Printing.html

Http://stackoverflow.com/questions/992348/reading-html-content-from-a-uiwebview

Http://www.cocoabuilder.com/archive/cocoa/296745-playing-with-ios-uiprintinteractioncontroller-to-generate-pdf-output.html

Http://stackoverflow.com/questions/5817840/print-paper-size-and-content-inset

Http://stackoverflow.com/questions/1005521/iphone-nsdata-nsurl-with-cookie

Http://www.iphonedevsdk.com/forum/iphone-sdk-development/5608-uiwebview-how-get-content-shown.html

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.