«Ошибка связи устройства (5012)» — принтер HP
Я только что обновил свой Ubuntu и установил свой принтер на заводские настройки, после чего я переустановил свой принтер (так же, как и раньше), но на этот раз я получаю «Ошибка связи с устройством (5012)».
Я гуглил и нашел это решение и несколько ссылок на него. Проблема, которую они упоминают, кажется, в точности моя, только то, как решение решается, вызывает у меня вопросы.
Ни в hp-toolbox ни hp-setup найти поле, в котором я могу изменить
и изменить serial=XXXXXXXX в ip=192.168.0.xxx ,
У кого-нибудь есть идеи по этому поводу? Может быть, я могу вручную отредактировать файл? Или в hp-setup Я видел поля network identification/hostname , но я не хотел связываться с этим, поскольку я не уверен, поскольку это также не изменило бы serial= в ip= Просто имя к номеру.
Я только что понял, что, когда я подключаю свой USB-кабель, факс и принтер под hp toolbox кажутся нормальными. проблема при проверке hp все еще остается, но нет ошибки связи с устройством (5012).
так что мне кажется, что принтер установлен не как Wi-Fi, а как USB, может быть, это просто, что исправляется путем изменения «serial=XXXXXXXX» на «IP =192.168.0.xxx», я действительно не конечно.
извините, я не смог заставить смелый код работать?
3 ответа
Oke..solved!! это то, что я сделал, много шагов, поэтому я просто скажу шаг за шагом:
1) установлена свежая установка из Ubuntu 17.10:
2) удалил все ссылки (насколько я знал, чтобы найти их) из / etc / cups в основном sudo-ed и вычистил всю папку.
3) автоматически удаляемый hplip-gui
4) где-то здесь меня попросили частично обновить Ubuntu, который впоследствии показал, что он стал версией разработки 18.04, к сожалению, я не уверен, была ли это вызвана или просто произошла, а также не знаю, что имеет значение или как найти из.
5) автоматически удаляемый hplip
6) скачал hplip-3.17.11 с сайта hp
7) установлен hplip-3.17.11, следуя указаниям по установке со стороны hp
8) обратил особое внимание на замечания по установке в начале установки.. и сделал их как таковые.
8a) программное обеспечение и обновления: убедитесь, что оно было на главном сервере
8b) заблокировал CD-ROM с помощью:
9) установлен hplip-3.17.11
нет проблем с зависимостью вообще!
10) установленный принтер во время установки через графический интерфейс
кажется, принтер правильно настроен,
нет ошибки связи 5012,
через вайфай
просто до сих пор не найден xsane.
я получаю
— предупреждение о неподдерживаемой платформе при запуске hp-doctor
а также
— ошибка HPLIP: невозможно связаться с устройством (код =12)
Источник
Thread: HPLIP Error 5012
Thread Tools
Display
HPLIP Error 5012
I used the HPLIP HP Linux Imaging and Printing ( http://hplipopensource.com/hplip-web/index.html ) to detect and set up my HP 4100MFP (Multifunction Printer).
The printer was automatically detected in moments and set up took a few seconds. I attempted to print a test page and received a «communication error 5012).
Previous attempts to print using the Ubuntu printer set up would also set up the printer with the same results of not being able to print. Error box kept appearing suggesting the printer was not turned on (form of communication error, I suppose).
Printer does print test page OK.
I did Google search and have found some references to other printers with mention of permissions or setting something up in root. Not sure that anything like this applies.
OS: Ubuntu 8.10
Processor: AMD 64 Athlon 3200
Memory: 3 GB
Printer Networking: Ethernet
Printer address: Mfg default 192.0.0.192 (detected by HPLIP)
PPD/Driver: HP Laserjet 4100 MFP v.3010.107 Postscript (Recommended)
Printer self test = OK
Cat5 cable test = OK
HPLIP detects printer = OK
Print job successful = NO
Thanks in advance!
Last edited by rhardie; November 18th, 2008 at 03:37 PM .
Re: HPLIP Error 5012
Have you rebooted both the printer and the PC? Shut both down and star printer first. I had a similar problem until rebooting both devices. Hope it’s that simple for you to.
Re: HPLIP Error 5012
Is it connected by a LAN cable? If yes then try setting up a static IP address. Should work wonders!
Re: HPLIP Error 5012
You tried accessing and configuring the printer using localhost:631 in a browser? I use that to manage a networked HP printer, without using HPLIP, and it works great.
Re: HPLIP Error 5012
Yes, this is on an Ethernet connection.
Yes, I did the Local Host.
Yes, the printer’s IP address is static.
I’ll attempt to shut down both pretty soon and see if that has an effect.
Re: HPLIP Error 5012
Did the sequence recommended with same communication error 5012.
Powered down workstation
Powered down HP 4100
Restarted HP 4100
Hp 4100 completes self test and in online status (Green)
Power up workstation
Open HPLIP
Receive Communication error 5012
HP Linux Imaging and Printing System (ver. 2.8.7)
Dependency/Version Check Utility ver. 14.0
Copyright (c) 2001-8 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.
Note: hp-check can be run in three modes:
1. Compile-time check mode (-c or —compile): Use this mode before compiling the HPLIP supplied tarball (.tar.gz or .run) to determine if the proper dependencies are installed
to successfully compile HPLIP.
2. Run-time check mode (-r or —run): Use this mode to determine if a distro supplied package (.deb, .rpm, etc) or an already built HPLIP supplied tarball has the proper
dependencies installed to successfully run.
3. Both compile- and run-time check mode (-b or —both) (Default): This mode will check both of the above cases (both compile- and run-time dependencies).
Saving output in log file: hp-check.log
Initializing. Please wait.
warning: Invalid ppd_dir value: None
Basic system information:
Linux rocky-desktop 2.6.27-7-generic #1 SMP Tue Nov 4 19:33:06 UTC 2008 x86_64 GNU/Linux
Distribution:
ubuntu 8.10
HPOJ running?
error: Yes, HPOJ is running. HPLIP is not compatible with HPOJ. To run HPLIP, please remove HPOJ.
Checking Python version.
OK, version 2.5.2 installed
Checking PyQt version.
OK, version 3.17 installed.
Checking SIP version.
error: SIP not installed or version not found.
Checking for CUPS.
Status: scheduler is running
error: Version: (Not available. CUPS may not be installed or not running.)
Checking for dbus/python-dbus.
dbus daemon is running.
python-dbus version: 0.82.4
note: To check for compile-time only dependencies, re-run hp-check with the -c parameter (ie, hp-check -c).
note: To check for run-time only dependencies, re-run hp-check with the -r parameter (ie, hp-check -r).
Checking for dependency: cups — Common Unix Printing System.
OK, found.
Checking for dependency: cups-ddk — CUPS driver development kit.
OK, found.
Checking for dependency: cups-devel- Common Unix Printing System development files.
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.
Checking for dependency: dbus — Message bus system.
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP.
Checking for dependency: gcc — GNU Project C and C++ Compiler.
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.
Checking for dependency: GhostScript — PostScript and PDF language interpreter and previewer.
OK, found.
Checking for dependency: libcrypto — OpenSSL cryptographic library.
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP.
Checking for dependency: libjpeg — JPEG library.
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP.
Checking for dependency: libnetsnmp-devel — SNMP networking library development files.
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP.
Checking for dependency: libpthread — POSIX threads library.
OK, found.
Checking for dependency: libtool — Library building support services.
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.
Checking for dependency: libusb — USB library.
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP.
Checking for dependency: make — GNU make utility to maintain groups of programs.
OK, found.
Checking for dependency: PIL — Python Imaging Library (required for commandline scanning with hp-scan).
OK, found.
Checking for dependency: ppdev — Parallel port support kernel module.
OK, found.
Checking for dependency: PyQt — Qt interface for Python.
OK, found.
Checking for dependency: python-ctypes — A foreign function library for Python.
OK, found.
Checking for dependency: python-dbus — Python bindings for dbus.
OK, found.
Checking for dependency: python-devel — Python development files.
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.
Checking for dependency: Python 2.3 or greater — Required for fax functionality.
OK, found.
Checking for dependency: Python 2.2 or greater — Python programming language.
OK, found.
Checking for dependency: Reportlab — PDF library for Python.
OK, found.
Checking for dependency: SANE — Scanning library.
OK, found.
Checking for dependency: SANE — Scanning library development files.
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.
Checking for dependency: scanimage — Shell scanning program.
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.
Checking for dependency: xsane — Graphical scanner frontend for SANE.
OK, found.
Currently installed HPLIP version.
HPLIP 2.8.7 currently installed in ‘/usr/share/hplip’.
Current contents of ‘/etc/hp/hplip.conf’ file:
# hplip.conf. Generated from hplip.conf.in by configure.
[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hpijs/HP
ppdbase=/usr/share/ppd/hpijs
doc=/usr/share/doc/hplip-doc/HTML
icon=no
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv
# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
pp-build=yes
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
foomatic-drv-install=yes
foomatic-ppd-install=no
foomatic-rip-hplip-install=no
internal-tag=2.8.7.3
restricted-build=no
No devices found.
No devices found.
HP_LaserJet_4100_MFP
———————
Type: Printer
Installed in HPLIP?: Yes, using the hp: CUPS backend.
Device URI: hp:/net/HP_LaserJet_4100_MFP?ip=192.0.0.192
PPD: /etc/cups/ppd/HP_LaserJet_4100_MFP.ppd
PPD Description: HP LaserJet 4100 MFP v.3010.107 Postscript (recommended)
Printer status: printer HP_LaserJet_4100_MFP is idle. enabled since Fri 21 Nov 2008 06:05:17 AM CST
error: Unable to communicate with device (code=12): hp:/net/HP_LaserJet_4100_MFP?ip=192.0.0.192
‘hpaio’ in ‘/etc/sane.d/dll.conf’.
error: Not found. SANE backend ‘hpaio’ NOT properly setup (needs to be added to /etc/sane.d/dll.conf).
Checking output of ‘scanimage -L’.
error: scanimage not found.
Checking ‘cupsext’ CUPS extension.
OK, found.
Checking ‘pcardext’ Photocard extension.
OK, found.
Checking ‘hpmudext’ I/O extension.
OK, found.
Checking ‘scanext’ SANE scanning extension.
OK, found.
Checking for permissions of USB attached printers.
error: 16 errors and/or warnings.
Last edited by rhardie; November 21st, 2008 at 01:24 PM .
Источник
& ldquo; Ошибка связи устройства (5012) & rdquo; — Принтер HP
Я только что обновил свой Ubuntu и установил свой принтер обратно на заводские настройки, после чего я переустановил свой принтер (как и раньше), но на этот раз я получаю сообщение об ошибке «Связь устройства (5012)».
Я googled и нашел это решение и несколько рефералов к нему. Проблема, о которой они говорят, кажется мне самой, только то, как решение решается, дает мне вопросы.
Ни в hp-toolbox, ни в hp-setup я не нашел поле, в котором я могу изменить
и смените serial=XXXXXXXX на ip=192.168.0.xxx.
Есть ли у кого-нибудь идеи об этом? Может быть, я могу вручную отредактировать файл? Или, в hp-setup я видел поля network identification/hostname, но я не хотел связываться с этим, поскольку я не уверен, так как это также не изменило бы serial= на ip=, просто имя на номер.
Я просто понял, что когда я подключаю свой USB-кабель, факс и принтер под панелью инструментов hp кажутся окс. проблема под hp-check по-прежнему сохраняется, но не ошибка связи с устройством (5012).
, поэтому мне кажется, что принтер не установлен как Wi-Fi, а как usb, возможно, именно это исправляется путем изменения «serial = XXXXXXXX» на «ip = 192.168.0.xxx» «, я действительно не уверен.
# hp-check -i Saving output in log file: /home/matt/hp-check.log HP Linux Imaging and Printing System (ver. 3.17.10) Dependency/Version Check Utility ver. 15.1 ——————————— | INSTALLED CUPS PRINTER QUEUES | ——————————— HP-Color-LaserJet-MFP-M477fdw —————————— Type: Printer Device URI: hp:/usb/HP_Color_LaserJet_MFP_M477fdw?serial=VNBKKDH3WN PPD: /etc/cups/ppd/HP-Color-LaserJet-MFP-M477fdw.ppd **warning: Failed to read /etc/cups/ppd/HP-Color-LaserJet-MFP-M477fdw.ppd ppd file** PPD Description: Printer status: printer HP-Color-LaserJet-MFP-M477fdw is idle. enabled since Tue 06 Mar 2018 23:07:59 CET Required plug-in status: Installed **error: Unable to communicate with device (code=12): hp:/usb/HP_Color_LaserJet_MFP_M477fdw?serial=VNBKKDH3WN** **error: Device not found** **error: Communication status: Failed** HP-Color-LaserJet-MFP-M477fdw-Fax-2 ———————————— Type: Fax Device URI: hpfax:/usb/HP_Color_LaserJet_MFP_M477fdw?serial=VNBKKDH3WN PPD: /etc/cups/ppd/HP-Color-LaserJet-MFP-M477fdw-Fax-2.ppd **warning: Failed to read /etc/cups/ppd/HP-Color-LaserJet-MFP-M477fdw- Fax-2.ppd ppd file** PPD Description: Printer status: printer HP-Color-LaserJet-MFP-M477fdw-Fax-2 is idle. enabled since Tue 06 Mar 2018 23:08:05 CET Required plug-in status: Installed **error: Unable to communicate with device (code=12): hpfax:/usb/HP_Color_LaserJet_MFP_M477fdw?serial=VNBKKDH3WN** **error: Device not found** **error: Communication status: Failed** ————— | PERMISSION | ————— ———— | SUMMARY | ———— Missing Required Dependencies —————————— error: ‘libcups2’ package is missing/incompatible error: ‘libdbus-1-dev’ package is missing/incompatible error: ‘libjpeg-dev’ package is missing/incompatible error: ‘libcups2-dev’ package is missing/incompatible error: ‘cups-bsd’ package is missing/incompatible error: ‘cups-client’ package is missing/incompatible error: ‘libcupsimage2-dev’ package is missing/incompatible error: ‘libsane-dev’ package is missing/incompatible error: ‘libsnmp-dev’ package is missing/incompatible error: ‘snmp-mibs-downloader’ package is missing/incompatible error: ‘openssl’ package is missing/incompatible error: ‘python3-pyqt4’ package is missing/incompatible error: ‘gtk2-engines-pixbuf’ package is missing/incompatible Missing Optional Dependencies —————————— error: ‘python3-dbus.mainloop.qt’ package is missing/incompatible Total Errors: 12 Total Warnings: 0
извините, я не смог получить жирный шрифт в коде?
Источник