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 - Page 2

post #41 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!


Thanks! Works like a charm.

Life is too short to drink bad coffee.

Reply

Life is too short to drink bad coffee.

Reply
post #42 of 55
Quote:
Originally Posted by JuanGrande View Post

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

Apple hides stuff from normal users... In Finder you can get there with the menu item Go -> Go To Folder. Just enter "/usr" without the quotes in the box that comes up.
post #43 of 55
Quote:
Originally Posted by JuanGrande View Post

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


You are not an idiot, you just don't know UNIX. I don't either, but I just spent an hour learning what we do need to know, and now I have AIRPRINT and it is fabulous! Here are the commands to type from the Terminal application. (make sure the three files are in the "Downloads" directory (no other folders) and in place of "HOMEFOLDER", type your home folder name.

cd /usr/share/cups/mime/

sudo rm apple.convs
sudo rm apple.types

(make sure all three of the new files are in the downloads folder)

sudo cp /Users/HOMEFOLDER/Downloads/urftopdf*/usr/libexec/cups/filter/urftopdf

sudo cp /Users/HOMEFOLDER/Downloads/apple.convs*/usr/share/cups/mime/apple.convs

sudo cp /Users/HOMEFOLDER/Downloads/apple.types*/usr/share/cups/mime/apple.types

enjoy
post #44 of 55
I have a Home Network with (2) iMac's and (1) Mac Mini. All three computers are now updated to 10.6.5

My sole printer, shared on my network is a Canon i960, physically tethered to the Mini.

Of course, my iMacs can print to that printer connected to the Mini.

So,
1) Do i change the files on my Mac Mini only, since it is the machine with the printer?
2) Do I change these files on all three computers?
3) Or does it not matter at all, as long as any one Mac, has these files replaced?

Thanks
post #45 of 55
Quote:
Originally Posted by nyctree View Post

You are not an idiot, you just don't know UNIX. I don't either, but I just spent an hour learning what we do need to know, and now I have AIRPRINT and it is fabulous! Here are the commands to type from the Terminal application. (make sure the three files are in the "Downloads" directory (no other folders) and in place of "HOMEFOLDER", type your home folder name.

cd /usr/share/cups/mime/

sudo rm apple.convs
sudo rm apple.types

(make sure all three of the new files are in the downloads folder)

sudo cp /Users/HOMEFOLDER/Downloads/urftopdf*/usr/libexec/cups/filter/urftopdf

sudo cp /Users/HOMEFOLDER/Downloads/apple.convs*/usr/share/cups/mime/apple.convs

sudo cp /Users/HOMEFOLDER/Downloads/apple.types*/usr/share/cups/mime/apple.types

enjoy



OK, a few additions/clarifications/corrections to this post. When you extract the files extract them all out of the zip into the downloads folder. Using it as it extracts itself creates a subfolder called mimes. That's not what you want for the commands listed above. So in downloads you should have all three of the files:
urftopdf
apple.convs
apple.types

I found I was having permissions issues, so I logged in as root user. sudo should work but it didn't. heres the link for root user from apple: http://support.apple.com/kb/ht1528

now, open terminal under applications > utilities

su root
(it will ask for password)

now your at the command prompt

cd /usr/share/cups/mime/
(space between cd and /usr)

rm apple.convs
rm apple.types

cp /Users/HOMEFOLDER/Downloads/apple.convs /usr/share/cups/mime/apple.convs
(space between convs and /usr)

cp /Users/HOMEFOLDER/Downloads/apple.types /usr/share/cups/mime/apple.types
(space between types and /usr)

ls - l This will show you the file that you copied there exists...the easiest way it to look for today's date

cp /Users/HOMEFOLDER/Downloads/urftopdf /usr/libexec/cups/filter/urftopdf
(space between urftopdf and /usr)

cd /usr/libexec/cups/filter

ls -l This will show you the file that you copied there exists...the easiest way it to look for today's date

That should help a few folks. Works perfect, that's to the previous poster for the structure, and to chuck for the files
post #46 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!


Hmm yeah thank you some more for them hmmm the stuff .. cough cough... you know hmm .. thank You
post #47 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.

You'd trust Google to index every print job you send to a printer?

  Google Maps: ("Directions may be inaccurate, incomplete, dangerous, or prohibited.")

 

  MA497LL/A FB463LL/A MC572LL/A FC060LL/A MD481LL/A MD388LL/A ME344LL/A

Reply

  Google Maps: ("Directions may be inaccurate, incomplete, dangerous, or prohibited.")

 

  MA497LL/A FB463LL/A MC572LL/A FC060LL/A MD481LL/A MD388LL/A ME344LL/A

Reply
post #48 of 55
Quote:
Originally Posted by JuanGrande View Post

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

To enable the Finder to view hidden files; run the two commands below in a terminal:

defaults write com.apple.finder AppleShowAllFiles TRUE

killall Finder

Now the Finder will show you all the hidden files and directories. To change anything in these folders you will need to confirm the change with your username and password.
post #49 of 55
i followed all the instructions so as to make AirPrint work.

everything went smoothly UNTIL i had to print. my iPhone now sees the printer (which before it didn't) but nothing is ever printed when i try to. to make it more complicated, the same thing now happens when i try to print from my iMac. it says "waiting for printer to become available" (which it is). if I revert everything to the original settings my printer works again. I've tried twice and same result

I have an OKI DATA C3600 Color printer. On an iMac OS X 10.6.5... anyone has a suggestion?

thx!
post #50 of 55
Quote:
Originally Posted by mstone View Post

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.

It's URF, not URL.

URF appears to be a proprietary raster image format that is output from the iOS device, picked up by the Mac with a shared printer, and converted to PDF. Then the PDF is sent through CUPS to the appropriate shared printer.

A partial clean-room reverse-engineering effort of URF is documented here.
post #51 of 55
Quote:
Originally Posted by cabouchard View Post

OK, a few additions/clarifications/corrections to this post. When you extract the files extract them all out of the zip into the downloads folder. Using it as it extracts itself creates a subfolder called mimes. That's not what you want for the commands listed above. So in downloads you should have all three of the files:
urftopdf
apple.convs
apple.types

I found I was having permissions issues, so I logged in as root user. sudo should work but it didn't. heres the link for root user from apple: http://support.apple.com/kb/ht1528

now, open terminal under applications > utilities

su root
(it will ask for password)

now your at the command prompt

cd /usr/share/cups/mime/
(space between cd and /usr)

rm apple.convs
rm apple.types

cp /Users/HOMEFOLDER/Downloads/apple.convs /usr/share/cups/mime/apple.convs
(space between convs and /usr)

cp /Users/HOMEFOLDER/Downloads/apple.types /usr/share/cups/mime/apple.types
(space between types and /usr)

ls - l This will show you the file that you copied there exists...the easiest way it to look for today's date

cp /Users/HOMEFOLDER/Downloads/urftopdf /usr/libexec/cups/filter/urftopdf
(space between urftopdf and /usr)

cd /usr/libexec/cups/filter

ls -l This will show you the file that you copied there exists...the easiest way it to look for today's date

That should help a few folks. Works perfect, that's to the previous poster for the structure, and to chuck for the files

thanks it works great on my imac with epson usb printer
post #52 of 55
I can't get this to work. I moved the files manually, per the readme file and rebooted and deleted my printer from my settings then re-added it. When that didn't work I downloaded the files again and tried to move them through the console. iPhone still doesn't see the printer.

Does this fix require that the printer be connected directly to the Mac?

Edit: Nevermind, I tried it again using the root user and all is well. Neat!
post #53 of 55
Ok well I got this to work form my iphone however whenever I try to print from my mac its just the first page no matter what I do. Would anyone happen to have the original apple.convs and apple.types files?
post #54 of 55
Print functionality is already showing up in third party apps.

I can confirm ColorSplash... any others?
post #55 of 55
Quote:
Originally Posted by cabouchard View Post

OK, a few additions/clarifications/corrections to this post. When you extract the files extract them all out of the zip into the downloads folder. Using it as it extracts itself creates a subfolder called mimes. That's not what you want for the commands listed above. So in downloads you should have all three of the files:
urftopdf
apple.convs
apple.types

I found I was having permissions issues, so I logged in as root user. sudo should work but it didn't. heres the link for root user from apple: http://support.apple.com/kb/ht1528

now, open terminal under applications > utilities

su root
(it will ask for password)

now your at the command prompt

cd /usr/share/cups/mime/
(space between cd and /usr)

rm apple.convs
rm apple.types

cp /Users/HOMEFOLDER/Downloads/apple.convs /usr/share/cups/mime/apple.convs
(space between convs and /usr)

cp /Users/HOMEFOLDER/Downloads/apple.types /usr/share/cups/mime/apple.types
(space between types and /usr)

ls - l This will show you the file that you copied there exists...the easiest way it to look for today's date

cp /Users/HOMEFOLDER/Downloads/urftopdf /usr/libexec/cups/filter/urftopdf
(space between urftopdf and /usr)

cd /usr/libexec/cups/filter

ls -l This will show you the file that you copied there exists...the easiest way it to look for today's date

That should help a few folks. Works perfect, that's to the previous poster for the structure, and to chuck for the files


I got through all the steps, but now I am having no luck even with regular printing. Can someone help me get back to square one? I am assuming somehow I managed to delete the apple.convs and apple.types files but didn't properly install the replacement files. 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