[SOLVED] Drukarka Brother DCP-135C
Posted: Wed Apr 23, 2008 4:32 pm
Jak zainstalowac pod gentoo Brother DCP-135C?
Pozdrawiam
Pozdrawiam
Welcome to Gentoo Forums, the mailing-list alternative.
https://forums.gentoo.org/
Code: Select all
English version
Linux Gentoo printer installation Brother DCP-135C: Problem solved
1. Get files from Brother website (star means number of version):
Web: http://solutions.brother.com/linux/en_us/index.html
file 1: dcp135ccupswrapper-*.rpm
file 2: dcp135clpr-*.rpm
2. Put those files into one directory
3. Open terminal and change directory to where your downloaded files are located ("cd" command)
4. Run commands:
su
emerge cups
/etc/init.d/cupsd start
rc-update add cupsd default
rpm2targz ./dcp135clpr-*.rpm
rpm2targz ./dcp135ccupswrapper-*.rpm
tar zxvf ./dcp135clpr-*.tar.gz -C /
tar zxvf ./dcp135ccupswrapper-*.tar.gz -C /
cd /usr/local/Brother/Printer/dcp135c/cupswrapper
cp ./cupswrapperdcp135c ./cupswrapperdcp135c.bak
/bin/sed 's/\/etc\/init.d\/cups\ restart/\/etc\/init.d\/cupsd\ restart/g' ./cupswrapperdcp135c.bak > ./cupswrapperdcp135c
/bin/sed -i 's/custom/Other/g' ./cupswrapperdcp135c
mkdir /usr/lib/cups
mkdir /usr/lib/cups/filter
sh cupswrapperdcp135c -i
cp /usr/lib/cups/filter/brlpdwrapperdcp135c /usr/libexec/cups/filter
/etc/init.d/cupsd restart Code: Select all
English version
Linux Gentoo printer installation Brother DCP-135C: Problem solved
1. Get files from Brother website (star means number of version):
Web: http://solutions.brother.com/linux/en_us/index.html
file 1: dcp135ccupswrapper-*.rpm
file 2: dcp135clpr-*.rpm
2. Put those files into one directory
3. Open terminal and change directory to where your downloaded files are located ("cd" command)
4. Run commands:
su
emerge cups
systemctl start cups
systemctl enable default
rpm2targz ./dcp135clpr-*.rpm
rpm2targz ./dcp135ccupswrapper-*.rpm
tar zxvf ./dcp135clpr-*.tar.gz -C /
tar zxvf ./dcp135ccupswrapper-*.tar.gz -C /
cd /usr/local/Brother/Printer/dcp135c/cupswrapper
cp ./cupswrapperdcp135c ./cupswrapperdcp135c.bak
/bin/sed 's/\/etc\/init.d\/cups\ restart/systemctl restart cups/g' ./cupswrapperdcp135c.bak > ./cupswrapperdcp135c
/bin/sed -i 's/custom/Other/g' ./cupswrapperdcp135c
mkdir /usr/lib/cups
mkdir /usr/lib/cups/filter
sh cupswrapperdcp135c -i
cp /usr/lib/cups/filter/brlpdwrapperdcp135c /usr/libexec/cups/filter
systemctl restart cupsCode: Select all
# rpm -i --nodeps --replacepkgs dcp135clpr-1.0.1-1.i386.rpmCode: Select all
# rpm -i --nodeps --replacepkgs dcp135ccupswrapper-1.0.1-1.i386.rpm
lpadmin: Printer drivers are deprecated and will stop working in a future version of CUPS.
lpadmin: Öffnen der PPD "/tmp/077c45d7f27f0": Ungültige Option-Schlüsselwort-Zeichenkette in Zeile 229 nicht möglich.Code: Select all
# cupstestppd /tmp/077c45d7f27f0
/tmp/077c45d7f27f0: FAIL
**FAIL** Unable to open PPD file - Ungültige Option-Schlüsselwort-Zeichenkette on line 229.
REF: Seite 19, Kap. 3.3.Code: Select all
lpadmin: Unable to open PPD "/tmp/077c45d7f27f0": Illegal option keyword
string on line 229.However the rpm cupswrupper did not run through, but i got the same file in /usr/share/cups/model/brdcp135c.ppd (from lp driver?) where i change the linesmolny wrote:-edit your .ppd file, changing each? occurence of word "Custom" to
"Other", and save :)
From:*OpenGroup: Image Type
*%=== Document ================================
*OpenUI *BRDocument/ Image Type: PickOne
*OrderDependency: 21 AnySetup *BRDocument
*DefaultBRDocument: Photo
*BRDocument Photo/Photo: ""
*BRDocument Graphics/Graphics: ""
*BRDocument Other/Other: ""
*CloseUI: *BRDocument