Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Any solution for net-print/cnrdrvcups-lb-5.40?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
ShadowCat8
Apprentice
Apprentice


Joined: 07 Oct 2008
Posts: 173
Location: San Bernardino, CA, USA

PostPosted: Fri Jan 21, 2022 3:04 am    Post subject: [SOLVED] Any solution for net-print/cnrdrvcups-lb-5.40? Reply with quote

Greetings,

It's been quite a while since I had to visit this issue.

However, in light of these bugs, #735970,#774324, that seem to have started at cnrdrvcups-lb-5.10, is the best path for a working solution for printing to Canon printers to revert back to net-print/cndrvcups-lb-3.70?

Or does anyone know another solution?

Thanks in advance.
_________________
________________________

"As far as the laws of mathematics refer to reality, they are not
certain, and as far as they are certain, they do not refer to reality."

-- Albert Einstein


Last edited by ShadowCat8 on Fri Jan 21, 2022 11:10 pm; edited 1 time in total
Back to top
View user's profile Send private message
Juippisi
Developer
Developer


Joined: 30 Sep 2005
Posts: 724
Location: /home

PostPosted: Fri Jan 21, 2022 5:52 am    Post subject: Reply with quote

Does the build fail for you, or are there some runtime issues (remember to turn on logging in cupsd and use cli for output)

Those bugs you linked aren't fatal, and the program should still work normally.
Back to top
View user's profile Send private message
ShadowCat8
Apprentice
Apprentice


Joined: 07 Oct 2008
Posts: 173
Location: San Bernardino, CA, USA

PostPosted: Fri Jan 21, 2022 7:49 pm    Post subject: Reply with quote

Thank you for the prompt response, Juippisi.

No, it builds, but when you try to print, nothing prints.

It giving errors like "Backend /usr/libexec/cups/backend/pstoufr2cpca does not exist!" and "Use "pdftops-renderer" option (see cups-filters README file) to use Ghostscript or MuPDF for the PDF -> PostScript conversion."

The second one really confuses me as I was trying to print a text document from gedit, so I don't know where pdf enters into the equation. Along those lines though, I do have both ghostscript-gpl and mupdf installed.

And, /usr/share/doc/cups-filters-1.28.10-r1/README.bz2 isn't really helpful. Such documentation as:
/usr/share/doc/cups-filters-1.28.10-r1/README.bz2 wrote:
CUPS version 1.2
================

The README is used to introduce the module and provide instructions on
how to install the module, any machine dependencies it may have (for
example C compilers and installed libraries) and any other information
that should be provided before the module is installed.

A README file is required for CPAN modules since CPAN extracts the
README file from a module distribution so that people browsing the
archive can use it get an idea of the modules uses. It is usually a
good idea to provide version information here so that people can
decide whether fixes for the module are worth downloading.

INSTALLATION

To install this module type the following:

perl Makefile.PL
make
make test
make install

DEPENDENCIES

This module requires these other modules and libraries:

blah blah blah

COPYRIGHT AND LICENSE

Put the correct copyright and license information here.

Copyright (C) 2002 A. U. Thor blah blah blah


I referenced those bugs as I thought not having valid symlinks to needed libs might be the issue (especially with the "...pstoufr2cpca does not exist!" part), though, having just checked the build log and the filesystem, I see that, while the #735970 bug remains open, it looks like starting in version 5.10, it has been corrected by the ci system.

I'll get the debug output.
_________________
________________________

"As far as the laws of mathematics refer to reality, they are not
certain, and as far as they are certain, they do not refer to reality."

-- Albert Einstein
Back to top
View user's profile Send private message
ShadowCat8
Apprentice
Apprentice


Joined: 07 Oct 2008
Posts: 173
Location: San Bernardino, CA, USA

PostPosted: Fri Jan 21, 2022 10:56 pm    Post subject: Reply with quote

Greetings again,

Okay, I upped the loglevel to debug2 and started cupsd from the cli with "cupsd -f. Nothing appeared on the cli, but copying the output to the error_log into a separate debug log, I did see this:
Code:
d [21/Jan/2022:12:22:13 -0800] cupsdReadConfiguration: filter text/html to text/plain 100 -
d [21/Jan/2022:12:22:13 -0800] cupsdReadConfiguration: filter text/plain to application/pdf 32 texttopdf
d [21/Jan/2022:12:22:13 -0800] cupsdReadConfiguration: filter text/plain to application/vnd.cups-brf 0 texttobrf

So, that explains where it is looking for a PDF filter for plain text... Still not sure why.

BUT, I did see this from the Archlinux User Repository (AUR) and I think I know the issue now! :P
Quote:
Lone_Wolf commented on 2019-09-28 12:41
People coming from cndrvcups-lb / cndrvcups-common-lb or cndrvcups-lb-bin :

You will have to start afresh.

remove the 3.70 versions and created printer definitions in cups
build this package and install
recreate your printer definitions
html documentation from canon is in /usr/share/doc/cnrdrvcups-lb


I had cndrvcups-lb+cndrvcups-common-lb installed before and switched to cnrdrvcups-lb when I realized that cndrvcups-lb was/is stalled. I have reset the configs under /etc/cups/ back to original install and am reconfig'ing the printer definitions.
_________________
________________________

"As far as the laws of mathematics refer to reality, they are not
certain, and as far as they are certain, they do not refer to reality."

-- Albert Einstein
Back to top
View user's profile Send private message
ShadowCat8
Apprentice
Apprentice


Joined: 07 Oct 2008
Posts: 173
Location: San Bernardino, CA, USA

PostPosted: Fri Jan 21, 2022 11:09 pm    Post subject: Reply with quote

Printing as expected.

My apologies.

Thanks for your assistance!
_________________
________________________

"As far as the laws of mathematics refer to reality, they are not
certain, and as far as they are certain, they do not refer to reality."

-- Albert Einstein
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum