2. Linux kernel support for printer port

You may already have printer port support in your kernel. If not, you must install the necessary kernel modules (see the appendix on setting up kernel printer port support). If your kernel does not allow modules, you should think about upgrading your kernel.

You can check for printer port support by looking at the boot messages using dmesg, and filtering the output using a pipe to grep.

2.1. Check parallel port

If you have a standard PC with a parallel port, the output should look something like this:

$ dmesg | grep parport
parport0: PC-style at 0x378 [PCSPP,EPP]
parport0: Printer, printer-name
parport_pc: Via x86A parallel port: io=0x378
lp0: using parport0 (polling).
$ 
   

Look for mention of parport0 and parport_pc. You would expect to see both if your kernel already supports a parallel printer.

2.2. Check USB port

WarningThis section is untested
 

I do not have a USB printer, so this is my 'best guess' at how to install one. If you get a USB printer working please let me know () and I will update this document.

You should get similar messages by grepping for USB ports using dmesg | grep usb. I have not been able to test this because I do not have a USB printer.

$ dmesg | grep usb