Skip to content

Borderless pictures from Gimp (HP Photosmart Premium C309a full-bleed printing on Linux/CUPS)

I've recently acquired an HP Photosmart Premium C309a all-in-one device (CC335B). I planned to use the device mainly for its scanner with duplex-capable automatic document feeder (ADF), in order to archive our mail electronically (more on that later). But I was also happy to get a device which can replace man different ones: it is also a fax, and a nice printer for documents, pictures and even (special) CD/DVDs.

I already have a Canon Selphy CP740 dye sublimation photo printer, which I like very much but has two limitations: 1. it's limited to 10x15 format (4x6 in), and 2. it seems that it's impossible to get the printer to work correctly when attached to a PC as a usb printer. It works nicely in stand-alone mode (ie printing from a digital camera with PictBridge or directly from a CF card), but so far I've only managed to waste paper and ink when trying to print directly from the computer. (I've even installed a fresh Windows XP to try the software from Canon, it didn't work any better.) So the good quality of the HP as a photo printer was one more argument in its favour.

Here is how I was able to print borderless photos directly from The Gimp:

1. If you want no border at all, the image should obviously have the same aspect ratio as the paper you'll print on. If necessary, use "Image" -> "Canvas size" or the Crop tool to adjust it.

2. "File" -> "Page setup": select the correct printer and paper size

3. "File" -> "Print":

- in "Page setup", select "Photo Tray" as paper source
- in "Image Settings", check the box "Ignore Page Margins", then adjust Width/Height so that the picture fills the paper (if it doesn't, get back to step 1)
- in "Advanced", select "Photo" as Printout mode, and "1200 dpi, Photo, Full Bleed" under "Resolution, Quality, Ink Type, Media Type" ("Controlled by 'Printout Mode'" seems to do as well)

4. Click "Print"
  • Twitter
  • Bookmark Borderless pictures from Gimp (HP Photosmart Premium C309a full-bleed printing on Linux/CUPS) at del.icio.us
  • Facebook
  • Google Bookmarks
  • FriendFeed
  • Digg Borderless pictures from Gimp (HP Photosmart Premium C309a full-bleed printing on Linux/CUPS)
  • Mixx Borderless pictures from Gimp (HP Photosmart Premium C309a full-bleed printing on Linux/CUPS)
  • Bloglines Borderless pictures from Gimp (HP Photosmart Premium C309a full-bleed printing on Linux/CUPS)
  • Technorati Borderless pictures from Gimp (HP Photosmart Premium C309a full-bleed printing on Linux/CUPS)
  • Fark this: Borderless pictures from Gimp (HP Photosmart Premium C309a full-bleed printing on Linux/CUPS)
  • Bookmark Borderless pictures from Gimp (HP Photosmart Premium C309a full-bleed printing on Linux/CUPS) at YahooMyWeb
  • Bookmark Borderless pictures from Gimp (HP Photosmart Premium C309a full-bleed printing on Linux/CUPS) at Furl.net
  • Bookmark Borderless pictures from Gimp (HP Photosmart Premium C309a full-bleed printing on Linux/CUPS) at reddit.com
  • Bookmark Borderless pictures from Gimp (HP Photosmart Premium C309a full-bleed printing on Linux/CUPS) at blinklist.com
  • Bookmark Borderless pictures from Gimp (HP Photosmart Premium C309a full-bleed printing on Linux/CUPS) at Spurl.net
  • Bookmark Borderless pictures from Gimp (HP Photosmart Premium C309a full-bleed printing on Linux/CUPS) at NewsVine
  • Bookmark Borderless pictures from Gimp (HP Photosmart Premium C309a full-bleed printing on Linux/CUPS) at Simpy.com
  • Bookmark Borderless pictures from Gimp (HP Photosmart Premium C309a full-bleed printing on Linux/CUPS) at blogmarks
  • Bookmark Borderless pictures from Gimp (HP Photosmart Premium C309a full-bleed printing on Linux/CUPS) with wists
  • wong it!
  • Bookmark using any bookmark manager!
  • Stumble It!
  • Print this article!
  • E-mail this story to a friend!
  • Identi.ca

Patch for mISDN-1_1_9_2 and kernel 2.6.30 (mISDN 1.1 no bus_id patch)

This is a copy of a post I made to the isdn4linux mailing-list.

In the latest kernel, char bus_id[20] has been removed from struct device. To read or set the device name, dev_name(device) resp. dev_set_name(device) have to be used instead. The attached patch does exactly that. It allows me to run mISDN-1_1_9_2 with kernel 2.6.30.5, with no problem so far. My understanding is that dev_name and dev_set_name have been introduced in 2.6.27.x, hence the check for >= 2.6.28. I haven't tested the patch with kernels older than 2.6.30.5 though.

You can get the patch here: misdn-1.1.9.2-no-bus_id.patch.

Comments are set to "moderated" for this entry, please consider whether you should rather post to the list.
  • Twitter
  • Bookmark Patch for mISDN-1_1_9_2 and kernel 2.6.30 (mISDN 1.1 no bus_id patch) at del.icio.us
  • Facebook
  • Google Bookmarks
  • FriendFeed
  • Digg Patch for mISDN-1_1_9_2 and kernel 2.6.30 (mISDN 1.1 no bus_id patch)
  • Mixx Patch for mISDN-1_1_9_2 and kernel 2.6.30 (mISDN 1.1 no bus_id patch)
  • Bloglines Patch for mISDN-1_1_9_2 and kernel 2.6.30 (mISDN 1.1 no bus_id patch)
  • Technorati Patch for mISDN-1_1_9_2 and kernel 2.6.30 (mISDN 1.1 no bus_id patch)
  • Fark this: Patch for mISDN-1_1_9_2 and kernel 2.6.30 (mISDN 1.1 no bus_id patch)
  • Bookmark Patch for mISDN-1_1_9_2 and kernel 2.6.30 (mISDN 1.1 no bus_id patch) at YahooMyWeb
  • Bookmark Patch for mISDN-1_1_9_2 and kernel 2.6.30 (mISDN 1.1 no bus_id patch) at Furl.net
  • Bookmark Patch for mISDN-1_1_9_2 and kernel 2.6.30 (mISDN 1.1 no bus_id patch) at reddit.com
  • Bookmark Patch for mISDN-1_1_9_2 and kernel 2.6.30 (mISDN 1.1 no bus_id patch) at blinklist.com
  • Bookmark Patch for mISDN-1_1_9_2 and kernel 2.6.30 (mISDN 1.1 no bus_id patch) at Spurl.net
  • Bookmark Patch for mISDN-1_1_9_2 and kernel 2.6.30 (mISDN 1.1 no bus_id patch) at NewsVine
  • Bookmark Patch for mISDN-1_1_9_2 and kernel 2.6.30 (mISDN 1.1 no bus_id patch) at Simpy.com
  • Bookmark Patch for mISDN-1_1_9_2 and kernel 2.6.30 (mISDN 1.1 no bus_id patch) at blogmarks
  • Bookmark Patch for mISDN-1_1_9_2 and kernel 2.6.30 (mISDN 1.1 no bus_id patch) with wists
  • wong it!
  • Bookmark using any bookmark manager!
  • Stumble It!
  • Print this article!
  • E-mail this story to a friend!
  • Identi.ca

Installing Ubuntu Netbook Remix over the network (UNR netboot - PXE install)

There is actually at least one very straightforward way to install Ubuntu Netbook Remix without a USB key, without even downloading the image, over the network.

Just follow the instructions in my previous article to get a working Ubuntu Installer over PXE. By default this installer will only setup a very minimal Ubuntu system, without any server or desktop packages.

At some point during the installation, you are offered the possibility to install additional software packages. At this stage you can just tick the box in front of "Ubuntu Network Remix" and that's it! You don't need to select any other package (eg Ubuntu Desktop) for a fully working UNR install. Personally I added "OpenSSH Server" because I want to be able to login remotely. Of course you could also add those packages later on.
  • Twitter
  • Bookmark Installing Ubuntu Netbook Remix over the network (UNR netboot - PXE install) at del.icio.us
  • Facebook
  • Google Bookmarks
  • FriendFeed
  • Digg Installing Ubuntu Netbook Remix over the network (UNR netboot - PXE install)
  • Mixx Installing Ubuntu Netbook Remix over the network (UNR netboot - PXE install)
  • Bloglines Installing Ubuntu Netbook Remix over the network (UNR netboot - PXE install)
  • Technorati Installing Ubuntu Netbook Remix over the network (UNR netboot - PXE install)
  • Fark this: Installing Ubuntu Netbook Remix over the network (UNR netboot - PXE install)
  • Bookmark Installing Ubuntu Netbook Remix over the network (UNR netboot - PXE install) at YahooMyWeb
  • Bookmark Installing Ubuntu Netbook Remix over the network (UNR netboot - PXE install) at Furl.net
  • Bookmark Installing Ubuntu Netbook Remix over the network (UNR netboot - PXE install) at reddit.com
  • Bookmark Installing Ubuntu Netbook Remix over the network (UNR netboot - PXE install) at blinklist.com
  • Bookmark Installing Ubuntu Netbook Remix over the network (UNR netboot - PXE install) at Spurl.net
  • Bookmark Installing Ubuntu Netbook Remix over the network (UNR netboot - PXE install) at NewsVine
  • Bookmark Installing Ubuntu Netbook Remix over the network (UNR netboot - PXE install) at Simpy.com
  • Bookmark Installing Ubuntu Netbook Remix over the network (UNR netboot - PXE install) at blogmarks
  • Bookmark Installing Ubuntu Netbook Remix over the network (UNR netboot - PXE install) with wists
  • wong it!
  • Bookmark using any bookmark manager!
  • Stumble It!
  • Print this article!
  • E-mail this story to a friend!
  • Identi.ca

Gentoo Linux: "Package NOT merged due to file collisions" problem and solution

When trying to get the latest sys-libs/timezone-data on a somewhat old system, I got the following error:
[list of nearly all files the package was about to install]
- Package 'sys-libs/timezone-data-2008i' NOT merged due to file
- collisions. If necessary, refer to your elog messages for the whole
- content of the above message.


According to equery, it looks like those files were installed by glibc:
# equery b /usr/share/zoneinfo/CET
sys-libs/glibc-2.3.4.20041102-r1 (/usr/share/zoneinfo/CET)


So I tried
# COLLISION_IGNORE="/usr/share/zoneinfo" emerge -av timezone-data
which showed less errors but still gave me:
 - sys-libs/glibc-2.3.4.20041102-r1
- /usr/bin/tzselect
- /usr/sbin/zdump
- /usr/sbin/zic


I ended up with
# COLLISION_IGNORE="/usr" emerge -av timezone-data
which worked well.

I looked at the ebuilds and saw that newer glibc packages depend on sys-libs/timezone-data, so upgrading glibc should solve the problem too. I've submitted bug 258802 since I didn't find the info anywhere else.
  • Twitter
  • Bookmark Gentoo Linux: "Package NOT merged due to file collisions" problem and solution at del.icio.us
  • Facebook
  • Google Bookmarks
  • FriendFeed
  • Digg Gentoo Linux: "Package NOT merged due to file collisions" problem and solution
  • Mixx Gentoo Linux: "Package NOT merged due to file collisions" problem and solution
  • Bloglines Gentoo Linux: "Package NOT merged due to file collisions" problem and solution
  • Technorati Gentoo Linux: "Package NOT merged due to file collisions" problem and solution
  • Fark this: Gentoo Linux: "Package NOT merged due to file collisions" problem and solution
  • Bookmark Gentoo Linux: "Package NOT merged due to file collisions" problem and solution at YahooMyWeb
  • Bookmark Gentoo Linux: "Package NOT merged due to file collisions" problem and solution at Furl.net
  • Bookmark Gentoo Linux: "Package NOT merged due to file collisions" problem and solution at reddit.com
  • Bookmark Gentoo Linux: "Package NOT merged due to file collisions" problem and solution at blinklist.com
  • Bookmark Gentoo Linux: "Package NOT merged due to file collisions" problem and solution at Spurl.net
  • Bookmark Gentoo Linux: "Package NOT merged due to file collisions" problem and solution at NewsVine
  • Bookmark Gentoo Linux: "Package NOT merged due to file collisions" problem and solution at Simpy.com
  • Bookmark Gentoo Linux: "Package NOT merged due to file collisions" problem and solution at blogmarks
  • Bookmark Gentoo Linux: "Package NOT merged due to file collisions" problem and solution with wists
  • wong it!
  • Bookmark using any bookmark manager!
  • Stumble It!
  • Print this article!
  • E-mail this story to a friend!
  • Identi.ca

Android on the Nokia n810 Internet Tablet (Android on top of Maemo Linux vs NITdroid vs android-n810)

I've successfully installed and ran Android on my N810 following the instructions here along with the modifications described here. In the next days/weeks I'll have a deeper look at it and will also try to install some more apps.

There is another project (involving the same people?) called NITdroid, which allows to run Android directly, bypassing Maemo. However my understanding is that short of reflashing the kernel there is no easy way to switch between Maemo and Android (with the first method you only have to reboot to get back to Maemo after using Android). There are discussion here and there about using kexec to swich between Maemo and Android but so far I'm not aware of anybody getting kexec to work on a NIT.

android-n810 on SourceForge looks quite similar to NITdroid, according to the README in the distributed files.

Other things to look at some day:
  • Twitter
  • Bookmark Android on the Nokia n810 Internet Tablet (Android on top of Maemo Linux vs NITdroid vs android-n810) at del.icio.us
  • Facebook
  • Google Bookmarks
  • FriendFeed
  • Digg Android on the Nokia n810 Internet Tablet (Android on top of Maemo Linux vs NITdroid vs android-n810)
  • Mixx Android on the Nokia n810 Internet Tablet (Android on top of Maemo Linux vs NITdroid vs android-n810)
  • Bloglines Android on the Nokia n810 Internet Tablet (Android on top of Maemo Linux vs NITdroid vs android-n810)
  • Technorati Android on the Nokia n810 Internet Tablet (Android on top of Maemo Linux vs NITdroid vs android-n810)
  • Fark this: Android on the Nokia n810 Internet Tablet (Android on top of Maemo Linux vs NITdroid vs android-n810)
  • Bookmark Android on the Nokia n810 Internet Tablet (Android on top of Maemo Linux vs NITdroid vs android-n810) at YahooMyWeb
  • Bookmark Android on the Nokia n810 Internet Tablet (Android on top of Maemo Linux vs NITdroid vs android-n810) at Furl.net
  • Bookmark Android on the Nokia n810 Internet Tablet (Android on top of Maemo Linux vs NITdroid vs android-n810) at reddit.com
  • Bookmark Android on the Nokia n810 Internet Tablet (Android on top of Maemo Linux vs NITdroid vs android-n810) at blinklist.com
  • Bookmark Android on the Nokia n810 Internet Tablet (Android on top of Maemo Linux vs NITdroid vs android-n810) at Spurl.net
  • Bookmark Android on the Nokia n810 Internet Tablet (Android on top of Maemo Linux vs NITdroid vs android-n810) at NewsVine
  • Bookmark Android on the Nokia n810 Internet Tablet (Android on top of Maemo Linux vs NITdroid vs android-n810) at Simpy.com
  • Bookmark Android on the Nokia n810 Internet Tablet (Android on top of Maemo Linux vs NITdroid vs android-n810) at blogmarks
  • Bookmark Android on the Nokia n810 Internet Tablet (Android on top of Maemo Linux vs NITdroid vs android-n810) with wists
  • wong it!
  • Bookmark using any bookmark manager!
  • Stumble It!
  • Print this article!
  • E-mail this story to a friend!
  • Identi.ca