打印机问题
Tofloor
poster avatar
zpu198
deepin
2016-09-14 06:17
Author
用的hp p1008,第一次全新安装(可以上网的机子),一次识别,可以打印,在另一台机子上安装了同样的打印机不能打印,重装了两次,不行。把这台可以上网的机子又重新安装,不行了,也打印不了,按照论坛里的办法(以前可以安装),到安装依赖关系时输入Y  后深度终端自动退出。
Reply Favorite View the author
All Replies
avatar
zpu198
deepin
2016-09-14 11:29
#1
没有人用打印机吗,这么久都 没有人回复下,可有人用HP  系列打印机安装驱动成功了的,新升级15.3后
Reply View the author
avatar
chain_dp
deepin
2016-09-14 16:16
#2
我用的是网络打印机,买一个网络打印机的小盒子
Reply View the author
avatar
jingle
deepin
2016-09-14 16:33
#3
https://bbs.deepin.org/post/43325
没有人用打印机吗,这么久都 没有人回复下,可有人用HP  系列打印机安装驱动成功了的,新升级15.3后 ...

能否截图图片上来看看。
Reply View the author
avatar
zpu198
deepin
2016-09-14 21:08
#4
本帖最后由 zpu198 于 2016-9-14 13:31 编辑
https://bbs.deepin.org/post/43325
能否截图图片上来看看。

我昨天晚上重装电脑十多次吧,有两次可以自动识别打印,多数如上图点了后打印机无反应。按照论坛里的办法也不能安装。这个是新安装15.3后通过打印机自动识别后的截图


Reply View the author
avatar
zpu198
deepin
2016-09-14 21:19
#5

现采用的办法是在15.2下安装打印机驱动,再在线升级到最新版本。15.2下终端安装信息如下:
zpu198@zpu198-pc:/media/zpu198/新加卷/常用软件/linux/1$ chmod +x hplip-3.16.8.run
zpu198@zpu198-pc:/media/zpu198/新加卷/常用软件/linux/1$ sudo sh hplip-3.16.8.run
[sudo] zpu198 的密码:
Creating directory hplip-3.16.8
Verifying archive integrity... All good.
Uncompressing HPLIP 3.16.8 Self Extracting Archive  100%  
warning: hplip-install should not be run as root.

HP Linux Imaging and Printing System (ver. 3.16.8)
HPLIP Installer ver. 5.1

Copyright (c) 2001-15 HP 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.

Installer log saved in: hplip-install_Wed-14-Sep-2016_03:05:20.log

/error: You are running the installer as root. It is highly recommended that you run the installer as
error: a regular (non-root) user. Do you still wish to continue?
Continue with installation (y=yes, n=no*, q=quit) ? y

note: Defaults for each question are maked with a '*'. Press 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.16.8 on your computer.
Please close any running package management systems now (YaST, Adept, Synaptic, Up2date, etc).


DISTRO/OS CONFIRMATION
----------------------
Distro appears to be Debian 8.0.

Is "Debian 8.0" your correct distro/OS and version (y=yes*, n=no, q=quit) ? y


INSTALLATION NOTES
------------------
NOTE: Disable the CD Sources in your apt sources.list or the install will fail and hang.

Please read the installation notes. Press to continue or 'q' to quit:


SECURITY PACKAGES
-----------------
AppArmor is installed.
AppArmor protects the application from external intrusion attempts making the application secure

Would you like to have this installer install the hplip specific policy/profile (y=yes, n=no*, q=quit) ? y


RUNNING PRE-INSTALL COMMANDS
----------------------------
OK


MISSING DEPENDENCIES
--------------------
Following dependencies are not installed. HPLIP will not work if all REQUIRED dependencies are not installed and some of the HPLIP features will not work if OPTIONAL dependencies are not installed.
Package-Name         Component            Required/Optional   
libcrypto            network              REQUIRED            
libnetsnmp-devel     network              REQUIRED            
sane-devel           scan                 REQUIRED            
gcc                  base                 REQUIRED            
pyqt4-dbus           gui_qt4              REQUIRED            
python-devel         base                 REQUIRED            
cups-devel           base                 REQUIRED            
scanimage            scan                 OPTIONAL            
reportlab            fax                  OPTIONAL            
pyqt4                gui_qt4              REQUIRED            
libusb               base                 REQUIRED            
libtool              base                 REQUIRED            
cups-image           base                 REQUIRED            
python-notify        gui_qt4              OPTIONAL            
xsane                scan                 OPTIONAL            
libjpeg              base                 REQUIRED            
dbus                 fax                  REQUIRED            
avahi-utils          network              OPTIONAL            
Do you want to install these missing dependencies (y=yes*, n=no, q=quit) ? y


INSTALL MISSING REQUIRED DEPENDENCIES
-------------------------------------
note: Installation of dependencies requires an active internet connection.
warning: Missing REQUIRED dependency: gcc (gcc - GNU Project C and C++ Compiler)
warning: Missing REQUIRED dependency: python-devel (Python devel - Python development files)
warning: Missing REQUIRED dependency: cups-devel (CUPS devel- Common Unix Printing System development files)
warning: Missing REQUIRED dependency: libusb (libusb - USB library)
warning: Missing REQUIRED dependency: libtool (libtool - Library building support services)
warning: Missing REQUIRED dependency: cups-image (CUPS image - CUPS image development files)
warning: Missing REQUIRED dependency: libjpeg (libjpeg - JPEG library)
warning: Missing REQUIRED dependency: libcrypto (libcrypto - OpenSSL cryptographic library)
warning: Missing REQUIRED dependency: libnetsnmp-devel (libnetsnmp-devel - SNMP networking library development files)
warning: Missing REQUIRED dependency: pyqt4-dbus (PyQt 4 DBus - DBus Support for PyQt4)
warning: Missing REQUIRED dependency: pyqt4 (PyQt 4- Qt interface for Python (for Qt version 4.x))
warning: Missing REQUIRED dependency: dbus (DBus - Message bus system)
warning: Missing REQUIRED dependency: sane-devel (SANE - Scanning library development files)


INSTALL MISSING OPTIONAL DEPENDENCIES
-------------------------------------
note: Installation of dependencies requires an active internet connection.
warning: Missing OPTIONAL dependency for option 'network': avahi-utils (avahi-utils)
warning: Missing OPTIONAL dependency for option 'gui_qt4': python-notify (Python libnotify - Python bindings for the libnotify Desktop notifications)
warning: Missing OPTIONAL dependency for option 'fax': reportlab (Reportlab - PDF library for Python)
warning: Missing OPTIONAL dependency for option 'scan': scanimage (scanimage - Shell scanning program)
warning: Missing OPTIONAL dependency for option 'scan': xsane (xsane - Graphical scanner frontend for SANE)


CHECKING FOR NETWORK CONNECTION
-------------------------------
Network connection present.


RUNNING PRE-PACKAGE COMMANDS
----------------------------
su -c "dpkg --configure -a" (Pre-depend step 1)
su -c "apt-get install -f" (Pre-depend step 2)
su -c "apt-get update" (Pre-depend step 3)
OK


DEPENDENCY AND CONFLICT RESOLUTION
----------------------------------
Running 'su -c "apt-get install --force-yes -y g++"'
Please wait, this may take several minutes...
Running 'su -c "apt-get install --force-yes -y python-dev"'
Please wait, this may take several minutes...
Running 'su -c "apt-get install --force-yes -y libcups2-dev"'
Please wait, this may take several minutes...
Running 'su -c "apt-get install --force-yes -y cups-bsd"'
Please wait, this may take several minutes...
Running 'su -c "apt-get install --force-yes -y cups-client"'
Please wait, this may take several minutes...
Running 'su -c "apt-get install --force-yes -y libusb-1.0.0-dev"'
Please wait, this may take several minutes...
Running 'su -c "apt-get install --force-yes -y libtool"'
Please wait, this may take several minutes...
Running 'su -c "apt-get install --force-yes -y libtool-bin"'
Please wait, this may take several minutes...
Running 'su -c "apt-get install --force-yes -y libcupsimage2"'
Please wait, this may take several minutes...
Running 'su -c "apt-get install --force-yes -y libcupsimage2-dev"'
Please wait, this may take several minutes...
Running 'su -c "apt-get install --force-yes -y libjpeg62-turbo-dev"'
Please wait, this may take several minutes...
Running 'su -c "apt-get install --force-yes -y libssl-dev"'
Please wait, this may take several minutes...
Running 'su -c "apt-get install --force-yes -y libsnmp-dev"'
Please wait, this may take several minutes...
error: Command failed. Re-try #1...
Running 'su -c "apt-get install --force-yes -y libsnmp-dev"'
Please wait, this may take several minutes...
error: Command failed. Re-try #2...
Running 'su -c "apt-get install --force-yes -y libsnmp-dev"'
Please wait, this may take several minutes...
error: Command failed. Re-try #3...
Reply View the author
avatar
zpu198
deepin
2016-09-14 21:19
#6
本帖最后由 zpu198 于 2016-9-14 13:39 编辑

Running 'su -c "apt-get install --force-yes -y libsnmp-dev"'
Please wait, this may take several minutes...
error: Package install command failed with error code 100
Would you like to retry installing the missing package(s) (y=yes*, n=no, q=quit) ? y
Running 'su -c "apt-get install --force-yes -y libsnmp-dev"'
Please wait, this may take several minutes...
Running 'su -c "apt-get install --force-yes -y snmp"'
Please wait, this may take several minutes...
Running 'su -c "apt-get install --force-yes -y python-qt4-dbus"'
Please wait, this may take several minutes...
Running 'su -c "apt-get install --force-yes -y python-qt4"'
Please wait, this may take several minutes...
Running 'su -c "apt-get install --force-yes -y libdbus-1-dev"'
Please wait, this may take several minutes...
Running 'su -c "apt-get install --force-yes -y libsane-dev"'
Please wait, this may take several minutes...
Running 'su -c "apt-get install --force-yes -y avahi-utils"'
Please wait, this may take several minutes...
Running 'su -c "apt-get install --force-yes -y python-notify"'
Please wait, this may take several minutes...
Running 'su -c "apt-get install --force-yes -y python-reportlab"'
Please wait, this may take several minutes...
Running 'su -c "apt-get install --force-yes -y sane-utils"'
Please wait, this may take several minutes...
Running 'su -c "apt-get install --force-yes -y xsane"'
Please wait, this may take several minutes...
HPLIP-3.16.5 exists, this may conflict with the new one being installed.
Do you want to ('i'= Remove and Install*, 'q'= Quit)?    :i
Starting uninstallation...
HPLIP uninstallation is completed


RUNNING POST-PACKAGE COMMANDS
-----------------------------
OK


RE-CHECKING DEPENDENCIES
------------------------


PRE-BUILD COMMANDS
------------------
OK


BUILD AND INSTALL
-----------------
Running './configure --with-hpppddir=/usr/share/ppd/HP --libdir=/usr/lib/x86_64-linux-gnu --prefix=/usr --enable-qt4 --disable-qt5 --enable-doc-build --disable-cups-ppd-install --disable-foomatic-drv-install --disable-libusb01_build --disable-foomatic-ppd-install --disable-hpijs-install --disable-udev_sysfs_rules --disable-policykit --enable-cups-drv-install --enable-hpcups-install --enable-network-build --enable-dbus-build --enable-scan-build --enable-fax-build --enable-apparmor_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 'su -c "make install"'
Please wait, this may take several minutes...
Command completed successfully.


Build complete.


POST-BUILD COMMANDS
-------------------


CLOSE HP_SYSTRAY
----------------
Sending close message to hp-systray (if it is currently running)...


HPLIP UPDATE NOTIFICATION
-------------------------
Do you want to check for HPLIP updates?. (y=yes*, n=no) : y


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) : r
note:
note: IMPORTANT! Make sure to save all work in all open applications before restarting!
Restart now (y=yes, n=no*, q=quit) ?
如上安装后,启动器里面会出现HP Device Manager,图标,按论坛里的法子,可实现打印机打印,还有按https://bbs.deepin.org/post/38461第三步下载 的hplip-3.16.3-plugin.run只有2M左右,安装不了,我都是在HP  官网下载的20多M的那个才能实现如上安装。
下面发新安装机子15.3,安装打印机(hp  p1008)终端安装不成功的信息.
Reply View the author
avatar
zpu198
deepin
2016-09-14 21:26
#7
本帖最后由 zpu198 于 2016-9-14 13:29 编辑

Creating directory hplip-3.16.3
Verifying archive integrity... All good.
Uncompressing HPLIP 3.16.3 Self Extracting Archive..........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................

HP Linux Imaging and Printing System (ver. 3.16.3)
HPLIP Installer ver. 5.1

Copyright (c) 2001-15 HP 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.

Installer log saved in: hplip-install_Wed-14-Sep-2016_13:21:35.log

warning: deepin distro is not found in AUTH_TYPES
\
note: Defaults for each question are maked with a '*'. Press to accept the default.
error: Auto installation is not supported for 'unknown' distro so all dependencies may not be installed.
Please install manually as mentioned in 'http://hplipopensource.com/hplip-web/install/manual/index.html' web-site

Press 'y' to continue auto installation. Press 'n' to quit auto instalation(y=yes, n=no*): y


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.16.3 on your computer.
Please close any running package management systems now (YaST, Adept, Synaptic, Up2date, etc).


DISTRO/OS CONFIRMATION
----------------------


DISTRO/OS SELECTION
-------------------

Choose the name of the distro/OS that most closely matches your system:

Num.  Distro/OS Name         
----  ------------------------
0     Mepis                  
1     Debian                  
2     SUSE Linux              
3     Mandriva Linux         
4     Fedora                  
5     Red Hat                 
6     Red Hat Enterprise Linux
7     Ubuntu                  
8     PCLinuxOS               
9     Linux Mint              
10    gOS                     
11    Linpus Linux            
12    IGOS                    
13    Boss                    
14    Linux From Scratch      

Enter number 0...14 (q=quit) ?1(注:在15.2里安装不会出现如下1-14的选择项,我每个选项都 试过,也 是到最后面那个地方好像是安装依赖包点Y 后,深度终端自动退出)

Choose the version of "Debian" that most closely matches your system:

Num.  Distro/OS Version                       
----  ----------------------------------------
0     Unknown or not listed                  
1     7.0 ("Wheezy", Released 04/05/2013)     
2     7.1 ("Wheezy", Released 04/05/2013)     
3     7.2 ("Wheezy", Released 04/05/2013)     
4     7.3 ("Wheezy", Released 04/05/2013)     
5     7.4 ("Wheezy", Released 04/05/2013)     
6     7.5 ("Wheezy", Released 04/05/2013)     
7     7.6 ("Wheezy", Released 04/05/2013)     
8     7.7 ("Wheezy", Released 04/05/2013)     
9     7.8 ("Wheezy", Released 04/05/2013)     
10    7.9 ("Wheezy", Released 04/05/2013)     
11    8.0 ("Jessie", Released 04/05/2015)     
12    8.1 ("Jessie", Released 04/05/2015)     
13    8.2 ("Jessie", Released 04/05/2015)     
14    8.3 ("Jessie", Released 04/05/2015)     

Enter number 0...14 (q=quit) ?11

Distro set to: Debian 8.0


ENTER ROOT/SUPERUSER PASSWORD
-----------------------------
Please enter the root/superuser password:


SECURITY PACKAGES
-----------------
AppArmor is installed.
AppArmor protects the application from external intrusion attempts making the application secure

Would you like to have this installer install the hplip specific policy/profile (y=yes, n=no*, q=quit) ? y


RUNNING PRE-INSTALL COMMANDS
----------------------------
OK


MISSING DEPENDENCIES
--------------------
Following dependencies are not installed. HPLIP will not work if all REQUIRED dependencies are not installed and some of the HPLIP features will not work if OPTIONAL dependencies are not installed.
Package-Name         Component            Required/Optional   
reportlab            fax                  OPTIONAL            
python-notify        gui_qt4              OPTIONAL            
pyqt4                gui_qt4              REQUIRED            
libusb               base                 REQUIRED            
libtool              base                 REQUIRED            
cups-image           base                 REQUIRED            
scanimage            scan                 OPTIONAL            
libnetsnmp-devel     network              REQUIRED            
sane-devel           scan                 REQUIRED            
xsane                scan                 OPTIONAL            
gcc                  base                 REQUIRED            
pyqt4-dbus           gui_qt4              REQUIRED            
libjpeg              base                 REQUIRED            
python-devel         base                 REQUIRED            
cups-devel           base                 REQUIRED            
avahi-utils          network              OPTIONAL            
dbus                 fax                  REQUIRED            
Do you want to install these missing dependencies (y=yes*, n=no, q=quit) ? y   


如上按Y  后,深度终端自动退出。


是不是我的什么操作不对,自己也是个小白,请指教。
Reply View the author
avatar
iceyer
deepin
2016-09-14 21:39
#8
本帖最后由 Iceyer 于 2016-9-14 13:41 编辑
https://bbs.deepin.org/post/43325
Creating directory hplip-3.16.3
Verifying archive integrity... All good.
Uncompressing HPLIP 3.16.3  ...

sudo apt-get install hplip-gui
仓库有驱动和hp的配置程序,安装完有lanucher里面有个hp toolbox可以用来添加打印机

如果添加过程中出现来卡死的现象可以执行如下命令
sudo passwd root

随便设置一个自己记得住的密码,然后重新添加
添加完再执行
sudo passwd -l root
禁用root账户

Reply View the author
avatar
zpu198
deepin
2016-09-14 21:40
#9
https://bbs.deepin.org/post/43325
sudo apt-get install hplip-gui
仓库有驱动和hp的配置程序,安装完有lanucher里面有个hp toolbox可以用 ...

谢谢,我先试下
Reply View the author
avatar
zpu198
deepin
2016-09-14 21:45
#10
https://bbs.deepin.org/post/43325
sudo apt-get install hplip-gui
仓库有驱动和hp的配置程序,安装完有lanucher里面有个hp too ...

解决问题谢谢
Reply View the author
avatar
zpu198
deepin
2017-03-07 20:49
#11
https://bbs.deepin.org/post/43325
sudo apt-get install hplip-gui
仓库有驱动和hp的配置程序,安装完有lanucher里面有个hp too ...

你好更新15.4版本后,hp P1008打印机又不能用了,执行sudo apt-get install hplip-gui 命令后,启动器里面没有增加hplip toolbox,fax address book, hplip fax utility三个图标,求解
Reply View the author
avatar
zpu198
deepin
2017-03-07 20:55
#12
https://bbs.deepin.org/post/43325
sudo apt-get install hplip-gui
仓库有驱动和hp的配置程序,安装完有lanucher里面有个hp too ...

不好意思,不用回复了,好像重启机子后,就可以在系统图标最小化那里有了,现在装上驱动了,谢谢
Reply View the author
avatar
linux学习中
deepin
2020-11-18 17:08
#13
zpu198:
https://bbs.deepin.org/post/43325
sudo apt-get install hplip-gui
仓库有驱动和hp的配置程序,安装完有lanucher里面有个hp toolbox可以用 ...

谢谢,我先试下

我的图标怎么打不开呢

Reply View the author
avatar
linux学习中
deepin
2020-11-18 17:08
#14
zpu198:
https://bbs.deepin.org/post/43325
sudo apt-get install hplip-gui
仓库有驱动和hp的配置程序,安装完有lanucher里面有个hp too ...

解决问题谢谢

这个图标打不开呀,怎么点也没有用

Reply View the author
avatar
linux学习中
deepin
2020-11-18 17:10
#15
linux学习中:

这个图标打不开呀,怎么点也没有用

可以手动查找这个驱动文件么,叫什么文件

Reply View the author