To All:
[This is the 5th place I'm asking - yes, I'm bouncing
around. I'm hoping you people can figure out my
problem.]
I'm having a wierd printing problem. The printer
works at setup, but fails after a reboot. I keep
having to initiate the printer setup over and over
if I want to print anything.
----- details -----
I recently installed PCLinuxOS 2007.
I used
KDE control center
-> peripherals
-> printers
-> etc (administrator 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_2" enabled
"canonbjc1000" to work (that fails when rebooting).
[The the old printer is still there after a reboot,
it just doesn't work until KDE printer setup initiates
something.]
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.
-----
Other tidbits:
1.
After a reboot (but before a new printer setup), cups
is running, i.e.,
# /etc/init.d/cups status
cupsd (pid 3130) is running...
2.
I tried to see if anything is different is running
by doing
ps -ef > before_adding_printer.txt
ps -ef > after_adding_printer.txt
There is no difference between these two files (except
the pid for the "ps -ef" command).
3.
In one forum, someone suggested using chattr. I tyr
this command without success.
4.
If I use the lp command after a reboot (but before
setting up the printer again), no useful console
information are output, i.e.,
$ lp code.scr
request id is test-20 (1 file(s))
(code.scr is just a short file)
but nothing prints. Just the job shows in the job queue.
5.
I really would like to know what console commands are
executed in the KDE control center - printer. It is
executing
/usr/bin/kcmshell printer
Where are the KDE modules? In specific, the printer module?
Can I read it?
6.
The same issue occurs if I use CUPS via
http://localhost:631/ .
-----
Do you have any clue on what is happening? Any
help/tip/comment would be appreciated.
Sheng-Chieh