Comment 11 for bug 369850

Revision history for this message
Joshc (j-w-crawley) wrote : Re: Cannot set up parallel port printer on Ubuntu 9.04

I have found a fix.

Im running Ubuntu 9.04 Desktop on an old machine. I have a HP Laserjet 4 via /dev/lp0

I lsmod'ed to make sure the appropriate modules were loaded. I then checked dmesg to see what was in there. And lpstat still showed no /dev/lp0 activity. My experience thus far mirrors everybody else.

The fix:

josh@comp1:~$ sudo modprobe parport_pc

After you type in your system passwd, you should see a line either on stdout or dmesg along the lines of

parport0: PC-style at 0x378 (0x778), irq 7, dma 3 [PCSPP,TRISTATE,COMPAT,EPP,ECP,DMA]

After you modprobe the appropriate driver, /dev/lp0 will work and CUPS will alert you of a printer on that parallel port. To keep this working across reboots, add parport_pc to /etc/modules . It now should just work.