Witaj na Forum Linuxiarzy
Zanim zalogujesz się, by pisać na naszym forum, zapoznaj się z kilkoma zasadami savoir-vivre'u w dziale Administracja.
Wiadomości z problemami zamieszczone w wątku "Przywitaj się" oraz wszelkie reklamy na naszym forum będą usuwane.

drukarka laserowa

Zaczęty przez gundz, Maj 12, 2020, 04:00:11 PM

Poprzedni wątek - Następny wątek

gundz

mam problem bo nie mogę zainstalować drukarki brother HL-L2352DW,
Proszę o pomoc

pavbaranov

Mamy problem, albowiem nie wiemy co zrobiłeś, by ją zainstalować. Ba, nawet nie wiemy, czy udałeś się na stronę wsparcia Brothera i postąpiłeś wg informacji właściwych dla Twojej drukarki.

gundz

Na początku nie znalazło mi sterownik to wszedłem na stronę producenta i pobrałem sterownik z końcówka .deb  ale nie można tego zainstalować. Krzyczy coś tam o innej architekturze. Mam system 64  bitowy

pavbaranov

Czy sądzisz, że z Twojej informacji cokolwiek wynika? Jesteś w błędzie.
Na stronie: https://www.brother.pl/support/hl-l2352dw/downloads masz zarówno skrypt instalacyjny jak i sam sterownik (ów deb). Sterowniki Brothera często są 32 bitowe i wymagają bibliotek multilib. Sorry, ale to wszystko na stronie wsparcia Brothera jest bardzo dobrze opisane. Wróć, jak będziesz miał konkretny problem, czyli wykonasz instrukcje, a mimo tego nie zainstalujesz tej drukarki.

gundz

Wszedłem na stronę. pobrałem

root@q-pc:/home/q/Pobrane# dpkg  -i  --force-all 1.deb
dpkg: ostrzeżenie: "ldconfig" nie odnaleziono w PATH lub nie jest wykonywalny
dpkg: ostrzeżenie: "start-stop-daemon" nie odnaleziono w PATH lub nie jest wykonywalny
dpkg: ostrzeżenie: problem zignorowany po użyciu opcji --force:
dpkg: ostrzeżenie: 2 oczekiwane programy nieznalezione w PATH lub niebędące wykonywalnymi
Uwaga: Zmienna PATH dla konta administratora zawiera zwykle katalogi /usr/local/sbin, /usr/sbin oraz /sbin
(Odczytywanie bazy danych ... 138753 pliki i katalogi obecnie zainstalowane.)
Przygotowywanie do rozpakowania pakietu 1.deb ...
Rozpakowywanie pakietu hll2350dwpdrv:i386 (4.0.0-1) nad (4.0.0-1) ...
Konfigurowanie pakietu hll2350dwpdrv:i386 (4.0.0-1) ...
root@q-pc:/home/q/Pobrane#


przyhttp://localhost:631/printers/?QUERY=
nic mi nie znajduje a dalej nie wiem co mam robić

pavbaranov

#5
Się tak spytam - czy oprócz zainstalowania paczki (choć coś z tą instalacją raczej nie do końca prawidłowo poszło; oprócz paczki deb masz tam jeszcze proste narzędzie do instalacji tego sterownika, może prościej byłoby Ci z niego skorzystać), zainstalowałeś (dodałeś) drukarkę w CUPS?
Nadto - jak się łączysz z tą drukarką? USB czy wifi?

ciubaka

W sparky w aptusie jest instalator paczek deb, których nie ma w repozytorium, albo których w repozytorium znaleźć się nie umie. Ściąga się taką paczkę na kompa, najlepiej odpowiednią dla posiadanego sparkiego. Może to być na przykład sterownik do drukarki, jeżeli akurat w tym sparkim go brak (ja nie mam drukarki, nie zgłębiałem więc tego tematu nigdy). I odpala się instalatora z aptusa, wrzucając do niego paczkę, którą się chce zainstalować. Przez chwilę można poobserwować sobie, co system robi i czy mu to dobrze wychodzi. I jeżeli wszystko przeprowadzono poprawnie, w szczególności jeżeli dobrano właściwy pakiet dla istniejącego sparkiego, zgodny z jego wymogami - można zaraz się cieszyć dobrodziejstwem ubogaconego systemu operacyjnego. To naprawdę proste, nawet ja to umiem zrobić, uwielbiam tę dystrybucję za to, jest po prostu cudowna :-)
Ps. Po co było force all 1.deb ?  Zrób to jak napisałem i ciesz się życiem, nie trać czasu na walkę z konsolą tam gdzie nie musisz...

pavbaranov

Bardziej mnie zastanawia skąd nazwa paczki 1.deb :) Paczka nosi nazwę: hll2350dwpdrv-4.0.0-1.i386.deb
Ok. Jeszcze jedno - nie podałeś oczywiście niczego o sprzęcie/systemie. Paczka Brothera jest w architekturze 32-bitowej. Dla jej wykorzystania w systemie 64-bitowym, jeśli taki masz, musisz mieć udostępnione repozytoria multilib.

@ciubaka - -force-all jest żywcem przepisane ze sposobu podawanego przez Brothera na instalację paczki:
CytatInstall Linux driver
Turn on the printer and connect the USB cable.
Open the terminal and go to the directory where the driver is.
Install Linux driver.The install process may take some time. Please wait until it is complete.
Command (for dpkg)  :  dpkg  -i  --force-all  (linux-drivername)
Check if the Linux driver is installed
Command (for dpkg)  :  dpkg  -l  |  grep  Brother
I w zasadzie tyle. Jeśli multilib w systemie jest, jeśli CUPS jest podniesiony i jeśli dodaliśmy drukarkę, to nie powinno być żadnych problemów z użytkowaniem jakiejkolwiek drukarki Brothera w linuksie (sam mam od kilku ładnych lat i to na różnych systemach).

Fibogacci

Cytat: gundz w Maj 12, 2020, 04:00:11 PM
mam problem bo nie mogę zainstalować drukarki brother HL-L2352DW,
Proszę o pomoc

Instalowałem wczoraj Brother'a, inną wersją (HL-1110) i nie w Sparky, ale procedura pewnie będzie podobna.

1. Wejdź na stronę Brother dla swojego modelu:

https://support.brother.com/g/b/downloadlist.aspx?c=pl&lang=pl&prod=hll2352dw_eu&os=128&flang=English

2. Pobierz Driver Install Tool

3. Pojawi się informacja (po angielsku) pokazująca sposób instalowania:

CytatStep1. Download the tool.(linux-brprinter-installer-*.*.*-*.gz)

The tool will be downloaded into the default "Download" directory.
(The directory location varies depending on your Linux distribution.)
e.g. /home/(LoginName)/Download

Step2. Open a terminal window.

Step3. Go to the directory you downloaded the file to in the last step. By using the cd command.

e.g. cd Downloads

Step4. Enter this command to extract the downloaded file:

Command: gunzip linux-brprinter-installer-*.*.*-*.gz

e.g. gunzip linux-brprinter-installer-2.1.1-1.gz

Step5. Get superuser authorization with the "su" command or "sudo su" command.

Step6. Run the tool:

Command: bash linux-brprinter-installer-*.*.*-* Brother machine name
e.g. bash linux-brprinter-installer-2.1.1-1 MFC-J880DW

Step7. The driver installation will start. Follow the installation screen directions.


When you see the message "Will you specify the DeviceURI ?",

For USB Users: Choose N(No)
For Network Users: Choose Y(Yes) and DeviceURI number.

The install process may take some time. Please wait until it is complete.

Dla ułatwienia:

1. Otwórz terminal.

2. Przejdź do katalogu gdzie pobrałeś plik wpisując (przykładowo):

$ cd /home/twojanazwa/Pobrane

3. Wpisz w terminalu (taki plik zostanie pobrany, sprawdziłem, ale dla pewności sprawdź też sam):

$ gunzip linux-brprinter-installer-2.2.1-1.gz

4. Uruchom jako administrator w terminalu:

sudo bash linux-brprinter-installer-2.2.1-1 HL-L2352DW

Rozpocznie się instalacja.

Jeśli drukarka jest tylko na USB, trzeba będzie wybrać N (No), jeśli na WiFi Y (Yes).

Ja akurat instalowałem w ten sposób drukarkę na USB. Nie wiem, jaka jest ta Twoja.

pavbaranov

Chłopaki - paczka jest zainstalowana! Nie wiemy natomiast, czy drukarka została skonfigurowana w CUPS oraz, czy sam CUPS jest uruchomiony. Ok, zatem:
systemctl status org.cups.cupsd.service
To nam pokaże, czy CUPS uruchomiony.
Reszta - dodanie drukarki - choćby pod localhost:631 i po prostu dodać.

Albedo 0.64

Mam drukarkę ze skanerem Brother DCP-J105 i w celu instalacji sterowników musiałem pobrać 5 paczek deb 1 archiwum gz i 1 plik txt z instrukcją. W celach poglądowych załączam treść pliku txt:

How to Install driver install tool

Step1. Download the tool.(linux-brprinter-installer-*.*.*-*.gz)

The tool will be downloaded into the default "Download" directory.
(The directory location varies depending on your Linux distribution.)
e.g. /home/(LoginName)/Download

Step2. Open a terminal window and go to the directory you downloaded the file to in the last step.

Step3. Enter this command to extract the downloaded file:

Command: gunzip linux-brprinter-installer-*.*.*-*.gz

Step4. Get superuser authorization with the "su" command or "sudo su" command.

Step5. Run the tool:

Command: bash linux-brprinter-installer-*.*.*-* Brother machine name

Step6. The driver installation will start. Follow the installation screen directions.


When you see the message "Will you specify the DeviceURI ?",

For USB Users: Choose N(No)
For Network Users: Choose Y(Yes) and DeviceURI.

The install process may take some time. Please wait until it is complete.

How to Install LPR driver (deb package)

    Download LPR driver.
     
    Login as a superuser ( or use "sudo" option if required).
     
    Check if pre-required procedures are completed
    For Debian/Ubuntu 64bit
     
    Install the driver.
        Turn on the printer and connect the usb, network or parallel cable.
        Go to the directory where the driver is.
        Install LPR driver.The install process may take some time. Please wait until it is complete.
        Command  :  dpkg -i --force-all  (lpr-drivername)
        Check if the LPR driver is installed.
        Command  :  dpkg -l  |  grep  Brother
         
    Confirm/Configure a file according to your connection.

     
        Check the configuration filename for your distribution.
        Example:
        openSUSE, Ubuntu, Debian : /etc/printcap
        Redhat, fedora, Mandriva : /etc/printcap.local
         
        Edit the file according to your connection.
        For USB Connection (Default)
        Check if the parameter of ":lp" is ":lp=/dev/usb/lp0"
        For Network Connection
        replace ":lp" line to the following 2 lines
        :rm=(ip address of your printer)\
        :rp=lp\
        For Parallel Connection
        replace ":lp" line to the following line
        :lp=/dev/lp0\
         
        Restart the print system.
        Command  (for  lpr):  /etc/init.d/lpr  restart
        Command  (for  lprng)  :  /etc/init.d/lprng  restart
         
    Try a test print.

How to Install CUPSwrapper printer driver (deb package)

    Login as a superuser ( or use "sudo" option if it is required )
     
    Check if pre-required procedures are completed
    For Debian/Ubuntu 64 bit
    For Ubuntu8.04 or greater
     
    Download drivers
    Download LPR driver and cupswrapper driver.
     
    Install LPR driver and cupswrapper driver
        Turn on the printer and connect the USB cable.
        Open the terminal and go to the directory where the drivers are.
        Install LPR driver.The install process may take some time. Please wait until it is complete.
        Command (for dpkg)  :  dpkg  -i  --force-all  (lpr-drivername)
         
        Install cupswrapper driver.The install process may take some time. Please wait until it is complete.
        Command (for dpkg)  :  dpkg  -i  --force-all  (cupswrapper-drivername)
         
        Check if the LPR driver and cupswrapper driver are installed
        Command (for dpkg)  :  dpkg  -l  |  grep  Brother
         
    Depending on the connection type you are using (USB or Network), follow one of the steps below.

    (for USB Connection)
        Open a web browser and go to "http://localhost:631/printers".
        Check if the Device URI of your printer is "usb://brother/(your printer's model name)"

        If the device URI is different from the example above, please go to "Modify Printer" of your printer to select proper device and driver.
        If your printer is not listed on "http://localhost:631/printers", please go to "http://localhost:631/admin" and click "Add printer" and select proper device and driver.

     
    (for Network Connection)

     
        Open a web browser and go to "http://localhost:631/printers".
        Click "Modify Printer" and set following parameters.
        - "LPD/LPR Host or Printer" or "AppSocket/HP JetDirect"            for Device
        - lpd://(your printer's IP address)/binary_p1            for Device URI
        - Brother            for Make/Manufacturer Selection
        - Your printer's name            for Model/Driver Selection
    Try a test print
    Open a text editor, write something and select "print" from the menu.

Do prawidłowego działania skanera należy dodać użytkownika do grupy lp i lpadmin.
MX Linux Xfce
Linux registered user 556565

gundz

zainstalowałem drukarkę przez APTus i nic .i przez komendy i też nic

root@q-pc:/home/q/Pobrane# gunzip linux-brprinter-installer-2.2.1-1.gz
root@q-pc:/home/q/Pobrane# sudo bash linux-brprinter-installer-2.2.1-1 HL-L2352DW
You are going to install following packages.
   hll2350dwpdrv-4.0.0-1.i386.deb
OK? [y/N] ->

root@q-pc:/home/q/Pobrane# sudo bash linux-brprinter-installer-2.2.1-1 HL-L2352DW
You are going to install following packages.
   hll2350dwpdrv-4.0.0-1.i386.deb
OK? [y/N] ->y

dpkg -x hll2350dwpdrv-4.0.0-1.i386.deb /
dpkg-deb: budowanie pakietu "hll2350dwpdrv" w "hll2350dwpdrv-4.0.0-1a.i386.deb".
dpkg -b ./brother_driver_packdir hll2350dwpdrv-4.0.0-1a.i386.deb
dpkg -i --force-all hll2350dwpdrv-4.0.0-1a.i386.deb
(Odczytywanie bazy danych ... 138753 pliki i katalogi obecnie zainstalowane.)
Przygotowywanie do rozpakowania pakietu hll2350dwpdrv-4.0.0-1a.i386.deb ...
Rozpakowywanie pakietu hll2350dwpdrv:i386 (4.0.0-1) nad (4.0.0-1) ...
Konfigurowanie pakietu hll2350dwpdrv:i386 (4.0.0-1) ...
lpadmin -p HLL2350DW -E -v usb://Brother/HL-L2350DW%20series?serial=E78260G9N174987 -P /usr/share/ppd/brother/brother-HLL2350DW-cups-en.ppd
#
Will you specify the Device URI? [Y/n] ->n

Test Print? [y/N] ->y

wait 5s.
lpr -P HLL2350DW /usr/share/cups/data/testprint
linux-brprinter-installer-2.2.1-1: linia 2962: lpr: nie znaleziono polecenia
root@q-pc:/home/q/Pobrane# systemctl status org.cups.cupsd.service
Unit org.cups.cupsd.service could not be found.
root@q-pc:/home/q/Pobrane#

pavbaranov

Przeglądarka webowa wpisz: localhost:631 Dodaj drukarkę: https://wiki.debian.org/SystemPrinting#Adding_a_Printer
lpr - wskazywałby, że to jakoś chce się łączyć nie przez CUPS, a przez stare LPR. Może w istocie - zwłaszcza, gdy ww. nie przyniesie żadnego efektu - odinstaluj tę paczkę, a następnie zainstaluj owym Driver Install Tool: https://download.brother.com/welcome/dlf006893/linux-brprinter-installer-2.2.1-1.gz (masz link).

PS: Sorry, ale skoro usługa w Debianie nie nazywa się org.cups.cupsd.service to coś znów w nim pozmieniali.

gundz

nie umiem tego skonfigurować . Można prosić o gotowe komendy ?

pavbaranov

No przecież masz gotowe komendy. Chcesz tutorial pn. jak posługiwać się CUPS? W sumie sam on w sobie ma swój podręcznik. Czego konkretnie nie umiesz? Nie umiesz otworzyć powiedzmy firefox i wpisać w nim w pasku localhost:631? No bez przesady...

Zobacz najnowsze wiadomości na forum