[SOLVED] slackware64 current printer cannot find filter
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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
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
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
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/.
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.
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"
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.
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
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
/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.
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:
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.)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.