Strona 1 z 1

Squeeze, drukarka Brother HL 5140 jak zainstalować?

: 19 maja 2012, 17:03
autor: ww71
Witam.
Mam problem z zainstalowaniem drukarki laserowej Brother HL 5140 na Squeeze 6.03. W Lennym nie bylo problemu, bo drukarka była na liście urządzeń, a tu jest. Jakie pakiety należy zainstalować?
Proszę o jakieś wskazówki.

: 19 maja 2012, 17:25
autor: Yampress
cups

Kod: Zaznacz cały

yampress@debian:~$ aptitude show cups
Pakiet: cups                                 
Stan: zainstalowany
Zainstalowany automatycznie: nie
Wersja: 1.5.2-5
Priorytet: opcjonalny
Sekcja: net
Opiekun: Debian CUPS Maintainers <pkg-cups-devel@lists.alioth.debian.org>
Architektura: i386
Rozmiar rozpakowanego: 4182 k
Wymaga: libavahi-client3 (>= 0.6.16), libavahi-common3 (>= 0.6.16), libc6 (>= 2.7), libcups2 (>= 1.5.0), libcupscgi1 (>=
        1.4.2), libcupsimage2 (>= 1.4.0), libcupsmime1 (>= 1.5.0), libcupsppdc1 (>= 1.4.0), libdbus-1-3 (>= 1.0.2), libgcc1
        (>= 1:4.1.1), libgnutls26 (>= 2.12.6.1-0), libgssapi-krb5-2 (>= 1.8+dfsg), libkrb5-3 (>= 1.6.dfsg.2), libldap-2.4-2
        (>= 2.4.7), libpam0g (>= 0.99.7.1), libpaper1, libslp1, libstdc++6 (>= 4.1.1), libusb-1.0-0 (>= 2:1.0.8), debconf (>=
        1.2.9) | debconf-2.0, poppler-utils (>= 0.12), procps, ghostscript (>= 9.02~), lsb-base (>= 3), cups-common (>=
        1.5.2), cups-client (>= 1.5.2-5), ssl-cert (>= 1.0.11), adduser, bc, cups-ppdc, cups-filters
Wymaga wstępnie: dpkg (>= 1.15.7.2)
Poleca: avahi-daemon, colord, foomatic-filters (>= 4.0), cups-driver-gutenprint, ghostscript-cups (>= 9.02~)
Sugeruje: cups-bsd, foomatic-db-compressed-ppds | foomatic-db, hplip, cups-pdf, udev, smbclient
Narusza zależności: cupsddk-drivers (< 1.4.0), foomatic-filters (< 4.0), ghostscript-cups (< 9.02~)
Zastępuje: cupsddk-drivers (< 1.4.0), ghostscript-cups (< 9.02~)
Udostępnia: cupsddk-drivers
Opis: Common UNIX Printing System(tm) - serwer
 Common UNIX Printing System (CUPS(tm)) jest systemem druku i ogólnym zamiennikiem dla lpd i jemu podobnych. Obsługuje
 Internetowy Protokół Drukowania (ang. Internet Printing Protocol (IPP)) i posiada swój własny model sterownika filtru dla
 obsługi różnych typów dokumentów. 
 
 Ten pakiet zawiera demona CUPS i obsługę harmonogramu oraz powiązane z nimi pliki.
Strona internetowa: [URL]http://www.cups.org[/URL]

yampress@debian:~$ 

Restart systemu i w przeglądarce wpisujesz:

Kod: Zaznacz cały

localhost:631
i dalej już intuicyjnie.

: 19 maja 2012, 17:56
autor: ww71
Mnie tak pokazuje:

Kod: Zaznacz cały

aptitude show cups
Pakiet: cups                                 
Stan: zainstalowany
Zainstalowany automatycznie: tak
Wersja: 1.4.4-7+squeeze1
Priorytet: opcjonalny
Sekcja: net
Opiekun: Debian CUPS Maintainers <pkg-cups-devel@lists.alioth.debian.org>
Rozmiar rozpakowanego: 8393 k
Wymaga: libavahi-client3 (>= 0.6.16), libavahi-common3 (>= 0.6.16), libc6 (>= 2.7), libcups2 (>= 1.4.4-3~),
        libcupscgi1 (>= 1.4.2), libcupsdriver1 (>= 1.4.0), libcupsimage2 (>= 1.4.0), libcupsmime1 (>=
        1.4.0), libcupsppdc1 (>= 1.4.0), libdbus-1-3 (>= 1.0.2), libgcc1 (>= 1:4.1.1), libgnutls26 (>=
        2.7.14-0), libgssapi-krb5-2 (>= 1.8+dfsg), libijs-0.35, libkrb5-3 (>= 1.6.dfsg.2), libldap-2.4-2
        (>= 2.4.7), libpam0g (>= 0.99.7.1), libpaper1, libpoppler5, libslp1, libstdc++6 (>= 4.1.1),
        libusb-0.1-4 (>= 2:0.1.12), zlib1g (>= 1:1.1.4), debconf (>= 1.2.9) | debconf-2.0, poppler-utils
        (>= 0.12), procps, ghostscript, lsb-base (>= 3), cups-common (>= 1.4.4), cups-client (>=
        1.4.4-7+squeeze1), ssl-cert (>= 1.0.11), adduser, bc, ttf-freefont, cups-ppdc
Poleca: foomatic-filters (>= 4.0), cups-driver-gutenprint, ghostscript-cups
Sugeruje: cups-bsd, foomatic-db-compressed-ppds | foomatic-db, hplip, xpdf-korean | xpdf-japanese |
          xpdf-chinese-traditional | xpdf-chinese-simplified, cups-pdf, smbclient (>= 3.0.9), udev
W konflikcie z: cupsddk-drivers (< 1.4.0)
Narusza zależności: foomatic-filters (< 4.0)
Zastępuje: cupsddk-drivers (< 1.4.0)
Udostępnia: cupsddk-drivers
Opis: Common UNIX Printing System(tm) - serwer
 Common UNIX Printing System (CUPS(tm)) jest systemem druku i ogólnym zamiennikiem dla lpd i jemu
 podobnych. Obsługuje Internetowy Protokół Drukowania (ang. Internet Printing Protocol (IPP)) i posiada
 swój własny model sterownika filtru dla obsługi różnych typów dokumentów. 
 
 Ten pakiet zawiera demona CUPS i obsługę harmonogramu oraz powiązane z nimi pliki.
To znaczy, że mam cups zainstalowany?

Dodane:
Już działa. Dziękuję.
Pozdrawiam.

: 19 maja 2012, 21:22
autor: Yampress
Nie, to pokazuje informacje o pakiecie cups. Czy cups jest zainstalowany sprawdzasz tak:

Kod: Zaznacz cały

dpkg -l | grep cups


i wszystkie pakiety zainstalowane z nazwą cups wyświetla:

Kod: Zaznacz cały

yampress@debian:~$ dpkg -l |grep cups
ii  cups                                 1.5.2-5                            Common UNIX Printing System(tm) - server
ii  cups-client                          1.5.2-5                            Common UNIX Printing System(tm) - client programs (SysV)
ii  cups-common                          1.5.2-5                            Common UNIX Printing System(tm) - common files
ii  cups-driver-gutenprint               5.2.7-5                            transitional dummy package for gutenprint printer driver
ii  cups-filters                         1.0.16-2                           OpenPrinting CUPS Filters
ii  cups-ppdc                            1.5.2-5                            Common UNIX Printing System(tm) - PPD manipulation utilities
ii  ghostscript-cups                     9.05~dfsg-5                        interpreter for the PostScript language and for PDF - CUPS filters
ii  hplip-cups                           3.12.2-1                           transitional dummy package for hpcups printer driver
ii  libcups2:i386                        1.5.2-5                            Common UNIX Printing System(tm) - Core library
ii  libcupscgi1:i386                     1.5.2-5                            Common UNIX Printing System(tm) - CGI library
rc  libcupsdriver1:i386                  1.5.0-13                           Common UNIX Printing System(tm) - Driver library
ii  libcupsfilters1:i386                 1.0.16-2                           OpenPrinting CUPS Filters - Shared library
ii  libcupsimage2:i386                   1.5.2-5                            Common UNIX Printing System(tm) - Raster image library
ii  libcupsmime1:i386                    1.5.2-5                            Common UNIX Printing System(tm) - MIME library
ii  libcupsppdc1:i386                    1.5.2-5                            Common UNIX Printing System(tm) - PPD manipulation library
ii  printer-driver-hpcups                3.12.2-1                           HP Linux Printing and Imaging - CUPS Raster driver (hpcups)
yampress@debian:~$ 

: 20 maja 2012, 14:54
autor: ww71
Dziękuję.

Dodane:
Witam.
Przy instalacji drukarki Brother HL 5140 coś namieszałem, niepotrzebnie instalując pliki:

Kod: Zaznacz cały

dpkg -i --force-all hl5140lpr-1.1.2-1.i386.deb
dpkg -i hl5140lpr-1.1.2-1.i386.deb
 dpkg -i cupswrapperHL5140-1.0.2-1.i386.deb
dpkg -i --force-all cupswrapperHL5140-1.0.2-1.i386.deb
Z jakimiś błędami coś sie poinstalowało i teraz przy instalacji dowolnego pakietu jest:

Kod: Zaznacz cały

E: Nie udało się odnaleźć pliku dla pakietu hl5140lpr. Może to oznaczać, że trzeba będzie ręcznie naprawić ten pakiet.
i nie można nic zainstalować.

Przy próbie instalacji z pomocą synaptica:

Kod: Zaznacz cały

E: Pakiet hl5140lpr ma zostać przeinstalowany, ale nie można znaleźć jego archiwum.
E: Błąd wewnętrzny pamięci podręcznej (1). Proszę zgłosić błąd.
Usunąłem wszystkie pliki z nazwą HL5140.* z pliku /var/lib/dpkg/info ale nie pomogło. Próbowałem:

Kod: Zaznacz cały

apt-get install -f
apt-get dist-upgrade
apt-get dist-upgrade -f
apt-get upgrade -f
dpkg --configure -a
i nic nie pomogło.

Zrobiłem ponowną konfigurację pakietów:

Kod: Zaznacz cały

dpkg-reconfigure --all

Następnie ponownie przeinstalowałem pakiet:

Kod: Zaznacz cały

dpkg -i hl5140lpr-1.1.2-1.i386.deb
pokazało błędy, ale aptitude i synatptic się odblokowało i działa.

: 20 maja 2012, 22:40
autor: fnmirk