Hi,

as a first step into support for printing from mobile devices I have made Apple's AirPrint working on Natty and Oneiric. AirPrint is the method how Apple's iPhone, iPad, and iPod Touch print via IPP. I want to ask all of you to test this feature.


What do you need?
-----------------

1. An iPhone, iPad, or iPod Touch with iOS 4.2 or newer. Update your device via iTunes if needed. If no update gets offered to you, update iTunes first, if after that you do not get an update offered, your device is too old.

2. A computer running Ubuntu Natty or Oneiric. Please update your computer to the newest state of the art with the update-manager.

3. A print queue on your computer. If you do not have a printer, create a pseudo printer with the following commands in a terminal:

cupsctl FileDevice=yes
lpadmin -p test -E -v file:/tmp/test.ps -m drv:///sample.drv/generic.ppd -o PageSize=A4

When printing on this printer, you get a PostScript file /tmp/test.ps. Make it world-readable and display it with evince.

4. WLAN. Switch the internet access of your mobile device to WLAN. Your computer must be in the same LAN (on the same router), but it does not matter whether it is connected via ethernet cable or WLAN.


How do you test?
----------------

1. On your computer start system-config-printer via System -> Administration -> Printing (GNOME Classic) or via Turn-off-button at the upper right -> System Settings -> Hardware -> Printing (Unity Natty) or via the command line (all systems including Unity Oneiric).

2. In system-config-printer choose Server -> Settings and activate "Published shared printers connected to this system". Click OK and then right-click on the icon of your print queue and choose Properties in the pop-up menu. In the Policies section of the dialog make sure that "Shared" is activated.

3. Make sure your mobile device is accessing your local network using WLAN and then open an application with printing functionality on it (like for example the browser or the photo viewer). Print something. The print dialog should show your print queue and allow some basic settings. Note that the Description/Info field and not the name of the queue is shown.

4. Check whether you get a correct printout.


Links:
------

http://www.finnie.org/2010/11/13/airprint-and-linux/
  This is the HOWTO on which my patches are based. On Natty and Oneiric
  you DO NOT need to create the Avahi service definition file described
  here.

https://bugs.launchpad.net/ubuntu/+source/cups/+bug/711779
  The bug report which initiated my work on that problem.


Have a lot of fun with your first experience on mobile printing.

   Till

--
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss

Reply via email to