大家好,我正在尝试设置我的 hp laserjet 4100n 打印机,但 ubuntu 11.10 无法识别它。
我尝试安装 HPLIP 或 Linux 驱动程序,但当它提示重新启动计算机(如果您有并行端口打印机)时,重新启动后什么也没有发生。我尝试安装 3 次,忽略它提示重新启动的步骤,但随后它提示无法识别您的打印机,请帮忙。
我正在使用并行到 USB 转换器,我知道它可以工作,因为我在 Windows 中尝试过它,并且打印机运行良好。请帮帮我吗?
- 我也尝试将它安装在我姐妹的 ubuntu 11.04 中并且它可以识别并打印。
- 另外,当我在姐姐的电脑上共享打印机时,它可以像网络打印机一样在我的电脑上工作,但必须连接到姐姐的电脑上才能打印。
- 我还忘了说我有另一台打印机连接到这台计算机,我尝试删除并断开另一台打印机的连接,但它仍然无法检测到我的 laserjet 4100n。
这是我得到的结果,打印机已连接
note: Defaults for each question are maked with a '*'. Press <enter> to accept the default.
INSTALLATION MODE
-----------------
Automatic mode will install the full HPLIP solution with the most common options.
Custom mode allows you to choose installation options to fit specific requirements.
Please choose the installation mode (a=automatic*, c=custom, q=quit) : a
Initializing. Please wait...
INTRODUCTION
------------
This installer will install HPLIP version 3.11.10 on your computer.
Please close any running package management systems now (YaST, Adept, Synaptic, Up2date, etc).
DISTRO/OS CONFIRMATION
----------------------
Distro appears to be Ubuntu 11.10.
Is "Ubuntu 11.10" your correct distro/OS and version (y=yes*, n=no, q=quit) ? y
ENTER USER PASSWORD
-------------------
Please enter the user (jab)'s password:
Password accepted
INSTALLATION NOTES
------------------
Enable the universe/multiverse repositories. Also be sure you are using the Ubuntu "Main" Repositories. See: https://help.ubuntu.com/community/Repositories/Ubuntu for more information. Disable the CD-ROM/DVD source if you do not have the Ubuntu installation media inserted in the drive. During the install process you will be added to the lp and lpadmin group, please quit the installer before the setup stage, log out, log back in, and run hp-setup to complete the install.
Please read the installation notes. Press <enter> to continue or 'q' to quit:
RUNNING PRE-INSTALL COMMANDS
----------------------------
OK
CHECKING FOR NETWORK CONNECTION
-------------------------------
Network connection present.
RUNNING PRE-PACKAGE COMMANDS
----------------------------
sudo dpkg --configure -a (Pre-depend step 1)
sudo apt-get install --yes --force-yes -f (Pre-depend step 2)
sudo apt-get update (Pre-depend step 3)
OK
DEPENDENCY AND CONFLICT RESOLUTION
----------------------------------
warning: A previous install of HPLIP is installed and/or running.
sudo apt-get remove --assume-yes hplip hpijs hplip-cups hplip-data libhpmud0 foomatic-db-hpijs (Removing old HPLIP version)
warning: HPLIP removal failed. The previous install may have been installed using a tarball or this installer.
warning: Continuing to run installer - this installation should overwrite the previous one.
RUNNING POST-PACKAGE COMMANDS
-----------------------------
OK
RE-CHECKING DEPENDENCIES
------------------------
OK
PRE-BUILD COMMANDS
------------------
OK
BUILD AND INSTALL
-----------------
Running './configure --with-hpppddir=/usr/share/ppd/HP --libdir=/usr/lib64 --prefix=/usr --enable-udev-acl-rules --enable-qt4 --enable-doc-build --disable-cups-ppd-install --disable-foomatic-drv-install --disable-foomatic-ppd-install --disable-hpijs-install --disable-policykit --enable-cups-drv-install --enable-hpcups-install --enable-network-build --enable-dbus-build --enable-scan-build --enable-fax-build'
Please wait, this may take several minutes...
Command completed successfully.
Running 'make clean'
Please wait, this may take several minutes...
Command completed successfully.
Running 'make'
Please wait, this may take several minutes...
Command completed successfully.
Running 'sudo make install'
Please wait, this may take several minutes...
Command completed successfully.
Build complete.
POST-BUILD COMMANDS
-------------------
sudo /usr/sbin/usermod -a -Glp,lpadmin jab (Post-build step 1)
CLOSE HP_SYSTRAY
----------------
Sending close message to hp-systray (if it is currently running)...
RESTART OR RE-PLUG IS REQUIRED
------------------------------
If you are installing a USB connected printer, and the printer was plugged in
when you started this installer, you will need to either restart your PC or
unplug and re-plug in your printer (USB cable only). If you choose to restart,
run this command after restarting: hp-setup (Note: If you are using a parallel
connection, you will have to restart your PC. If you are using network/wireless,
you can ignore and continue).
Restart or re-plug in your printer (r=restart, p=re-plug in*, i=ignore/continue, q=quit) : p
Please unplug and re-plugin your printer now. Press <enter> to continue or 'q' to quit:
PRINTER SETUP
-------------
Please make sure your printer is connected and powered on at this time.
error: hp-setup failed. Please run hp-setup manually.
答案1
答案2
根据 HP 的说法,LaserJet 4100n 仅具有并行端口或网络连接。安装程序末尾的响应是“p”,表示您拔下并重新插入了打印机,这仅适用于 USB 连接。
如果您通过并行端口连接,hp 安装程序将不再启用并行端口支持。您需要手动配置安装。请参阅以下网页:适用于 Linux 的打印、扫描和传真驱动程序 - hplip | HP 开发人员
如果您通过网络连接,按照说明可以忽略/继续,并且其他地方的安装可能会出现问题。