Arch Linux의 Brother HL-L2325DW 프린터는 작업이 완료되었다고 표시되지만 인쇄되지 않습니다.

Arch Linux의 Brother HL-L2325DW 프린터는 작업이 완료되었다고 표시되지만 인쇄되지 않습니다.

제목에서 알 수 있듯이 내 프린터(A Brother HL-L2325DW)로 인쇄할 수 없습니다. 인쇄 작업을 수신하면 경고음이 몇 번 울리고 CUPS에서는 인쇄 작업이 완료되었다고 표시하지만 경고음이 몇 번 울리는 것 외에는 아무 일도 일어나지 않습니다.

나는 다음과 같이 했다아치 위키제안. CUPS를 설치했습니다.

$ pacman -Ss cups
extra/apcupsd 3.14.14-7
    Power mangement and controlling most of APC's UPS models
extra/bluez-cups 5.73-4
    CUPS printer backend for Bluetooth printers
extra/cups 1:2.4.7-2 [installed]
    OpenPrinting CUPS - daemon package
extra/cups-browsed 2.0.0-2
    a helper daemon to browse the network for remote CUPS queues and IPP network printers
extra/cups-filters 2.0.0-1 [installed]
    OpenPrinting CUPS Filters
extra/cups-pdf 3.0.1-7
    PDF printer for cups
extra/cups-pk-helper 0.2.7-1
    A helper that makes system-config-printer use PolicyKit
extra/libcups 1:2.4.7-2 [installed]
    OpenPrinting CUPS - client libraries and headers
extra/libcupsfilters 2.0.0-1 [installed]
    OpenPrinting CUPS Filters - contains all the code of the filters of the former cups-filters package as library
    functions
extra/pappl 1.4.6-1
    a simple C-based framework/library for developing CUPS Printer Applications
extra/python-pycups 2.0.1-6
    Python bindings for libcups
extra/splix 2.0.0-20
    CUPS drivers for SPL (Samsung Printer Language) printers
extra/system-config-printer 1.5.18-2
    A CUPS printer configuration tool and status applet
multilib/lib32-libcups 2.4.7-1 [installed]
    The CUPS Printing System - client libraries (32-bit)

컵도 활성화됩니다.

$ systemctl status cups
● cups.service - CUPS Scheduler
     Loaded: loaded (/usr/lib/systemd/system/cups.service; enabled; preset: disabled)
     Active: active (running) since Mon 2024-03-25 01:23:40 CDT; 8h ago
TriggeredBy: ● cups.socket
             ○ cups.path
       Docs: man:cupsd(8)
   Main PID: 196807 (cupsd)
     Status: "Scheduler is running..."
      Tasks: 1 (limit: 19027)
     Memory: 4.9M (peak: 21.2M)
        CPU: 1.139s
     CGroup: /system.slice/cups.service
             └─196807 /usr/bin/cupsd -l

Mar 25 01:23:40 arch systemd[1]: Starting CUPS Scheduler...
Mar 25 01:23:40 arch systemd[1]: Started CUPS Scheduler.

프린터를 자동으로 검색하고 싶기 때문에 Avahi가 설치되어 있는지 확인했습니다.

$ pacman -Ss avahi
extra/avahi 1:0.8+r194+g3f79789-1 [installed]
    Service Discovery for Linux using mDNS/DNS-SD (compatible with Bonjour)
extra/pacredir 0.4.7-2
    redirect pacman requests, assisted by avahi service discovery

나는 따라 갔다.Avahi Arch Wiki 페이지의 호스트 이름 확인 단계

$ cat /etc/nsswitch.conf 
# Name Service Switch configuration file.
# See nsswitch.conf(5) for details.

passwd: files systemd
group: files [SUCCESS=merge] systemd
shadow: files systemd
gshadow: files systemd

publickey: files

hosts: mymachines mdns_minimal [NOTFOUND=return] resolve [!UNAVAIL=return] files myhostname dns
networks: files

protocols: files
services: files
ethers: files
rpc: files

netgroup: files

AUR에서 프린터용 드라이버를 설치했습니다.

$ yay -Ss brother-hll2325dw
aur/brother-hll2325dw 4.0.0-1 (+0 0.00) (Installed)
    Brother HL-L2325DW CUPS driver (based on Brother's rpm package)

마지막으로 CUPS 관리 탭에서 새 프린터를 찾았습니다.

여기에 이미지 설명을 입력하세요

다양한 하위 옵션 조합을 사용하여 세 가지 옵션을 모두 시도했습니다. 내가 시도한 다른 모든 옵션은 아무런 소용이 없었습니다. 프린터가 전혀 작동하지 않았습니다. 두 번째 옵션을 선택한 경우에만 경고음이 울렸습니다.

그러면 다음 화면이 나타납니다. 여기서 Brother를 선택한 다음 계속을 누릅니다.

여기에 이미지 설명을 입력하세요

그런 다음 모델을 선택하라는 요청을 받았습니다. 내 프린터에 맞는 두 가지 옵션이 있는 것 같습니다. 표시된 옵션에서는 경고음이 울리고, 거기에 나열된 다른 무인 옵션에서는 그다지 많은 소리가 나지 않습니다. 선택 후 프린터 추가를 눌렀습니다.

여기에 이미지 설명을 입력하세요

다음 페이지로 이동됩니다:

여기에 이미지 설명을 입력하세요

Set Printer Options(프린터 옵션 설정)을 누르면 여기로 이동합니다.

여기에 이미지 설명을 입력하세요

기본 옵션 설정을 누르면 여기로 이동합니다.

여기에 이미지 설명을 입력하세요

이제 인쇄를 시도하고 CUPS localhost 사이트의 작업 페이지로 이동하면 다음과 같은 내용이 표시됩니다.

여기에 이미지 설명을 입력하세요

완료된 것으로 표시되지만 아무것도 인쇄되지 않습니다. 앞서 언급한 대로 프린터에서 경고음이 울립니다. 이 프린터는 Windows에서 번거로움 없이 네트워크를 통해 성공적으로 인쇄합니다.

여기서 어디로 가야할지에 대한 조언이 있습니까?

감사해요.

답변1

귀하의 프린터는 IPP Everywhere 또는 Airprint에서 지원되는 것 같습니다. 즉, 프린터는 루트로서 다음과 같은 명령을 사용하여 프린터 설정을 시작하여 명시적인 ppd 파일을 제공할 수 있으므로 명시적인 ppd 파일을 제공할 필요가 없음을 의미합니다.

lpadmin -p AirPrint -E -v "ipp://10.0.xy/ipp/print" -m 모든 곳에서

여기서 IP 주소는 로컬 네트워크의 프린터에 할당된 주소입니다. 최근 몇 년간 대부분의 프린터는 이 설정 모드를 지원하며, 해당 프린터가 지원되는지 여부는 다음에서 확인할 수 있습니다.https://openprinting.github.io/printers/

관련 정보