HP LaserJet Pro MFP m26nw는 Linux Mint 19에서 네트워크 프린터로 인쇄할 수 없습니다.

HP LaserJet Pro MFP m26nw는 Linux Mint 19에서 네트워크 프린터로 인쇄할 수 없습니다.

USB를 통해 작동하게 할 수 있지만 실제로는 네트워크를 통해 작동하고 싶습니다.

프린터는 HP LaserJet Pro MFP m26nw이고 운영 체제는 Mint 19.1 64-bit Mate입니다.

설치 후 테스트 페이지 작업이 "중지됨" 상태로 변경되고 "'테스트 페이지' 문서를 처리하는 동안 문제가 발생했습니다"라는 오류 팝업이 나타납니다.

로그 출력은 다음과 같습니다.

Feb 12 14:27:01 desktop systemd[1]: Started CUPS Scheduler.
Feb 12 15:15:36 desktop /hpfax[5157]: [5157]: error: Failed to create /var/spool/cups/tmp/.hplip
Feb 12 15:16:48 desktop hpcups[5243]: prnt/hpcups/Hbpl1.cpp 52: Hbpl1 constructor : m_szLanguage = HBPL1
Feb 12 15:16:48 desktop hpcups[5243]: common/utils.c 69: unable to open /var/lib/hp/hplip.state: No such file or directory
Feb 12 15:16:48 desktop hpcups[5243]: common/utils.c 119: validate_plugin_version() Failed to get Plugin version from [/var/lib/hp/hplip.state]
Feb 12 15:16:48 desktop hpcups[5243]: common/utils.c 157: Plugin version is not matching
Feb 12 15:16:48 desktop hpcups[5243]: prnt/hpcups/HPCupsFilter.cpp 486: m_Job initialization failed with error = 48
Feb 12 15:17:53 desktop hpcups[5372]: prnt/hpcups/Hbpl1.cpp 52: Hbpl1 constructor : m_szLanguage = HBPL1
Feb 12 15:17:53 desktop hpcups[5372]: common/utils.c 69: unable to open /var/lib/hp/hplip.state: No such file or directory
Feb 12 15:17:53 desktop hpcups[5372]: common/utils.c 119: validate_plugin_version() Failed to get Plugin version from [/var/lib/hp/hplip.state]
Feb 12 15:17:53 desktop hpcups[5372]: common/utils.c 157: Plugin version is not matching
Feb 12 15:17:53 desktop hpcups[5372]: prnt/hpcups/HPCupsFilter.cpp 486: m_Job initialization failed with error = 48
Feb 12 15:18:47 desktop systemd[1]: cups.service: Main process exited, code=exited, status=1/FAILURE
Feb 12 15:18:47 desktop systemd[1]: cups.service: Failed with result 'exit-code'.
Feb 12 15:18:47 desktop systemd[1]: cups.service: Service hold-off time over, scheduling restart.
Feb 12 15:18:47 desktop systemd[1]: cups.service: Scheduled restart job, restart counter is at 1.
Feb 12 15:19:04 desktop systemd[1]: Stopped CUPS Scheduler.
Feb 12 15:19:04 desktop systemd[1]: Started CUPS Scheduler.
Feb 12 15:27:16 desktop /hpfax[5506]: [5506]: error: Failed to create /var/spool/cups/tmp/.hplip
Feb 12 15:33:35 desktop hpcups[5677]: prnt/hpcups/Hbpl1.cpp 52: Hbpl1 constructor : m_szLanguage = HBPL1
Feb 12 15:33:35 desktop hpcups[5677]: common/utils.c 69: unable to open /var/lib/hp/hplip.state: No such file or directory
Feb 12 15:33:35 desktop hpcups[5677]: common/utils.c 119: validate_plugin_version() Failed to get Plugin version from [/var/lib/hp/hplip.state]
Feb 12 15:33:35 desktop hpcups[5677]: common/utils.c 157: Plugin version is not matching
Feb 12 15:33:35 desktop hpcups[5677]: prnt/hpcups/HPCupsFilter.cpp 486: m_Job initialization failed with error = 48
Feb 12 15:33:35 desktop hp[5678]: prnt/backend/hp.c 919: ERROR: null print job total=0
Feb 12 15:33:56 desktop hpcups[5690]: prnt/hpcups/Hbpl1.cpp 52: Hbpl1 constructor : m_szLanguage = HBPL1
Feb 12 15:33:56 desktop hpcups[5690]: common/utils.c 69: unable to open /var/lib/hp/hplip.state: No such file or directory
Feb 12 15:33:56 desktop hpcups[5690]: common/utils.c 119: validate_plugin_version() Failed to get Plugin version from [/var/lib/hp/hplip.state]
Feb 12 15:33:56 desktop hpcups[5690]: common/utils.c 157: Plugin version is not matching
Feb 12 15:33:56 desktop hpcups[5690]: prnt/hpcups/HPCupsFilter.cpp 486: m_Job initialization failed with error = 48
Feb 12 15:33:56 desktop hp[5691]: prnt/backend/hp.c 919: ERROR: null print job total=0

거기에 몇 가지 문제가 있는 것 같은데 어떻게 해결해야 할지 모르겠습니다. Jetdirect, IPP 및 hp 프로토콜을 사용해 보았습니다. 입력하라는 메시지가 표시되면 Hplip/foomatic에 대한 정확한 일치 드라이버를 사용하고 있습니다(비록 방법 중 하나가 드라이버를 요청하지 않음). 모두 동일한 결과를 생성합니다. 무엇을 시도할 수 있나요?

답변1

common/utils.c 69: /var/lib/hp/hplip.state를 열 수 없습니다.

루트 권한으로 hplip.state를 생성한 다음 인쇄 기능을 제공할 수 없는 경우 클라이언트/사용자 시스템에 필요할 수 있는 hp 플러그인을 설치하십시오.

관련 정보