Hardware2019.04.21 06:56

[Driver installation]

1. attach your printer to Raspberry-Pi

2. update upgrade list and then upgrade system
    Command Example : sudo apt-get update
    Command Example : sudo apt-get upgrade

3. install the git, build-essential, cmake, libcups2-dev, libcupsimage2-dev
    Command Example : sudo apt-get install git build-essential cmake libcups2-dev libcupsimage2-dev

4. get the printer driver source code from git repository
    Command Example : git clone https://github.com/pdewacht/brlaser.git

5. let's compile and install the printer driver source code
    Command Example : cmake .
    Command Example : make
    Command Example : sudo make install

 

[CUPS Installation]

1. attach your printer to Raspberry-Pi

2. update upgrade list and then upgrade system
    Command Example : sudo apt-get update
    Command Example : sudo apt-get upgrade

3. install CUPS
    Command Example : sudo apt-get install cups

4. allow access to printer for users and admin
    modify this file : sudo nano /etc/cups/cupsd.conf
    (bold letters must be added)

        #Listen 127.0.0.1:631
        Port 631
        ...
        <Location />
        Order Deny,Allow
        Allow all
        </Location>
        ...
        <Location /admin>
        Order Deny,Allow
        Allow all
        </Location>

5. allow access to CUPS web interface
    Command Example : sudo usermod -aG lpadmin pi

6. restart cups service or reboot
    Command Example : sudo systemctl restart cups

7. add your local printer at web interface's administration tab
    Address Example : https://192.168.1.3:631/admin
    if you want to use Airprint, check the "Share This Printer" option.

 

[Airprint Installation]

1. install avahi-discover
    Command Example : sudo apt-get install avahi-discover

2. check the printer sharing option is on

 

 

[reference site]

https://help.ubuntu.com/lts/serverguide/cups.html.en

https://github.com/pdewacht/brlaser

https://blog.vinczejanos.info/2016/08/12/raspberry-pi-2-as-print-server-airprint/

 

 

Good luck!

'Hardware' 카테고리의 다른 글

DCP-1510 printer setup on Raspberry Pi (and Airprint)  (0) 2019.04.21
Remote printer setup on Raspberry Pi  (0) 2019.04.09
MT9234ZBA Modem Setup  (0) 2014.10.29
my whitebox systems  (0) 2013.11.10
Posted by Gomeisa

댓글을 달아 주세요