首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在Trisquel 8.0上设置hplip

在Trisquel 8.0上设置hplip
EN

Unix & Linux用户
提问于 2018-10-05 17:34:38
回答 1查看 220关注 0票数 1

我已经升级(从Trisquel7.0)到Trisquel8.0,安装干净/新鲜。

当我连接到打印机(HP LaserJet P1007)时,在从settings>printers (system-config-printer)添加时检测到它,并完成了设置;最后,它询问是否打印测试页面,但没有打印。我也尝试打印文件,但它们没有真正打印出来,系统显示打印成功。

虽然它在设置中正确显示添加/配置:

我不确定,但在前面,当我通过hp-setup手动配置这里来解决这个问题时,遇到了类似的问题。我也尝试过,但它显示了以下错误:

代码语言:javascript
复制
error: HPLIP is not installed properly or is installed without graphical support. Please reinstall HPLIP
warning: Qt/PyQt 4 initialization failed.
error: hp-setup requires GUI support (try running with --qt3). Also, try using interactive (-i) mode.

因此,(看看Qt4提供的GUI的问题),我尝试了交互模式:

代码语言:javascript
复制
$ hp-setup -i

HP Linux Imaging and Printing System (ver. 3.16.3)
Printer/Fax Setup Utility ver. 9.0

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.

(Note: Defaults for each question are maked with a '*'. Press  to accept the default.)


--------------------------------
| SELECT CONNECTION (I/O) TYPE |
--------------------------------

  Num       Connection  Description                                               
            Type                                                                  
  --------  ----------  ----------------------------------------------------------
  0*        usb         Universal Serial Bus (USB)                                
  1         net         Network/Ethernet/Wireless (direct connection or JetDirect)
  2         par         Parallel Port (LPT:)                                      

Enter number 0...2 for connection type (q=quit, enter=usb*) ? 0

Using connection type: usb

error: No device selected/specified or that supports this functionality.

因此,错误是“没有选择/指定或支持此功能的设备”。

我还检查了hp-plugin是否安装正确,因为我记得我的打印机需要插件

代码语言:javascript
复制
$ hp-plugin -i

HP Linux Imaging and Printing System (ver. 3.16.3)
Plugin Download and Install Utility ver. 2.1

-----------------------------------------
| PLUG-IN INSTALLATION FOR HPLIP 3.16.3 |
-----------------------------------------

The driver plugin for HPLIP 3.16.3 appears to already be installed.
Do you wish to download and re-install the plug-in? (y=yes*, n=no, q=quit) ? n

因此,how我是否修复了“作业没有打印并且显示打印已完成”和“hp-设置不工作”的问题?

注意:我也尝试过清除和重新安装hplip,下面是Trisquel存储库中可用的软件包的版本:

代码语言:javascript
复制
$ apt-cache policy hplip
hplip:
  Installed: 3.16.3+repack0-1+8.0trisquel1
  Candidate: 3.16.3+repack0-1+8.0trisquel1
  Version table:
 *** 3.16.3+repack0-1+8.0trisquel1 500
        500 https://archive.trisquel.info/trisquel flidas-updates/main amd64 Packages
        100 /var/lib/dpkg/status
EN

回答 1

Unix & Linux用户

回答已采纳

发布于 2018-10-16 16:26:26

最后,我得出结论,hp-setup不起作用,使用hp-setup设置是唯一的方法。因此,我清除了预先安装的hplip版本(3.6.13),并计划尝试使用HPLIP的官方网站提供的(最新)版本(3.18.9)。由于插件也是必需的,所以除了下载hplip-3.18.9-plugin.runhplip-3.18.9-plugin.run.asc之外,还需要下载hplip-3.18.9.run

然后,我安装了sudo sh /path/to/hplip-3.18.9.run,它需要一些依赖项,其中许多依赖项无法由安装程序安装,所以我手动安装了它们。这花费了我大量的时间来查找和安装依赖项,尽管它们都是免费的,并且都可以在Trsiquel存储库上使用。最后,成功安装了hplip (3.18.9)。现在,hp-setup (由hplip3.18.9提供)工作良好,配置/设置了HP打印机。

我完全不知道/理解预装版本和插件的问题所在,但这就是我最终如何让打印机工作的原因。所以,添加作为一个答案。

票数 0
EN
页面原文内容由Unix & Linux提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://unix.stackexchange.com/questions/473518

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档