Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/linux/25.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Linux 子类型和MDnsrresponder_Linux_Airprint_Cups_Mdns - Fatal编程技术网

Linux 子类型和MDnsrresponder

Linux 子类型和MDnsrresponder,linux,airprint,cups,mdns,Linux,Airprint,Cups,Mdns,我想使用中的说明发布本地打印机,但要使用mDNSResponder而不是Avahi。这并不是关于Avahi可以做到的哪一个更好,而是关于如何使用mDNSResponder实现这一点 myserver.local. _ipp._tcp _universal._sub._ipp._tcp 631 txtvers=1 qtotal=1 ty=Canon iP4300 note=I am an AirPrint Printer product=(Canon iP4300) rp=printers/Can

我想使用中的说明发布本地打印机,但要使用mDNSResponder而不是Avahi。这并不是关于Avahi可以做到的哪一个更好,而是关于如何使用mDNSResponder实现这一点

myserver.local.
_ipp._tcp _universal._sub._ipp._tcp
631
txtvers=1
qtotal=1
ty=Canon iP4300
note=I am an AirPrint Printer
product=(Canon iP4300)
rp=printers/CannoniP4300
product=(GPL Ghostscript)
pdl=application/pdf,application/postscript,application/vnd.cups-raster,applicati
printer-state=3
URF=none
问题是我不知道如何指定AirPrint工作所需的子类型(_universal._sub._ipp._tcp)。

在C中,通过使用下面的符号将指定子类型放在Register方法的“regtype”参数中。我希望在linux版本的库中也是如此

"_ipp._tcp,_universal"
嗯 Ben

在C#中,通过使用下面的符号将指定子类型放在Register方法的“regtype”参数中来完成。我希望在linux版本的库中也是如此

"_ipp._tcp,_universal"
嗯 本