Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Drukarka Brother DCP-135C
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) Instalacja i sprzęt
View previous topic :: View next topic  
Author Message
ksitau
n00b
n00b


Joined: 07 Dec 2006
Posts: 13
Location: Wa-wa

PostPosted: Wed Apr 23, 2008 4:32 pm    Post subject: [SOLVED] Drukarka Brother DCP-135C Reply with quote

Jak zainstalowac pod gentoo Brother DCP-135C?

Pozdrawiam
_________________
COMPAL FL90 T9300 4GB RAM Bluetooth Wifi Brother DCP-135C Printer


Last edited by ksitau on Tue May 20, 2008 4:00 pm; edited 1 time in total
Back to top
View user's profile Send private message
SlashBeast
Moderator
Moderator


Joined: 23 May 2006
Posts: 2843

PostPosted: Wed Apr 23, 2008 4:50 pm    Post subject: Reply with quote

Normalnie, google + gentoo + cups.
_________________
BitBucket -- better-initramfs
Back to top
View user's profile Send private message
ksitau
n00b
n00b


Joined: 07 Dec 2006
Posts: 13
Location: Wa-wa

PostPosted: Wed Apr 23, 2008 5:42 pm    Post subject: Reply with quote

A tak, no ze tez nie pomyslalem ;-)

A jakies bardziej praktyczne porady? Bo wszystko co do tej pory widzialem w sieci nie pomoglo. Pod CUPS nie chodzilo, odinstalowalem i zainstalowalem LPR - tyz nic. Musze cos miec nie tak...
_________________
COMPAL FL90 T9300 4GB RAM Bluetooth Wifi Brother DCP-135C Printer
Back to top
View user's profile Send private message
SlashBeast
Moderator
Moderator


Joined: 23 May 2006
Posts: 2843

PostPosted: Wed Apr 23, 2008 6:08 pm    Post subject: Reply with quote

Cups nie widział Ci drukarki wpiętej w port?
_________________
BitBucket -- better-initramfs
Back to top
View user's profile Send private message
ksitau
n00b
n00b


Joined: 07 Dec 2006
Posts: 13
Location: Wa-wa

PostPosted: Wed Apr 23, 2008 7:02 pm    Post subject: Reply with quote

CUPS widzi drukarke. Nie wiem tylko jak skorzystac z tych sterownikow brothera, bo sa przeciez pod LPR. Jest tez tam jakis wrapper CUPS, ale sa tam jakies 3 pliczki nie wiecej niz 300 bajtow kazdy. Nie wiele mowia mi.

Odinstalowalem wiec CUPSa i mam LPRng i teraz to juz nic nie mam.

Ale podstawowy problem to nie wiem jak ugryzc te sterowniki od brothera
_________________
COMPAL FL90 T9300 4GB RAM Bluetooth Wifi Brother DCP-135C Printer
Back to top
View user's profile Send private message
ksitau
n00b
n00b


Joined: 07 Dec 2006
Posts: 13
Location: Wa-wa

PostPosted: Sun May 18, 2008 4:00 pm    Post subject: Reply with quote

English follows..

Instalacja w linux drukarki Brother DCP-135C: Problem rozwiazany

1. Pobierz nastepujace pliki ze strony brothera (w miejscu gwiazdki jest numer wersji pliku):
dcp135ccupswrapper-*.rpm
dcp135clpr-*.rpm

2. Wrzuc te pliki do jednego katalogu
3. Otworz terminal i przejdz do tego katalogu komenda "cd"
4. Wykonaj polecenia:
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
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

5. Pod adresem http://localhost:631 mozesz wydrukowac strone testowa

U mnie na 64 bitach dziala

-------------------------------------------------------------------------------------

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
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

5. Now you should be able to print test page, just open web browser and go to this page: http://localhost:631

Works fine for me on my 64bit linux version
_________________
COMPAL FL90 T9300 4GB RAM Bluetooth Wifi Brother DCP-135C Printer
Back to top
View user's profile Send private message
lazy_bum
l33t
l33t


Joined: 16 Feb 2005
Posts: 690

PostPosted: Sun May 18, 2008 5:57 pm    Post subject: Reply with quote

@ksitau - to jeszcze popatrz na regulamin i zastosuj się do punktu mówiącego o "rozwiązanych" tematach.
_________________
roslin uberlay | grubelek
Back to top
View user's profile Send private message
ChrisJumper
Advocate
Advocate


Joined: 12 Mar 2005
Posts: 2229
Location: Germany

PostPosted: Sun Sep 08, 2019 11:27 pm    Post subject: Reply with quote

Dear Gentoo Community,

i am just a thread-gravedigger cause i got trouble with this printer in September 2019 with:

- net-print/cups-2.3.0
- cups-filters-1.25.4

Short Story:

For rc-init:
Code:
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


Or for Systemd:

Code:
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 cups


Long Story - With Links and Errors for the Search Engines.

The Printer did not work, and i could not re-install the driver. Cups interface say: Could not copy ppd file. Reinstall the driver from rpm did not work.. like in the wiki.

Every time i try this:
Code:
# rpm -i --nodeps --replacepkgs dcp135clpr-1.0.1-1.i386.rpm

all seem to work fine. But the cupswrapper don't.
Code:
# 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.


With cupstestppd i got a german error message:

Code:
 # 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.


The English Translation is:
Code:
lpadmin: Unable to open PPD "/tmp/077c45d7f27f0": Illegal option keyword
string on line 229.


The Solution i found here.

smolny wrote:
-edit your .ppd file, changing each? occurence of word "Custom" to
"Other", and save :)


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 line

Quote:
*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


From:
*BRDocument custom/custom: ""
to:
*BRDocument Other/Other: ""

It works. If i add the printer again through the Browsers administration http://localhost:631
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) Instalacja i sprzęt All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum