You are not logged in.
hello im new in the forum and been trying to install the driver for my canon ip2800 printer i have modified the pkgbuild for the cnijfilter-ip2700series and adjusted for the IP2800
Like so
# Contributor: Cyker Way <cykerway at gmail dot com>
# Modified: Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
pkgname=cnijfilter-ip2800series
pkgver=4.10
pkgrel=1
pkgdesc="Canon IJ Printer Driver for Pixma IP2800 series (with cnijfilter-common410)"
url="http://support-cn.canon-asia.com/contents/CN/ZH/0100586403.html"
arch=('i686' 'x86_64')
license=('custom')
if [ "${CARCH}" = 'x86_64' ]; then
depends=('lib32-libcups' 'lib32-popt' 'libpng12')
elif [ "${CARCH}" = 'i686' ]; then
depends=('libcups' 'popt' 'libpng12')
fi
makedepends=('rpmextract')
source=(http://gdlp01.c-wss.com/gds/4/0100005864/01/${pkgname}-${pkgver}-1-rpm.tar.gz)
md5sums=('98da96754fe6398d9461e2796b832d55')
package() {
cd ${pkgdir}
bsdtar xvf ${srcdir}/${pkgname}-${pkgver}-1-rpm/packages/cnijfilter-common-4.10-1.x86_64.rpm
bsdtar xvf ${srcdir}/${pkgname}-${pkgver}-1-rpm/packages/cnijfilter-common-4.10-1.i386.rpm
bsdtar xvf ${srcdir}/${pkgname}-${pkgver}-1-rpm/packages/${pkgname}-${pkgver}-1.x86_64.rpm
bsdtar xvf ${srcdir}/${pkgname}-${pkgver}-1-rpm/packages/${pkgname}-${pkgver}-1.i386.rpm
mv usr/local/bin usr/bin
mv usr/local/share/* usr/share/
rm -r usr/local
mkdir -p usr/share/licenses/${pkgname}
mv usr/share/doc/${pkgname}-${pkgver}/* usr/share/licenses/${pkgname}
rm -rf usr/share/doc
}
afther the pkg build config
i always get this from the install
warning: cnijfilter-ip2800series-4.10-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...Packages (1) cnijfilter-ip2800series-4.10-1
Total Installed Size: 2.59 MiB
Net Upgrade Size: 0.00 MiB:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring [######################] 100%
(1/1) checking package integrity [######################] 100%
(1/1) loading package files [######################] 100%
(1/1) checking for file conflicts [######################] 100%
(1/1) checking available disk space [######################] 100%
error: cannot remove /usr/lib64/ (Not a directory)
(1/1) reinstalling cnijfilter-ip2800series [######################] 100%
and when i install the printer from CUPS interface i get this message
Unable to get list of printer drivers: Success
if someone can point me in the right direction as of what im missing to get a proper install of the driver for my printer i much apreciated
Last edited by xony (2016-01-02 18:38:44)
Offline
What is the output of ls -l /usr/ ?
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
the output from ls -l /usr/ is this
total 400
drwxr-xr-x 5 root root 118784 Dec 31 09:42 bin
drwxr-xr-x 513 root root 36864 Dec 31 09:05 include
drwxr-xr-x 300 root root 172032 Dec 31 09:35 lib
drwxr-xr-x 31 root root 40960 Dec 31 01:10 lib32
lrwxrwxrwx 1 root root 3 Dec 31 09:08 lib64 -> lib
drwxr-xr-x 11 root root 4096 Feb 15 2015 local
lrwxrwxrwx 1 root root 3 Sep 30 13:17 sbin -> bin
drwxr-xr-x 299 root root 12288 Dec 31 00:28 share
drwxr-xr-x 5 root root 4096 Dec 20 02:03 src
drwxr-xr-x 3 root root 4096 Sep 15 14:06 var
Offline
mv usr/local/bin usr/bin
That is wrong...
Offline
xony wrote:mv usr/local/bin usr/bin
That is wrong...
ok just deleted this sentences from the pkg build
mv usr/local/bin usr/bin
mv usr/local/share/* usr/share/
rm -r usr/local
still the same error
Last edited by xony (2015-12-31 18:56:59)
Offline
I've seen that error before; I believe it is related to foomatic-db-engine. Try uninstalling that, and remember to restart CUPS!
Offline
ok i solved the installing but by installing gutenprint 5.2.11 pre2 witch support the printer canon ip2810 that i have, and wich is not supported by the gutenprint 5.2.10 wich is the stable available thru pacman
so what i did is install gutenprint cvs wich is outdated on version 5.2.9 from AUR and modified as follows to install gutenprint-5.2.11-pre2 modified the sums to updated packages and pkg versions and compile
# Maintainer: Thomas Hebb <tommyhebb@gmail.com>
# Contributor: Andreas Radke <andyrtr@archlinux.org>
# Modifier: Johnny Santisteban <xplode53@gmail.com>
pkgname=gutenprint-5.2.11-pre2
_docname=gutenprint
pkgver=20151007
_docver='5.2.11-pre2'
pkgrel=1
pkgdesc="Top quality printer drivers for POSIX systems (cvs version)"
arch=('i686' 'x86_64')
license=('GPL')
install=gutenprint.install
depends=('glibc')
makedepends=('cvs' 'gimp' 'gtk2' 'cups' 'foomatic-db-engine' 'ghostscript')
optdepends=('cups: to use cups printer spooler(recommended)'
'foomatic-db-engine: to use foomatic spooler'
'ghostscript: adds postscript support for ijsgutenprint'
'gimp: adds gutenprint plugin to gimp')
source=("http://downloads.sourceforge.net/gimp-print/${_docname}-${_docver}.tar.bz2"
'configure_ac.patch' 'usr_sbin.patch')
url='http://gimp-print.sourceforge.net/'
provides=('gutenprint')
conflicts=('gutenprint')
replaces=('gimp-print')
options=('!libtool' '!emptydirs')
noextract=("${_docname}-${_docver}.tar.bz2")
sha256sums=('2ae776f7c2cfe7996131fcb39dd42342d61c445135c1abb16b59daf8dae3b092'
'041690da1d414e82297fc9bb8a1395cf133e198123c73572c69d932173343768'
'a232a39e30986426dc34c39092a4c15ede5bac653765801ccf76b2532136171a')
_cvsroot=':pserver:anonymous:@gimp-print.cvs.sourceforge.net:/cvsroot/gimp-print'
_cvsmod='gimp-print'
prepare() {
cd "$srcdir"
msg "Connecting to $_cvsmod.sourceforge.net CVS server...."
if [[ -d "$_cvsmod/CVS" ]]; then
cd "$_cvsmod"
cvs -z3 update -d
else
cvs -z3 -d "$_cvsroot" co -D "$pkgver" -f "$_cvsmod"
cd "$_cvsmod"
fi
msg "CVS checkout done or server timeout"
msg "Starting build..."
rm -rf "$srcdir/$_cvsmod-build"
cp -r "$srcdir/$_cvsmod" "$srcdir/$_cvsmod-build"
cd "$srcdir/$_cvsmod-build"
patch -Np1 -i "${srcdir}/configure_ac.patch"
patch -Np1 -i "${srcdir}/usr_sbin.patch"
# We extract the precompiled documentation from the latest release because there is currently no easy way to run db2html on Arch.
tar -xjf "${srcdir}/${_docname}-${_docver}.tar.bz2" --strip-components 1 "${_docname}-${_docver}/doc/developer"
}
build() {
cd "$srcdir/$_cvsmod-build"
NOCONFIGURE=1 ./autogen.sh
./configure --prefix=/usr \
--sbindir=/usr/bin \
--enable-samples \
--enable-cups-ppds \
--enable-cups-ppds-at-top-level \
--disable-translated-cups-ppds \
--disable-globalized-cups-ppds \
--disable-static \
--disable-static-genppd
make
}
package() {
cd "$srcdir/$_cvsmod-build"
make DESTDIR="$pkgdir/" install
}
# vim:set ts=2 sw=2 et:
after compiling and installing gutenprint
i added my printer to cups by issuing the following commands
sudo plinfo -v
wich gives
network socket
network http
network https
network ipps
network lpd
network ipp
direct [b] usb://Canon/iP2800%20series?serial=433003 [/b]
network smb
we take the direct address
and compile the following command including the location of the driver for the printer wich is in /usr/share/cups/model/C/stp-bjc-PIXMA-iP2810.5.2.ppd.gz
sudo lpadmin -p Canon_ip2800 -E -v usb://Canon/iP2800%20series?serial=433003 -P /usr/share/cups/model/C/stp-bjc-PIXMA-iP2810.5.2.ppd.gz
and set it as default with
lpoptions -d Canon_ip2800
after that we are ready to print
thaks to all that tryed to help me
Last edited by xony (2016-01-02 18:37:13)
Offline