jpg153 wrote:How do I know I loaded the parallel port kernel module?
dmesg output:
Code: Select all
[ 5.595738] parport_pc 00:02: reported by Plug and Play ACPI
[ 5.595797] parport0: PC-style at 0x278 (0x678), irq 7 [PCSPP,TRISTATE,EPP]
[ 5.633982] parport0: Printer, Hewlett-Packard HP LaserJet 6MP
Does that ring a bell?
Yes, but not the bell sound you want to hear.
The module is already loaded and the printer has already been detected by the driver or the PCI subsystem.
From your first inquiry:
jpg153 wrote:I had a Laserjet via USB connected and driven by CUPS with a special driver (no standard hplib/cups.
I can only guess what that means. If CUPS was not used before but it was printed without CUPS, then the mentioned specific driver must be removed, because it will occupy the Centronics parallel port and prevent other drivers or programs from accessing it. In this case, CUPS service is also not activated, so it must be checked in the list of system services.
Additionally and first, undo all changes to CUPS, e.g. playing with "parallel:/dev/parport0".
The library hplip must be installed. It is
hplip, not hplib, as you wrote. You have upgraded your Salix installation from older Salix versions. Previously, hplip was not always preinstalled. Perhaps the library is still missing on your system. I noticed this in my first answer - but no reaction.
If from the above nothing is true, you can still make investigations. parport is a module and parport0 is a device.
The
lsmod command provides a list of all kernel modules and their users. For my unused Centronics parallel port, this looks something like this:
Code: Select all
$ lsmod
Module Size Used by
lp 9819 0
[...]
parport_pc 19268 1
[...]
parport 30325 3 lp,ppdev,parport_pc
[...]
$
If still necessary, command calls like
Code: Select all
$ modinfo parport_pc
$ modinfo parport
provide further details on the modules. Too much you will not be able to deduce from it.
From your first inquiry:
jpg153 wrote:I tried several entries in the printer "URI", but none works.
My last URI is
Code: Select all
parallel:/dev/parport0
but not working
I do not understand what there is to fool around there with "printer URI". The selection of a printer via CUPS and the CUPS configuration can be done without a higher admin-consecration. Since one does not come into contact with a "printer URI" at all. You start a web browser and load from the
http://localhost:631/admin address, whereby javascript must be allowed for localhost. Then select "Find New Printers" or "Add Printer" and let CUPS search for printers. This can take several minutes in problematic cases. Select the desired one and configure CUPS accordingly. Somewhere in this process you enter the password of the first user.
Also search the general and CUPS-specific log files. Please show any related errors.