hmtqjjj 发表于 2024-3-2 20:42

求助,优酷路由宝l1 安装了cups,avahi-daemon,苹果手机找到打印机但打印错误

本帖最后由 hmtqjjj 于 2024-3-7 15:17 编辑


再次更新   重新 cups用raw添加打印机,苹果手机找到打印机不提示错误了,但是打印任务里显示   "Sending data to printer."   打印机也有动静,但是一直像在接受任务的样子,隔几秒像是要打印的样子,但是又没动静了,就这样循环下去,

更新一下,重新安装了op19.07.9,安装了cups和avahi-daemon,,用cups添加了打印机(选的ppd文件),苹果手机能找到打印机了,但是打印提示错误。











如题,电脑可以打印,安卓手机也可以用printhand打印,但是ios设备就是找不到打印机,请教大师指点一下。









hmtqjjj 发表于 2024-3-2 20:58

本帖最后由 hmtqjjj 于 2024-3-2 21:00 编辑

########################################################################
#                                                                      #
# This is the CUPS configuration file.If you are familiar with       #
# Apache or any of the other popular web servers, we've followed the   #
# same format.Any configuration variable used here has the same      #
# semantics as the corresponding variable in Apache.If we need       #
# different functionality then a different name is used to avoid       #
# confusion...                                                         #
#                                                                      #
########################################################################


AccessLog syslog
ErrorLog syslog
LogLevel info
PageLog syslog
PreserveJobHistory No
PreserveJobFiles No
AutoPurgeJobs Yes
MaxJobs 25
MaxPrinterHistory 10
#Printcap /etc/printcap
#PrintcapFormat BSD
RequestRoot /var/cups
#RemoteRoot remroot
#User nobody
#Group nogroup
# root permissions required to make cups work with the usb backend
User root
Group root
RIPCache auto
TempDir /var/cups
Port 631
HostNameLookups On
KeepAlive On
# No: "BrowseOrder" "BrowseAllow" "BrowseRemoteProtocols"
Browsing Yes
BrowsingWebIF Yes
BrowseLocalProtocols DNSSD
DefaultShared Yes
WebInterface Yes
Listen /var/run/cups/cups.sock

ServerAlias *

<Location />
AuthClass Anonymous
AuthType None
Order Deny,Allow
Deny From All
Allow From 192.168.2.0/24
</Location>

<Location /admin>
AuthType Basic
AuthClass System
Order Allow,Deny
Allow From 127.0.0.1
Allow From 192.168.2.0/24
Allow all
</Location>



<?xml version="1.0" ?>
<!DOCTYPE service-groupSYSTEM 'avahi-service.dtd'>
<service-group>
<name replace-wildcards="yes">AirPrint M232 @ %h</name>
<service>
<type>_ipp._tcp</type>
<subtype>_universal._sub._ipp._tcp</subtype>
<port>631</port>
<txt-record>txtvers=1</txt-record><txt-record>qtotal=1</txt-record><txt-record>Transparent=T</txt-record><txt-record>URF=none</txt-record><txt-record>rp=printers/M232</txt-record>
<txt-record>note=M232</txt-record><txt-record>product=(GPL Ghostscript)</txt-record>
<txt-record>printer-state=3</txt-record><txt-record>printer-type=0x820004</txt-record>
<txt-record>pdl=application/octet-stream,application/pdf,application/postscript,application/vnd.cups-raster,image/gif,image/jpeg,image/png,image/tiff,image/urf,text/html,text/plain,application/msword,application/pclm,application/rss+xml,application/sgml</txt-record></service></service-group>


晚点末班车 发表于 2024-3-7 10:01

驱动问题驱动问题驱动问题驱动问题驱动问题

hmtqjjj 发表于 2024-3-7 13:08

晚点末班车 发表于 2024-3-7 10:01
驱动问题驱动问题驱动问题驱动问题驱动问题

哥,能具体指点一下吗?谢谢了

wzx82 发表于 2024-3-9 11:45

用的op哪个固件 我也试试

hmtqjjj 发表于 2024-3-9 14:07

wzx82 发表于 2024-3-9 11:45
用的op哪个固件 我也试试

http://mirrors.qvq.net.cn/openwrt/releases/19.07.9/targets/ramips/mt7620/openwrt-19.07.9-ramips-mt7620-youku-yk1-squashfs-sysupgrade.bin

用breed刷 19.07.9

然后 刷 cups_2.3.3-a_mipsel_24kc    和 avahi-daemon



smxliyu 发表于 2024-4-10 19:01

已经用breed刷好了openwrt但是不会刷cups 真心求教

smxliyu 发表于 2024-4-10 19:02

另外,openwrt怎么改中文啊,system里面语言设置只有auto

hmtqjjj 发表于 2024-4-10 19:32

smxliyu 发表于 2024-4-10 19:01
已经用breed刷好了openwrt但是不会刷cups 真心求教

opkg update

opkg install cups
页: [1]
查看完整版本: 求助,优酷路由宝l1 安装了cups,avahi-daemon,苹果手机找到打印机但打印错误