You are not logged in.

#1 2012-09-05 11:07:17

utopyand
Member
Registered: 2012-09-05
Posts: 33

[SOLVED] brother-mfc295cn printer driver not working on Systemd

After the upgrade to Systemd i've installed this printer driver, but cups doesn't show the printer neither the printer manufacturer. Restarting cups does nothing.
Maybe because rc.d folder isn't used anymore?
I posted here because the package is currently orphan.

Last edited by utopyand (2012-09-05 11:53:49)

Offline

#2 2012-09-05 11:27:18

utopyand
Member
Registered: 2012-09-05
Posts: 33

Re: [SOLVED] brother-mfc295cn printer driver not working on Systemd

Problem solved, after the installation i have to go to the "/usr/local/Brother/Printer/mfc295cn/cupswrapper/" dir and run a "sudo ./cupswrappermfc295cn". Looks like only this makes available the driver to cups, but installs the printer over usb (not my case, i'm using ethernet).
After that, i changed the printer uri to "lpd://printer_ip/BINARY_P1".

I'll try to update the PKGBUILD to the new version of the driver.

# Maintainer: orphan package
pkgname=brother-mfc295cn
pkgver=1.1.3
pkgrel=1
pkgdesc="Driver for the Brother MFC-295CN network printer"
url="http://solutions.brother.com/linux/en_us/index.html"
license=('custom:brother')

if [ $CARCH == "x86_64" ]; then
	depends=('lib32-libcups' 'a2ps' 'psutils')
else
	depends=('a2ps' 'psutils')
fi

makedepends=('rpmextract')
arch=('i686' 'x86_64')
source=(
	http://www.brother.com/pub/bsc/linux/dlf/mfc295cnlpr-1.1.3-1.i386.rpm
	http://www.brother.com/pub/bsc/linux/dlf/mfc295cncupswrapper-1.1.3-1.i386.rpm
)
md5sums=('8f4bf40d4e09befd59599dcffe75e31f'
         'e759c162ae1ab1007a4d5b35541dd6da')

build()
{
	cd $srcdir
	for i in *.rpm; do
		rpmextract.sh "$i" || return 1
	done
	sed -i 's|/etc/init.d|/etc/rc.d|' opt/brother/Printers/mfc295cn/cupswrapper/cupswrappermfc295cn
}

package()
{	
	cp -r $srcdir/* $pkgdir  || return 1
} 

Last edited by utopyand (2012-09-05 11:53:28)

Offline

Board footer

Powered by FluxBB