You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Saturday, May 19th 2007, 6:28pm

having to setup printer over and over

To All:

I'm having a wierd printing problem. The printer
works at setup, but fails after a reboot. I keep
having to setup the printer over and over if I want
to print anything.

----- details -----

I used

KDE control center
-> peripherals
-> printers
-> etc (admin. mode, add printer,...)

to setup this antique canon bjc-1000. Everything
works fine whether I am in KWrite, Oo, etc. I
named the new printer "canonbjc1000".

Reboot (I turn the PC off at night - save energy.)

Printer does not work. So I go back to the KDE
control center, setup-ed another printer and named
the new printer "canonbjc1000_2". Everything
works whether I use "canonbjc1000" (note: the old
one) OR "canonbjc1000_2". In other words,
something in the setup of "canonbjc1000" got lost
while rebooting.

Reboot

Printer does not work - "canonbjc1000" and
"canonbjc1000_2". I proceed to slowly add another
printer.

-> administrator mode [screen prompts for root password]
"canonbjc1000" does not work
-> [enter root password]
"canonbjc1000" does not work
-> add: add printer/class [welcome screen pops up]
"canonbjc1000" works!

Apparently the last action is triggering something
that ceases everytime I reboot.

Do you have any clue on what is happening? Any
help/tip/comment would be appreciated.

Sheng-Chieh

2

Saturday, June 16th 2007, 6:30pm

[solved] RE: having to setup printer over and over

After bouncing around, the 6th forums, linuxquestion,
someone figured out the problem. So I'll answer my
own question in case someone needs to know.

First he suggested to use lsmod (as root) before and after
the printer setup, i.e.,

lsmod > lsmodbefore.txt

[setup printer]

lsmod > lsmodafter.txt

The two files are almost the same except lsmodafter.txt have

parport_pc 27652 1
lp 12584 0
parport 36392 2 parport_pc,lp

Second, he recommended after reboot typing

modprobe parport
modprobe parport_pc
modprobe lp

and see if printer works. It did!

Third, he recommended to add

parport
parport_pc
lp

into /etc/modprobe.preload so the printer will work after reboot.
The modules in this file initialize for RPM distros (I have PCLinuxOS
2007). For debian, one would add to /etc/modules . So now the
printer works after reboot!

-----

Somehow these modules did not get "permament-ize" while setting up
the printer (whether it is in KDE control center or CUPS).

Sheng-Chieh