N1 armbian cups安装hp m126a打印机

N1 armbian cups安装hp m126a打印机以目前中国家庭深度参与中小学教育的带娃模式 在家打作业是少不了的 正好有个 feixun N1 闲置 顺手刷了个 armbian 开搞 CUPS 没用 docker 直接 armbian config 安装 cups 以下假设 n1 的 IP 为 192 168 1 100 24 1 装好 cups 后 先按照网上的说明

大家好,我是讯享网,很高兴认识大家。
以目前中国家庭深度参与中小学教育的带娃模式,在家打作业是少不了的。正好有个feixun N1闲置,顺手刷了个armbian,开搞CUPS。没用docker,直接armbian-config安装cups。以下假设n1的IP为192.168.1.100/24 1、装好cups后,先按照网上的说明,修改配置文件/etc/cups/cupsd.conf。主要就是添加几个allow all,以便通过web访问管理界面。 

讯享网
讯享网Listen 0.0.0.0:631 Listen /var/run/cups/cups.sock # Show shared printers on the local network. Browsing On BrowseLocalProtocolsdnssd # Default authentication type, when authentication is required... DefaultAuthType Basic # Web interface setting... WebInterface Yes # Restrict access to the server... Orderallow,deny Allow all # Restrict access to the admin pages... Orderallow,deny Allow all # Restrict access to configuration files... AuthType Default Require user@SYSTEM Orderallow,deny Allow all 

3、好在现在的linux都有方便的在线软件库,apt安装hplip(hp linux image printer) :

apt install hplip* 

探索性折腾,安装了一大堆,貌似只安装hpijs就可以了。

4、重启cups后,print test page提示:Filter failed…。shit,继续baidu大法,有文章解释说hplip安装后,部分型号的打印机插件没有安装,可以通过hp-plugin安装。

讯享网root@aml:~# hp-plugin HP Linux Imaging and Printing System (ver. 3.17.10) Plugin Download and Install Utility ver. 2.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. warning: It is not recommended to run 'hp-plugin' in a root mode. HP Linux Imaging and Printing System (ver. 3.17.10) Plugin Download and Install Utility ver. 2.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. (Note: Defaults for each question are maked with a '*'. Press <enter> to accept the default.) ------------------------------------------ | PLUG-IN INSTALLATION FOR HPLIP 3.17.10 | ------------------------------------------ Option Description ---------- -------------------------------------------------- d Download plug-in from HP (recommended) p Specify a path to the plug-in (advanced) q Quit hp-plugin (skip installation) Enter option (d=download*, p=specify path, q=quit) ? d ------------------- | DOWNLOAD PLUGIN | ------------------- 

print test page成功打印。


讯享网

5、实现ios air print

apt-get -y install avahi-daemon avahi-discover libnss-mdns service avahi-daemon restart 

重启Avahi Daemon后,随便打开一个文档或网页,找到打印,选择Air Print打印,选择打印机,开始打印。

6、android手机
系统新一点的手机应该都已支持无线打印,至少我的mate30默认就能打。
如wps,选择 文件->打印->系统打印服务,这时可以看到cpus的网络打印机。
7、windows
添加打印机,同网段下直接能找到。找不到的话,试试https://192.168.1.100:631/printers/HP_LaserJet_Pro_MFP_M126a。

end

小讯
上一篇 2025-03-18 08:07
下一篇 2025-03-06 13:10

相关推荐

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容,请联系我们,一经查实,本站将立刻删除。
如需转载请保留出处:https://51itzy.com/kjqy/20701.html