lpoptions 로 기본 프린터 지정하기
앞 단계에서 프린터 이름과 장치명(/dev/usb/lp0)를 연결해주는게 빠지긴 했는데
아무튼 L805로 등록한 프린터를 기본으로 설정해주려면
lpoptions를 통해 -d 옵션으로 프린터를 지정해주면 된다.
pi@raspberrypi:~ $ lpstat -p -d printer L805 is idle. enabled since Thu 20 Dec 2018 08:29:17 UTC Rendering completed no system default destination |
pi@raspberrypi:~ $ lpoptions -d L805 copies=1 device-uri=usb://EPSON/L805%20Series?serial=5738384B3030303494 finishings=3 job-hold-until=no-hold job-priority=50 job-sheets=none,none marker-change-time=0 number-up=1 printer-commands=none printer-info=L805 printer-is-accepting-jobs=true printer-is-shared=false printer-location printer-make-and-model='Epson XP-850 Series, Epson Inkjet Printer Driver (ESC/P-R) for Linux' printer-state=3 printer-state-change-time=1545294557 printer-state-reasons=none printer-type=2101276 printer-uri-supported=ipp://localhost:631/printers/L805 |
pi@raspberrypi:~ $ lpstat -p -d printer L805 is idle. enabled since Thu 20 Dec 2018 08:29:17 UTC Rendering completed system default destination: L805 |