【问题标题】:AirPrint and BonjourAirPrint 和 Bonjour
【发布时间】:2011-09-14 17:23:55
【问题描述】:

我是否必须使用支持 Apple AirPrint 的打印机才能在我的 iPad 应用程序中使用 AirPrint?

我不能在 Mac 上设置共享 Bonjour 打印服务并连接到该服务吗?

【问题讨论】:

    标签: objective-c ipad ios4 bonjour airprint


    【解决方案1】:

    您必须使用 AirPrint 打印机。 Printopia 可能你很幸运,但我还没有尝试过。

    【讨论】:

      【解决方案2】:

      在您网络中连接了任何打印机的 ubuntu 机器上设置 airprint 服务。见这里:

      http://hartlessbydesign.com/blog/view/197-airprint-with-ubuntu-1010

      【讨论】:

        【解决方案3】:

        是的,您可以共享 Mac 打印机并从您的 iOS 设备访问它们。

        在 OS X 10.10 下,您需要重新发布修改后的 Bonjour 公告。将,_universal 添加为服务子类型并将image/urf 添加到 pdl 值:

        例子

        dns-sd                   \
         -R "AirPrinter"         \
         _ipp._tcp,_universal    \
         .                       \
         631                     \
            rp=printers/ColorJet \
            pdl=application/pdf,image/urf \
            URF=none
        

        c't 21/2015 中有德文描述。

        【讨论】:

          猜你喜欢
          • 1970-01-01
          • 1970-01-01
          • 1970-01-01
          • 1970-01-01
          • 1970-01-01
          • 1970-01-01
          • 1970-01-01
          • 1970-01-01
          • 1970-01-01
          相关资源
          最近更新 更多