Burning CDs from the command line: cdrdao

K3b seems to be the best GUI for burning CDs on Linux. But today it failed to burn an image file (bin/cue) and I don't know why. So I used:

cdrdao write --device /dev/cdrecorder --speed 8 filename.cue