Salix 14.1, CUPS, Canon LBP2900 do not print

You have a problem with Salix? Post here and we'll do what we can to help.
User avatar
VAA
Posts: 33
Joined: 9. Feb 2010, 07:45

Re: Salix 14.1, CUPS, Canon LBP2900 do not print

Post by VAA »

I did everything as accurately as possible, even set up the system again.
But don't print. Only one I can try else, install old canon driver.
It says that can not send data. But old Slackware 13.37 print on the same computer.
So it can not be hardware problem, I think.
auankarag
Posts: 45
Joined: 24. Dec 2009, 08:19

Re: Salix 14.1, CUPS, Canon LBP2900 do not print

Post by auankarag »

rpm2txz -c -S -n -d canonpackage1.rpm
rpm2txz -c -S -n -d canonpackage2.rpm

ln -s /etc/rc.d/rc.cups /etc/init.d/cups
This allows the Canon install scripts to stop and start the CUPS daemon

installpkg canonpackge1.txz
installpkg canonpackge2.txz
User avatar
VAA
Posts: 33
Joined: 9. Feb 2010, 07:45

Re: Salix 14.1, CUPS, Canon LBP2900 do not print

Post by VAA »

Thanks to auankarag
First I used rpm2tgz without any switches. Now I use rpm2txz as You show me. OK. But the same result...
There is a problem with softlink

Code: Select all

 ln -s /etc/rc.d/rc.cups /etc/init.d/cups
- in my system both files exist and are different. And that files are exactly same as in 13.37 where my printer work.
What to do next?
auankarag
Posts: 45
Joined: 24. Dec 2009, 08:19

Re: Salix 14.1, CUPS, Canon LBP2900 do not print

Post by auankarag »

follow these steps all as root :
mkdir /var/ccpd
mkfifo /var/ccpd/fifo0
mkdir /var/captmon
chmod 777 /var/ccpd/fifo0
chown root /var/ccpd/fifo0
chmod -R a+rx /usr/share/cups/model

chown -R lp:lp /var/ccpd




Create a rules
nano /etc/udev/rules.d/85-LBP2900.rules
with those entries:
#Own udev rule for Canon LBP2900
SUBSYSTEM==”usb”, KERNEL==”lp0″, RUN+=”/etc/init.d/ccpd restart”
save file and exit

next as root reload UDEV config:
udevadm control --reload-rules

in print settings save the printer options,specially the paper size must be A4
next check that printer started/stopped on adding/removing it from USB:
/etc/init.d/ccpd status

turn off printer and reboot pc

login after reboot,turn on printer and type: /etc/init.d/ccpd start
next type:
modprobe usblp

then type:

captstatusui -P LBP2900 /dev/usb/lp0


in slackel 6.0 my printer LBP2900 works perfectly[/size]
Post Reply