Skip to content

Instantly share code, notes, and snippets.

@ssledz
Last active December 2, 2020 10:26
Show Gist options
  • Select an option

  • Save ssledz/cd5274cbc1edd601b5bf2e36c0a6591f to your computer and use it in GitHub Desktop.

Select an option

Save ssledz/cd5274cbc1edd601b5bf2e36c0a6591f to your computer and use it in GitHub Desktop.

Revisions

  1. ssledz revised this gist Dec 2, 2020. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion installing-HL2270DW.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    Installing HL2270DW
    Installing printer Brother HL2270DW
    =====================

    Preparing
  2. ssledz created this gist Dec 2, 2020.
    48 changes: 48 additions & 0 deletions installing-HL2270DW.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,48 @@
    Installing HL2270DW
    =====================

    Preparing
    ```
    sudo aa-complain cupsd
    sudo mkdir /usr/share/cups/model
    sudo ln -s /etc/init.d/cups /etc/init.d/lp
    sudo mkdir /var/spool/lpd
    sudo apt-get install ia32-libs
    sudo apt-get install lib32stdc++6
    sudo apt-get install sane-utils
    sudo apt-get install psutils
    ```

    Installation
    ```
    wget http://www.brother.com/pub/bsc/linux/dlf/cupswrapperHL2270DW-2.0.4-2.i386.deb
    wget http://www.brother.com/pub/bsc/linux/dlf/hl2270dwlpr-2.1.0-1.i386.deb
    sudo dpkg -i --force-all hl2270dwlpr-2.1.0-1.i386.deb
    sudo dpkg -i --force-all cupswrapperHL2270DW-2.0.4-2.i386.deb
    dpkg -l | grep Brother
    ```

    Checking
    ```
    ping BRW0022581D3587
    nmblookup BRW0022581D3587
    ```

    If not working then
    ```
    sudo vim /etc/nsswitch.conf
    ```
    change
    ```
    hosts: files dns
    ```
    to
    ```
    hosts: files wins dns
    ```
    and install
    ```
    sudo apt-get install winbind
    ```