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

Salix 14.1, CUPS, Canon LBP2900 do not print

Post by VAA »

I have printer Canon LBP2900 long time and use it starting Slackware-11.0.
I use printer driver downloaded from Canon. Can not say that it was all fine but problem was solved up to Slackware-13.37 with CUPS-1.4.6
Starting Slackware-14.0 CUPS-1.5.4 LBP2900 do not print and I should use old 13.37 if I need to print.

For Salix-14.1 I installed pakage system-config-printer. Started Printer Settings. The program found my LBP2900 and recommended to install driver "HP Designjet Z5400 PostScript [en]". But printer do not print even a test page.

I have downloaded last version of Canon driver
Linux_CAPT_PrinterDriver_V260_uk_EN.tar.gz
and installed as I've done it before. The system see the printer an start printing but never end. Print settings program show printer with yellow triangle with "!".
Status message "File "/usr/lib/cups/filter/pstocapt" has insecure permissions (0100755/uid=1000/ gid=100)"
Warning: Printer "Canon-LBP2900": "cups-insecure-filter"
Help please correct this problem.
User avatar
laprjns
Salix Warrior
Posts: 1105
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

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

Post by laprjns »

“Don’t you see that the whole aim of Newspeak is to narrow the range of thought?"
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. Good article. second part helps me correct permissions and now I have no error messages.
But printer do not print. :(
In first pat I think is an error. The author recommends do "Restart ccpd":

Code: Select all

/etc/rc.d/rc.ccpd restart 
but there is no that file. I think should be used

Code: Select all

/etc/init.d/ccpd restart
User avatar
laprjns
Salix Warrior
Posts: 1105
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

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

Post by laprjns »

Yikes, I'm glad I don't own this printer.
VAA wrote: I think should be used

Code: Select all

/etc/init.d/ccpd restart
After closely reviewing the article i suggest you try put the /etc/init.d/ccpd restart line in your rc.local file. Just edit the file like this;

Code: Select all

nano /etc/rc.d/rc.local 
and type in the line at the bottom of the file. Reboot and see if the printer works.
“Don’t you see that the whole aim of Newspeak is to narrow the range of thought?"
User avatar
VAA
Posts: 33
Joined: 9. Feb 2010, 07:45

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

Post by VAA »

Yes, You are really glad You don't own this printer.
I have... It was working in Slackware from version 11 to version 13.37. Even now it work on the same computer in old system Slackware 13.37.
As in old system I had in /etc/rc.d/rc.local line

Code: Select all

/etc/init.d/ccpd start
Now I changed start to restart and it did not help.
What else I can try? Or what I can check?
User avatar
VAA
Posts: 33
Joined: 9. Feb 2010, 07:45

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

Post by VAA »

So I see, no one has any idea how to make print LBP2900.
May be somebody can help me other way?
Slackware 13.37 where LBP2900 print has CUPS 1.4.6.
Slackware/Salix 14.x where LBP2900 don't print has CUPS 1.5.4.
How I can downgrade CUPS? I tried already removepkg CUPS 1.5.4 and installpkg CUPS 1.5.4, but this way something is wrong.
Can somebody help me do it right?
User avatar
Atip
Posts: 539
Joined: 5. Jun 2011, 04:27

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

Post by Atip »

My problem is with a different printer when after installing cups-1.5.4 and higher
my Epson printer will not advance to next page.

As su/sudo /sbin/removepkg cups then

again as su/sudo /sbin/installpkg cups-1.4.6

Has worked for me across several distros.

A had even an exchange with cups forum and all
they could say that
the driver for Epson had not been changed.

Now again in Salix-14.1 I am using cups-1.4.6

I keep cups-1.4.6-i486-1.txz well protected from removal. ;)
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 Atip, but removepkg - installpkg was the first thing I tried.
But I have got "error while loading shared libraries: libssl.so.0" and I can not find what package to install.

P.S. I made simlinks libssl.so.0 to simlinks libssl.so.1 and libcrypto.so.0 to libcrypto.so.1.
After that I got message that /etc/cups/cups.conf can not be read. I don't now while - it exist and all read permission are set. :(
User avatar
laprjns
Salix Warrior
Posts: 1105
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

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

Post by laprjns »

Maybe try:
To remove cups 1.5.4:

Code: Select all

sudo /sbin/spkg -d cups
Then clean up the left over files

Code: Select all

sudo rm -r /etc/cups
Next install the cups 1.4.6 package:

Code: Select all

sudo /sbin/spkg -i cups-1.4.6-x86_64-1.txz
an finally do a dotnew an accept the new rc.d file

Code: Select all

sudo dotnew
Cups 1.4.6 started with no problem here, however I could not install a printer, since it looks for root password. 14.1 doesn't have root user enabled out of the box, so you may have to enable the root user.
“Don’t you see that the whole aim of Newspeak is to narrow the range of thought?"
User avatar
laprjns
Salix Warrior
Posts: 1105
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

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

Post by laprjns »

laprjns wrote:Cups 1.4.6 started with no problem here, however I could not install a printer, since it looks for root password. 14.1 doesn't have root user enabled out of the box, so you may have to enable the root user.
Or, as I just found out, you can add the "wheel" group to the SystemGroup directive in the cup.config file found in /etc/cups/
cups.config wrote:# Administrator user group...
SystemGroup sys root
Change the line to:

Code: Select all

SystemGroup sys root wheel
“Don’t you see that the whole aim of Newspeak is to narrow the range of thought?"
Post Reply