LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-24-2017, 12:28 AM   #1
zrdc28
Member
 
Registered: Dec 2007
Location: Alabama USA
Distribution: Slackware current
Posts: 309

Rep: Reputation: 55
slackware64 current printer cannot find filter


slackware 64 current,
Printer canon mf4800 lazer network printer
Dell 790 i7 processor 16g memory with ralink wireless usb.

This printer works well with slackware 32 bit machines and canon offers the 64 bit drivers also which are installed on this machine.

When I click add network printer it immediately finds it on the network and shows the correct ip address for the printer.

When I try to setup the printer the first thing it does is look for the drivers finds them and prints them out. canon-mf4800-ufrii-lt

Somewhere along the way I have started cups several time with no joy.

I get the error "Filter failed" when I do a test page, the error log listed the error as "package-pstoufr2cpca" missing. I went on the internet and found that package and did a compat 32 on it but still no joy.

lpstat -p -d
printer Canon-MF4800-UFRII-LT is idle. enabled since Thu 23 Feb 2017 11:43:13 PM CST Filter failed

If anyone has any idea what I am doing wrong please advise. Thanks
 
Old 02-24-2017, 01:23 AM   #2
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750
According to https://wiki.debian.org/PrinterDriver/Canon/UFR-II , the 64 bit install needs extra 32 bit libraries.
Quote:
Install some extra dependencies
sudo apt-get install libc6-i386 libxml2:i386 lib32z1 libjpeg62:i386 libstdc++6:i386
 
2 members found this post helpful.
Old 02-24-2017, 08:27 PM   #3
zrdc28
Member
 
Registered: Dec 2007
Location: Alabama USA
Distribution: Slackware current
Posts: 309

Original Poster
Rep: Reputation: 55
Thanks allend it will take me a while to look through the links.


These are the drivers installed on the 64 bit machine, I did the deb2tgz to each and they installed ok.
cndrvcups-common_3.60-1_amd64.deb
cndrvcups-ufr2-us_3.60-1_amd64.deb


These are the the drivers on my 32 bit machines that works well. I just installed those two and did a cups restart and they came up printing.
cndrvcups-common_3.60-1_i386.deb
cndrvcups-ufr2-uk_3.20-1_i386.deb
 
Old 02-25-2017, 10:28 AM   #4
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750
I have downloaded the Linux_UFRII_PrinterDriver_V330_uk_EN.tar.gz and taken a look after unpacking the included cndrvcups-common-3.70-1.x86_64.rpm and cndrvcups-ufr2-uk-3.30-1.x86_64.rpm packages on my 64 bit Slackware-current install.
Code:
bash-4.4$ for f in $(find . -type f -exec file {} \; | sed -n 's/: ELF.*//p'); do ldd $f | grep "not found" ; done | sort -u
	libEnoJBIG.so.1.0.0 => not found
	libEnoJPEG.so.1.0.0 => not found
	libcaepcm.so.1 => not found
	libcaiowrap.so.1 => not found
	libcanon_slim.so.1.0.0 => not found
	libpangox-1.0.so.0 => not found
	libstdc++.so.6 => not found
	libxml2.so.2 => not found
The libraries in blue are not supplied by the printer driver.
Reading the README-ufr2-3.3xUK.html file in the Documents folder and the required packages for various Fedora and Ubuntu versions suggests that you may need, from http://bear.alienbase.nl/mirrors/peo...tilib/current/
./gcc-g++-5.4.0_multilib-x86_64-1alien.txz for libstdc++
./slackware64-compat32/l-compat32/pango-compat32-1.38.1-x86_64-1compat32.txz for libpangox
./slackware64-compat32/l-compat32/libxml2-compat32-2.9.4-x86_64-3compat32.txz for libxml2
 
2 members found this post helpful.
Old 02-25-2017, 02:39 PM   #5
zrdc28
Member
 
Registered: Dec 2007
Location: Alabama USA
Distribution: Slackware current
Posts: 309

Original Poster
Rep: Reputation: 55
Allend thanks a million I will try that when I get home later this evening,
 
Old 02-27-2017, 09:47 PM   #6
zrdc28
Member
 
Registered: Dec 2007
Location: Alabama USA
Distribution: Slackware current
Posts: 309

Original Poster
Rep: Reputation: 55
I downloaded and installed the three below, then did a reboot and came up with the same results, no joy. I did read every article suggested and many more than that. In the next few days I plan to start over and try it again. I sure appreciate the help. Any more ideas will be appreciate them.


./gcc-g++-5.4.0_multilib-x86_64-1alien.txz for libstdc++
./slackware64-compat32/l-compat32/pango-compat32-1.38.1-x86_64-1compat32.txz for libpangox
./slackware64-compat32/l-compat32/libxml2-compat32-2.9.4-x86_64-3compat32.txz for libxml2
 
Old 02-28-2017, 08:53 AM   #7
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750
I suggest converting the driver packages in .rpm format to .txz format using 'rpm2txz -c -S -n -d <packagename>.rpm' and installing those in place of the packages converted using deb2tgz. In the cndrvcups-ufr2 package resulting from converting .deb, the pstoufr2cpca filter is installed in /usr/lib/cups/filter/ , whilst in the package resulting from converting .rpm, the pstoufr2cpca filter is installed in /usr/lib64/cups/filter/.
 
1 members found this post helpful.
Old 02-28-2017, 08:25 PM   #8
zrdc28
Member
 
Registered: Dec 2007
Location: Alabama USA
Distribution: Slackware current
Posts: 309

Original Poster
Rep: Reputation: 55
Thanks, I appreciate the info, there was so much done to the old install that I have erased it and reinstalling it.
When I get the new install I will try the recommended using the rpm.

Thanks a million.
 
Old 03-02-2017, 12:53 AM   #9
zrdc28
Member
 
Registered: Dec 2007
Location: Alabama USA
Distribution: Slackware current
Posts: 309

Original Poster
Rep: Reputation: 55
I did a complete reinstall and installed the rpm version of the canon drivers. The filter error is gone. When I print everything looks normal just like the 32 bit version but it does not print. It recognizes the printer and drivers.

There are no information in dmesg about printer.
From /var/log/cups/error-log

cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients and dirty files"

cupsdSendHeader: code=200, type="application/ipp", auth_type=0

cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH

cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients and dirty files"

Returning IPP successful-ok for CUPS-Get-Classes (no URI) from localhost

cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGT

cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients and dirty files"

cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients and dirty files"

2.0 CUPS-Get-Default 38

Returning IPP successful-ok for CUPS-Get-Default (no URI) from localhostcupsdSendHeader:

cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND,

cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients and dirty

files"data_encoding=HTTP_ENCODING_LENGTcode=200, type="application/ipp", auth_type=0

cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients and dirty files"

cupsdSetBusyState: newbusy="Active clients", busy="Active clients and dirty files"

I sure appreciate the help!




Last edited by zrdc28; 03-02-2017 at 12:57 AM.
 
Old 03-02-2017, 01:14 AM   #10
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750
I would try setting 'LogLevel debug' in /etc/cupsd.conf then restarting cups before trying to print a plain text file. A more verbose error log could provide a clue.

PS - When posting listings, please place between [code][/code] tags (or use the button in the Advanced editor). It preserves spacing and is easier to view due to scrolling.

Last edited by allend; 03-02-2017 at 03:17 AM.
 
Old 03-02-2017, 05:40 AM   #11
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750
Quote:
I did a complete reinstall and installed the rpm version of the canon drivers.
Just for the record, did you reinstall the extra 32-bit compatabilty packages?
 
Old 03-03-2017, 12:37 AM   #12
zrdc28
Member
 
Registered: Dec 2007
Location: Alabama USA
Distribution: Slackware current
Posts: 309

Original Poster
Rep: Reputation: 55
Canon printer install on slackware64

I Finally got it going with the great help of allend. The first thing I did was download this
"Linux_UFRII_PrinterDriver_V330_us_EN.tar.gz" Tar it to find the 64 bit rpm drivers, then use
the rpm2txz to convert it to txz. The deb version of the files would not work, it did not write
the filter to the correct place. At that time everything looked good but it would not print.

When I installed the Libraries below that corrected the problem. Thanks a million for the help
from allend.


libpangox-1.0.so.0 => not found
libstdc++.so.6 => not found
libxml2.so.2 => not found


The libraries above are not supplied by the printer driver.
Reading the README-ufr2-3.3xUK.html file in the Documents folder and the required packages for various Fedora and Ubuntu versions suggests that you may need, from http://bear.alienbase.nl/mirrors/peo...tilib/current/
./gcc-g++-5.4.0_multilib-x86_64-1alien.txz for libstdc++
./slackware64-compat32/l-compat32/pango-compat32-1.38.1-x86_64-1compat32.txz for libpangox
./slackware64-compat32/l-compat32/libxml2-compat32-2.9.4-x86_64-3compat32.txz for libxml2

Last edited by zrdc28; 03-03-2017 at 12:38 AM.
 
Old 03-03-2017, 07:33 AM   #13
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750
All's well that ends well.
 
Old 12-11-2022, 03:15 AM   #14
TurboBlaze
Member
 
Registered: Jan 2018
Location: Russian Federation, Lipetsk region, Dankov
Distribution: Porteus
Posts: 195

Rep: Reputation: Disabled
Hi guys.
I can't found cndrvcups-common package in the tarball https://gdlp01.c-wss.com/gds/8/01000...m17n-10.tar.gz
He is have only /linux-UFRII-drv-v560-m17n/x64/RPM/cnrdrvcups-ufr2-uk-5.60-1.10.x86_64.rpm
But if look inside of tarball /linux-UFRII-drv-v560-m17n/Sources/cnrdrvcups-lb-5.60-1.10.tar.xz we have this sourses
Code:
cnrdrvcups-common-5.60/
cnrdrvcups-lb-5.60/
cnrdrvcups-lb.spec
cnrdrvcups-utility-5.60/
debian/
include/
lib/
but I am not able to build it.

Code:
/Sources/cnrdrvcups-lb-5.60-1.10/cnrdrvcups-common-5.60# ./allgen.sh
processing .
Running aclocal  ...
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'

************

checking for _Bool... yes
checking for stdbool.h that conforms to C99... yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking for memset... yes
checking for select... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: error: cannot find input file: `Makefile.in'
make: *** No targets specified and no makefile found. Stop.
Code:
/Sources/cnrdrvcups-lb-5.60-1.10/cnrdrvcups-lb-5.60# ./allgen.sh
processing .
Running libtoolize...
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.in,
libtoolize: and rerunning libtoolize and aclocal.
libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
libtoolize: 'AC_PROG_RANLIB' is rendered obsolete by 'LT_INIT'
Running aclocal  ...

********

checking for sys/wait.h that is POSIX.1 compatible... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for pid_t... yes
checking for memset... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: error: cannot find input file: `Makefile.in'
for dir in  cpca cngplp pdftocpca; do\
	echo Making modules $dir ...;\
	(cd $dir; make) || exit 1;\
done
Making modules cpca ...
make[1]: enter directory "/home/guest/Downloads/linux-UFRII-drv-v560-m17n/Sources/cnrdrvcups-lb-5.60-1.10/cnrdrvcups-lb-5.60/cpca"
make[1]: *** No targets specified and no makefile found. Stop.
make[1]: exit directory "/home/guest/Downloads/linux-UFRII-drv-v560-m17n/Sources/cnrdrvcups-lb-5.60-1.10/cnrdrvcups-lb-5.60/cpca"
make: *** [Makefile:21: all] Error 1
If run vanilla /linux-UFRII-drv-v560-m17n/install.sh
Code:
./install.sh 
This installer is recommended for the following distributions that are currently supported as of the release of this installer:
- Fedora/Ubuntu/CentOS/Debian/UOS/Kylin OS/NeoKylin OS

If this installer is run under distributions for which the support period has ended, the installation of additional system libraries may be necessary after driver installation is complete.

Note that an internet connection is required for installation.

Do you want to continue with installation? (y/n)y

********************

Could not install.
Where I can get SlackBuild for linux-UFRII-drv?

For example Gentoo is have it >>> https://ftp.icm.edu.pl/pub/Linux/dis...lb-5.40.ebuild
or ArchLinux:
https://aur.archlinux.org/cgit/aur.g...=cnrdrvcups-lb
https://aur.archlinux.org/cgit/aur.g...drvcups-lb-bin

Thanks.
 
Old 12-11-2022, 06:39 AM   #15
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750
If this is a network printer, you may be able to sidestep the need to install a driver.
From local CUPS Help under "Printer Drivers and PPDs":
Quote:
The everywhere driver is used for nearly all modern networks printers sold since about 2009. For example, the following command creates a destination for a printer at IP address 11.22.33.44:

lpadmin -p printername -E -v ipp://11.22.33.44/ipp/print -m everywhere
The trick is knowing what to use for the IPP URI. This is discoverable by Multicast DNS and DNS Service Discovery, but this is not available in stock Slackware. (CUPS can do it but requires Avahi support.)
A web search suggests that Canon might use ipp://<ip address>/ipp.
Perhaps the output from 'ipptool -tv ipp://<ip address>//ipp/ ipp-everywhere.test | grep printer-uri-supported' would be informative.

PS - This driverless printing stuff is new to me, but I have been curious ever since i saw my iPhone seamlessly print to my network printer. I recently tried it in a fresh stock Slackware64-15.0 install and it worked perfectly with my Brother MFC-J825DW device for printing, leaving a .ppd file in /etc/cups/ppd/. (Scanning is another kettle of fish.)

Last edited by allend; 12-11-2022 at 06:42 AM.
 
2 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Package from slackware64-current tb75252 Slackware 5 05-31-2016 01:24 PM
[SOLVED] Snort-2.9.6.0 on Slackware64-current 3rensho Linux - Software 2 03-03-2014 05:06 PM
upgrading slackware64 13.1 multilib to slackware64 -current multilib Cultist Slackware 4 03-12-2011 09:04 AM
Updating from Slackware64-current to Slackware64 13. glore2002 Slackware 4 08-28-2009 06:50 PM
Slackware64-current on a second HD. glore2002 Slackware 7 08-23-2009 11:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration