Now you'll see this warning message: lpadmin: Printer drivers are deprecated and will stop working in a future version of CUPS.
Not sure what this will mean for the future with this driver.
Git Clone URL: | https://aur.archlinux.org/capt-src.git (read-only, click to copy) |
---|---|
Package Base: | capt-src |
Description: | Canon CAPT Printer Driver for Linux. Compiled from source code. |
Upstream URL: | http://support-asia.canon-asia.com/ |
Keywords: | canon capt printer |
Licenses: | custom |
Conflicts: | cndrvcups-common-lb, cndrvcups-lb |
Submitter: | reztho |
Maintainer: | mistersmee |
Last Packager: | mistersmee |
Votes: | 77 |
Popularity: | 0.000002 |
First Submitted: | 2010-08-29 20:28 (UTC) |
Last Updated: | 2024-05-26 12:53 (UTC) |
« First ‹ Previous 1 2 3 4 5 6 7 8 .. 27 Next › Last »
Now you'll see this warning message: lpadmin: Printer drivers are deprecated and will stop working in a future version of CUPS.
Not sure what this will mean for the future with this driver.
Thanks kaztai. Patch implemented in the PKGBUILD.
Thanks kaztai, works fine now with LBP2900
"captstatusui Error: No specified Printer" fixed.
add in PKGBUILD prepare():
sed -i 's@#include <cups/cups.h>@#include <cups/cups.h>\n#include <cups/ppd.h>@' "${_capt_dir}/statusui/src/uimain.c"
there is a problem with this driver and the last version of kate (default text editor in plasma/kde) : we can not print (capt error in cups), see my thread :
Thank you, reztho, for your valuable advice! base-devel installed :)
To avoid defective drivers and for correct package manager information, you can translate the original deb packets (cndrvcups-capt_2.71-1_amd64.deb and cndrvcups-common_3.21-1_amd64.deb from CANON https://support-sg.canon-asia.com/contents/SG/EN/0100459601.html) using the debtap program (https://aur.archlinux.org/packages/debtap/). Obtain the .pkg.tar.xz arch installation packages. .PKGINFO files can be edited easily before generating .pkg.tar.xz packages. Everything goes perfectly.
'@reztho, been using your driver working fine all thru the years never updated it until a few days ago. Spent alot of time digging & found out the solution, fyi, i'm just a power user not a programmer.
Long story short, found that you need the flag '-no-pie' at LDFLAGS at Line 118 => https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=capt-src#n118 Also found the compiled libbuftool.a needs to be copied to /usr/lib/ then only statusui will build. Hope this helps, Thanks for maintaining & keep updating this driver for so many years, Cheers.
Finally found out why libbuftool.a was not found during build is bcos ${pkgdir} was not properly expanded :P
LDFLAGS='-L'${pkgdir}'/usr/lib -no-pie'
In case anyone wants to build the previous version 2.70, it'll work with the above same flag. https://bit.ly/2wUesB1 To know which model is supported then refer to here => https://bit.ly/2CEtRus All credits goes to reztho for this driver.
bluetux, hope you saw the pinned comments. Good luck with that. Keep the installation files somewhere in case you want to uninstall the driver someday. You've lost the whole point of using a package by doing a manual installation in your system: now you have the driver files scattered around your system without the package manager knowing about them.
Cray2TheZ, pacman -S base-devel. This pacman group is a must to have in any system, specially if you're looking to compile stuff like this package. It's a pity that group is not enforced anymore to be installed in the installation guide: https://wiki.archlinux.org/index.php/Installation_guide#Install_the_base_packages, as you can see it's mentioned there.
The package is not compiling in Arch, even after installing automake and autoconf. I get a this error:
checking for gcc... no checking for cc... no checking for cl.exe... no configure: error: in `/home/myusername/capt-src/src/cndrvcups-common3.21/buftool': configure: error: no acceptable C compiler found in $PATH
Please help! Thanks!
Pinned Comments
reztho commented on 2020-06-11 14:55 (UTC) (edited on 2020-06-11 18:47 (UTC) by reztho)
Do not expect this driver to work in the near future if Canon doesn't release a new version soon. This driver is from 2017 and the GCC environment started deprecating a lot of stuff used by this driver. Please, ask for better Linux support to Canon.
Do not flag this package out of date if there's no new version available. That's bad community behavior. A comment telling about the issue is enough.
If your machine uses the x86_64 arch, the multilib pacman repo will be needed for this driver: https://wiki.archlinux.org/index.php/Official_repositories#multilib
For an alternative 100% open source driver although not official by Canon, go to: https://aur.archlinux.org/packages/captdriver-git/
buovjaga commented on 2020-01-09 10:33 (UTC)
Re: driver deprecation - the CUPS creator opened this issue to discuss how to handle old devices: https://github.com/apple/cups/issues/5271
From one of his comments: "Before we drop PPDs, we will be working with developers to create those printer applications (particularly Gutenprint), and will likely end up creating our own printer application (based on the existing ippserver sample code) to support existing PostScript and CUPS raster drivers. So the goal is definitely not to leave people SOL, but rather to plan for a future where we aren't limited by the capabilities of the past."
reztho commented on 2019-10-06 11:44 (UTC)
Now you'll see this warning message: lpadmin: Printer drivers are deprecated and will stop working in a future version of CUPS.
Not sure what this will mean for the future with this driver.