or Connect
AppleInsider › Forums › Mobile › iPad › Inside AirPrint: Apple's printing system for iOS
New Posts  All Forums:Forum Nav:

Inside AirPrint: Apple's printing system for iOS

post #1 of 55
Thread Starter 
Portions of Apple's new AirPrint architecture for printing in iOS are rumored to have run into snags, but the company appears set to release it anyway in a form limited initially to a short list of HP printers featuring ePrint. Here's how the new system works and what it does.

HP's ePrint

Unlike their Mac OS X parent, iOS devices prior to version 4.2 currently lack a printing architecture. Most other smartphone and mobile devices also lack a dedicated printing system, unless they attempt to run a full sized OS like Windows 7 or a desktop PC distribution of Linux. To solve this issue (and sell more printers), HP developed a mobile printing system for mobile devices called ePrint, which it unveiled this summer.

The concept behind ePrint is simple: rather than requiring mobile devices to include a printing subsystem and load the megabytes of device-specific drivers required by conventional desktop printers, mobile devices can just email their documents to an ePrint printer queue, which then prints the document on behalf of the device.

HP sells a few new printers with an ePrint queue built in. Essentially, the printer assigns itself a random email address (which can be optionally configured to only accept print jobs from specific users, to avoid print spam from other sources). When it receives an email with a standard document attachment (such as a graphic, Word document, or PDF), the ePrint-enabled printer automatically prints it out. It can also reply with a status email to notify the user that the job printed properly, or if there was an error.

HP's enterprise ePrint for BES

HP also worked with RIM to develop enterprise ePrint support for BlackBerry devices. Given that RIM's corporate business users typically use their devices in conjunction with a BlackBerry Enterprise Server, it's no surprise that the two created a "cloud based" system that enables BlackBerry devices to send ePrint jobs to local printers via a network print queue.

HP's ePrint Enterprise system uses the same email-based delivery system to get print jobs from a mobile device to the printer. However, because the ePrint queue is running on a network server, it can work with any printer that supports HP's PCL (Printer Command Language), a generic printer protocol comparable to PostScript, developed by HP, and supported by a variety of printer makers.

Users still need to discover the available printers on their own, although HP's print app for BlackBerry is designed to look up publicly available printers in the immediate vicinity via GPS. A company may set up a series of printers configured to accept jobs from a network queue that itself accepts email-based ePrint jobs, or a hotel might set up an email address for its guests to send print jobs to, and so on. However, this solution requires a dedicated network server designed to accept ePrint jobs, and/or specially designed ePrint-ready printers. It also requires active Internet access, due to being email-based.

Apple's AirPrint for iOS

Apple didn't have to do anything to support HP's ePrint system; HP itself planned to deliver an iOS app that would deliver files to ePrint email addresses, but iOS users can already attach files to emails and send them to ePrint devices manually.

Rather than only supporting an email bridge to print however, Apple developed AirPrint as a way for apps to send print jobs centrally through Apple's new Print Center app, which manages job delivery to any available printers. Users don't have to mess around with emailing their documents to a special printer address, or using a third party app to manually set up a print job. Apple created APIs in iOS 4.2 to enable developers to add AirPrint features to their apps.

AirPrint can send jobs to HP's ePrint devices, and apparently to server queues designed to support ePrint Enterprise printing (both of which only require sending an attached file to a print server). It can also discover (via Bonjour) and send (via WiFi) print jobs directly to local printers supporting ePrint.

AirPrint via Printer Sharing

AirPrint was also intended to send print jobs from iOS devices to printer shares on a Mac or Windows PC. This prevents the need to have a specially designed ePrint printer, as the printer itself is no longer handling the print job. This is closer in practice to HP's ePrint Enterprise system, where the shared printer on the remote PC is handling the job as a network print queue. Printer Sharing in Mac OS X Snow Leopard 10.6.5 was supposed to introduce this feature to support printing from iOS devices to any printer set up on a Mac on the local network.

With a networked Mac or PC supplying the printer drivers and doing the heavy lifting, iOS is free to simply send out a print job that any shared printer queue can render in a format specific to the printer it is configured for, including PostScript, PCL, or a dedicated proprietary format of some kind. AirPrint is designed to work with essentially any printer a user has.

On its website, HP clarifies, "Apple's AirPrint allows iPhone, iPad and iPod touch customers to print wirelessly to a local printer on their wireless network through an embedded OS print function. HP ePrint allows for printing from anywhere in the world from any mobile device to an HP ePrint enabled printer using the HP cloud - that means the customer can attach a file or document to an email and send it to the printer's individual email address. Both solutions remove the need for drivers or software downloads."

AirPrint therefore does not appear to require a printer email address or Internet access to work. Users simply discover available ePrint printers locally, then send print jobs to them directly via WiFi. Without ePrint support on the printer itself, users would need to print through a Mac or PC hosting a shared print queue.

Reports of AirPrint legal dispute

A rumored controversy, however, maintains that Apple's soon to be released AirPrint has run into a patent issue, reportedly from App Store developer. This is purportedly why Apple was said to be pulling support for printing through shared printers on Macs or PCs from the public iOS 4.2 release, after including functional support for this in the GM build released to developers.

HP does hold a patent for "Computing device and methods for mobile-printing," but has not publicly asserted any claim to block Apple from allowing AirPrint to work with printers beyond its own, brand new ePrint-certified models.

Apple has however removed references to printing through shared desktop printer queues from its website, only saying that AirPrint will allow users to "print mail, photos, web pages, and more directly to a printer on a wireless network." That wording makes it sound like AirPrint has been scaled back to simply an integrated implementation of ePrint in iOS.

AirPrint legal dispute news to AirPrint developers

AppleInsider interviewed Ian Schenkel, the chief executive of EuroSmartz Ltd., a firm that sells a number of print-related applications on the App Store, including PrintCentral, Print n Share, CalPrint and PrintBureau. On Wednesday afternoon, PrintCentral was twelfth most popular paid application in the "Business" category on the iPhone, and ranked fourth among iPad apps.

Schenkel told AppleInsider that his company is not suing or threatening to sue Apple. "There's no litigation pending from our company, nor is there any intention of any pending litigation," he said. Schenkel said his company works closely with Apple and has a great relationship with them.

Schenkel added that the launch of AirPrint is not a threat to his applications, which allow users of iOS devices to send documents to WiFi-enabled printers. In fact, EuroSmartz has already added the AirPrint protocol into its software, and those applications are awaiting Apple's approval for release on the App Store. In addition to printing direct to most WiFi printers, the company's software also allows printing over 3G.

"AirPrint is very much another extension of what we are already doing and complements what we offer today," Schenkel said, noting that today was the first he had heard of any potential delay of shared printer functionality in AirPrint. Schenkel and his employees have been tracking the story online, but said they do not know about any legal situation surrounding AirPrint are unaware of any potential litigation.

AirPrint currently appears limited to ePrint, Windows 7

Today's public release of Mac OS X 10.6.5 does not appear to include support for AirPrint through Printer Sharing, meaning that while iOS devices will likely get AirPrint support in the upcoming iOS 4.2 update, they still won't be able to print to shared printer queues set up on a Mac, which would appear to limit AirPrint to late-modeled printers specifically supporting HP's ePrint feature.

After installing the public release of Mac OS X 10.6.5, AppleInsider could not get either an iPad or iPhone 4 running the GM developer build of iOS 4.2 to recognize a shared printer on the network. However, users with Windows 7 have reported being able to set up a printer share that is visible and usable by iPads running the GM developer build of iOS 4.2.

Apple may deliver an update that enables AirPrint-compatible Printer Sharing in Snow Leopard if the issue is simply a last minute technical issue and not being blocked by patent disputes. The company has pulled advertised features from Mac OS X in the past without explanation, only to add them back at a later time. One example of this was wireless Time Machine backups to Time Capsule. At the same time, Apple has also abandoned advertised efforts over patent issues after investing significant resources, such as it recently did with ZFS support.

post #2 of 55
That was what I was afraid of...HP printers only. Uggh! I have a Brother wireless that I very happy with. Dratts!

Best
post #3 of 55
Apple is d00med! LOL I think it will be in the GM pubic release of 4.2. Just last minute snags. Bonjour printing on Mac is an absolute godsend. I can't imagine them releasing 4.2 without this much vaunted feature.
post #4 of 55
Don't panic, this feature will work eventually. Jobs probably decided it didn't work well enough, and didn't want to listen to you guys griping about it.
post #5 of 55
As Apple is a perfectionist-I think it's better they wait and get it right the first time rather than release it on time just for the sake of being on time. IMHO Apple wants it to be a perfect '10' when its released to the public Patent violation notwithstanding of course-that's a whole other ball game.
post #6 of 55
Quote:
Originally Posted by nvidia2008 View Post

I can't imagine them releasing 4.2 without this much vaunted feature.

Imagine it. Unless you got one those ePrint enabled thingies.....it ain't working.
post #7 of 55
Love 'em or hate them. That's Apple.
Citing unnamed sources with limited but direct knowledge of the rumoured device - Comedy Insider (Feb 2014)
Reply
Citing unnamed sources with limited but direct knowledge of the rumoured device - Comedy Insider (Feb 2014)
Reply
post #8 of 55
My printer doesn't support ePrint yet AirPrint still works fine with it...
post #9 of 55
Quote:
Originally Posted by Postulant View Post

My printer doesn't support ePrint yet AirPrint still works fine with it...

Your not the only one reporting this. I don't want to be specific because of NDA's, but many developers are getting it to work, yet some are not. Not sure what is going on here.
post #10 of 55
Quote:
Originally Posted by Postulant View Post

My printer doesn't support ePrint yet AirPrint still works fine with it...

What printer is that?

I have a new Canon MG5220 which you can print to using Canon's App. I haven't tried AirPrint yet.
post #11 of 55
Quote:
Originally Posted by Stashman View Post

What printer is that?

I have a new Canon MG5220 which you can print to using Canon's App. I haven't tried AirPrint yet.

An older HP Photosmart 7200 series... I think it was released in 2008.
post #12 of 55
Quote:
Originally Posted by Postulant View Post

An older HP Photosmart 7200 series... I think it was released in 2008.

I have that printer also. I'll be interested to see if it works.
post #13 of 55
Quote:
Originally Posted by Postulant View Post

An older HP Photosmart 7200 series... I think it was released in 2008.

I was wondering if you have these file and that is why it works on yours. I have heard these have been taken out of the new build.

/usr/libexec/cups/filter/urftopdf
/usr/share/cups/mime/apple.convs
/usr/share/cups/mime/apple.types
post #14 of 55
My understanding is that if you ever had one of the dev builds of 10.6.5 installed it will keep working.

I never had a dev 10.6.5, but have 4.2 and it doesn't work with my HP 2840.
post #15 of 55
ePrint sounds ridiculous. I had no idea it was supposed to work that way. So now to print wirelessly from a mobile device to a printer on the same local network, you need Internet access or a mail server?
post #16 of 55
Luckily I have the delta build...

If it's one thing I hate, it is being promised something and then have that something not be delivered. Apple demoed this feature months ago - plenty of time to get their sh*t together.

I'm seriously considering uploading the developer build and sharing it with the planet.
post #17 of 55
Quote:
Originally Posted by Postulant View Post

Luckily I have the delta build...

If it's one thing I hate, it is being promised something and then have that something not be delivered. Apple demoed this feature months ago - plenty of time to get their sh*t together.

I'm seriously considering uploading the developer build and sharing it with the planet.

Well it's already on the torrents ... So no worry there. But I agree ... Whatever the issue .... I hope they work it out quick. I really haven't had the need ... But my wife whines about not being able to print from her ipad. If apple keeps hush hush about this a couple of weeks ... I'll just go get it.
post #18 of 55
Except that it IS still on Apple's website:
http://www.apple.com/pr/library/2010/09/15airprint.html

Note: "Available First on HP ePrint Printers"

Which is consistent with what we are seeing!
post #19 of 55
Someone needs to do a diff on the previous 10.6.5 developer build and the final to find the printing files that have changed or been removed!
post #20 of 55

HERE'S THE AIRPRINT FIX


All the credit goes to @stroughtonsmith for the hard work in identifying the suspect files Apple pulled due to a patent troll.

Twitter: ChuckG_

Enjoy the AirPrinting!
post #21 of 55
The file listed above includes:
Instructions-Read-Me.txt \tmime\turftopdf

mime is a folder with these files contained:
apple.convs
apple.types

ReadMe says:
"Which files go where?

/usr/libexec/cups/filter/urftopdf
/usr/share/cups/mime/apple.convs
/usr/share/cups/mime/apple.types

-The last 2 files will need to replace the existing ones.
-Reboot
-Delete your printer from Print and Fax settings from System Preferences.
-Add your printer again from Print and Fax settings panel.
-Enjoy!"

Looks like it is NOT just a configuration change needed here:
http://localhost:631/admin

;-) Thanks I am NOW able to AirPrint with my HP Photosmart C309a! Worked like a charm -- rock on!
post #22 of 55
email? really? with all the protocols they could have used, the printer gets an email address? pretty pathetic, engineers.

I'm waiting for the gimp version.
post #23 of 55
Quote:
Originally Posted by robogobo View Post

email? really? with all the protocols they could have used, the printer gets an email address? pretty pathetic, engineers.

I'm waiting for the gimp version.

That's why Bonjour printing has been working excellent on Mac for years. ePrint sounds retarded.
post #24 of 55
This is obsolete when google releases its web printing technology. Print from any device to any printer in the world without drivers. I wonder if apple will accept that technology considering it is ten times better than theirs, or whether they will ignore it.
post #25 of 55
Quote:
Originally Posted by tjw View Post

This is obsolete when google releases its web printing technology. Print from any device to any printer in the world without drivers. I wonder if apple will accept that technology considering it is ten times better than theirs, or whether they will ignore it.

Sounds like good Flash performance on Android... "Coming soon" ... When? Who knows.
post #26 of 55
Quote:
Originally Posted by robogobo View Post

email? really? with all the protocols they could have used, the printer gets an email address? pretty pathetic, engineers.

I'm waiting for the gimp version.

Article says:
Rather than only supporting an email bridge to print however, Apple developed AirPrint as a way for apps to send print jobs centrally through Apple's new Print Center app, which manages job delivery to any available printers. Users don't have to mess around with emailing their documents to a special printer address, or using a third party app to manually set up a print job. Apple created APIs in iOS 4.2 to enable developers to add AirPrint features to their apps.

[AirPrint] can also discover (via Bonjour) and send (via WiFi) print jobs directly to local printers supporting ePrint.

So it sounds to me that you have nothing to complain about. The print job will go directly to the printer without you having to email anything.
post #27 of 55
Quote:
Originally Posted by Narcogen View Post

ePrint sounds ridiculous. I had no idea it was supposed to work that way. So now to print wirelessly from a mobile device to a printer on the same local network, you need Internet access or a mail server?

How the hell are you supposed to print wirelessly without internet access? More importantly, why would that matter? Are you telling me you're going to use an iPad and a WiFi printer in the same building, that does not internet access or wifi?

Some people just make up fantasy scenarios.
post #28 of 55
Quote:
Originally Posted by tjw View Post

This is obsolete when google releases its web printing technology. Print from any device to any printer in the world without drivers. I wonder if apple will accept that technology considering it is ten times better than theirs, or whether they will ignore it.

Gee who knows. Maybe when its out, and it works, (and is, you know...not a permanent beta), we'll see then.
post #29 of 55
Quote:
Originally Posted by ChuckD View Post


HERE'S THE AIRPRINT FIX


All the credit goes to @stroughtonsmith for the hard work in identifying the suspect files Apple pulled due to a patent troll.

Twitter: ChuckG_

Enjoy the AirPrinting!

Doesn't work for me.
post #30 of 55
Ah! Nothing quite like the screams of Apple's Airprint employees being beaten to a bloody pulp!

I have not had a lot of need (OK zero need) for printing, but I have to wonder why Apple cannot make this thing communicate with printers that already have wifi printing, or are networkable.

This should give plenty of ammo for the anti-Apple crowd.
post #31 of 55
ePrint and AirPrint don't make printing sound any less messy than it always has been.

Plus using some server based email address solution sounds like a very unsecure way to get your things printed. Is this a preface for more cloud based services from the printer manufacturers? It sure sounds like it creates a dependency on them well after you bought your printer despite both your computer and your new printer already having a network connection in place.
post #32 of 55
Quote:
Originally Posted by pcworth@charter.net View Post

Ah! Nothing quite like the screams of Apple's Airprint employees being beaten to a bloody pulp!

I have not had a lot of need (OK zero need) for printing, but I have to wonder why Apple cannot make this thing communicate with printers that already have wifi printing, or are networkable.

This should give plenty of ammo for the anti-Apple crowd.

Apple is going to get skewered on this. Unless, iTunes 10.1 is what enables AirPrint -- last hope.
post #33 of 55
Not surprisingly I haven't been able to get AirPrint working, but I wonder if they will have an option of a print preview. Modern web pages use a lot of Javascript/Ajax to render pages and they aren't going to print anything like what they look like on screen. It would be nice to see if the print job was going to be a waste of time beforehand.

Life is too short to drink bad coffee.

Reply

Life is too short to drink bad coffee.

Reply
post #34 of 55
Looking closer at urftopdf is a clue...

$ file /usr/libexec/cups/filter/urftopdf
/usr/libexec/cups/filter/urftopdf: Mach-O universal binary with 3 architectures
/usr/libexec/cups/filter/urftopdf (for architecture x86_64)tMach-O 64-bit executable x86_64
/usr/libexec/cups/filter/urftopdf (for architecture i386)tMach-O executable i386
/usr/libexec/cups/filter/urftopdf (for architecture ppc7400)tMach-O executable ppc

There is a PPC build! Now why would we need that? Oh yeah, Leopard! Tons of people on G4 and G5 systems still use it. Now, why roll Airprint into a Snow Leopard update when there's not going to be one for Leopard, rather, it'd be easier to update Airprint it as a separate package/product to support Leopard...

That's a possibility that doesn't involve the sky falling
post #35 of 55
Quote:
Originally Posted by joelbruner View Post

Looking closer at urftopdf is a clue...

$ file /usr/libexec/cups/filter/urftopdf
/usr/libexec/cups/filter/urftopdf: Mach-O universal binary with 3 architectures
/usr/libexec/cups/filter/urftopdf (for architecture x86_64)tMach-O 64-bit executable x86_64
/usr/libexec/cups/filter/urftopdf (for architecture i386)tMach-O executable i386
/usr/libexec/cups/filter/urftopdf (for architecture ppc7400)tMach-O executable ppc

There is a PPC build! Now why would we need that? Oh yeah, Leopard! Tons of people on G4 and G5 systems still use it. Now, why roll Airprint into a Snow Leopard update when there's not going to be one for Leopard, rather, it'd be easier to update Airprint it as a separate package/product to support Leopard...

That's a possibility that doesn't involve the sky falling

I think this is going to be problematic. My tests with Ghostscript on Linux have proven that it is really difficult to get accurate results when converting web pages to pdf due to differences in fonts, transparent alpha channel pngs, ajax etc. The days of printing of urls may have past.

Life is too short to drink bad coffee.

Reply

Life is too short to drink bad coffee.

Reply
post #36 of 55
[QUOTE=ChuckD;1750181]
HERE'S THE AIRPRINT FIX


Worked perfectly for me. I started with a successful update to 10.6.5, then applied the file patches outlined in the AIRPRINT fix, then updated my IP4 to the 4.2GM. Don't forget to check the "share" setting on the printer after deleting and adding it back in on your mac.

I am printing to a HP C4380 all-in-one, WiFi G networked (ie wireless not cabled) printer. This is most definitely NOT one of the newer e-print capable models. I have printed numerous web pages, emails, and pictures from my IP4 with no issues whatsoever.

david
post #37 of 55
You probably want to check the UNIX permissions on the files you copied in comparison to others there, and try Repair Permissions in Disk Utility...

Quote:
Originally Posted by pmz View Post

Doesn't work for me.
post #38 of 55
Quote:
Originally Posted by pmz View Post

Doesn't work for me.


The ChuckD fix did not work for me either
post #39 of 55
Quote:
Originally Posted by ChuckD View Post


HERE'S THE AIRPRINT FIX


All the credit goes to @stroughtonsmith for the hard work in identifying the suspect files Apple pulled due to a patent troll.

Twitter: ChuckG_

Enjoy the AirPrinting!


mmm, did not work for me and permissions looked ok. any other ideas?
post #40 of 55
I'm an idiot, I guess. I downloaded the files in question but I can't figure out how to find these paths in order to place the files.

/usr/libexec/cups/filter/urftopdf
/usr/share/cups/mime/apple.convs
/usr/share/cups/mime/apple.types

I double click my HD and see Applications, Library, System, Users, etc. I'm not sure where to start digging to find the /usr directory.

Thanks for any help
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: iPad
AppleInsider › Forums › Mobile › iPad › Inside AirPrint: Apple's printing system for iOS