{"id":5861,"date":"2019-12-23T14:45:50","date_gmt":"2019-12-23T06:45:50","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=5861"},"modified":"2020-05-05T14:54:59","modified_gmt":"2020-05-05T06:54:59","slug":"accept","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/accept","title":{"rendered":"accept\u547d\u4ee4 – \u5141\u8bb8\u5411\u76ee\u6807\u6253\u5370\u673a\u53d1\u9001\u6253\u5370\u4efb\u52a1"},"content":{"rendered":"\n

accept\u547d\u4ee4\u5c5e\u4e8eCUPS\u5957\u4ef6\uff0c\u7528\u4e8e\u6307\u793a\u6253\u5370\u7cfb\u7edf\u63a5\u53d7\u53d1\u5f80\u6307\u5b9a\u76ee\u6807\u6253\u5370\u673a\u7684\u6253\u5370\u4efb\u52a1\u3002 <\/p>\n\n\n\n

\u8bed\u6cd5\u683c\u5f0f:<\/strong> accept [\u53c2\u6570] [\u6307\u5b9a\u7684\u6253\u5370\u673a]<\/p>\n\n\n\n

\u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n

-E<\/td>\u5f53\u8fde\u63a5\u5230\u670d\u52a1\u5668\u65f6\u5f3a\u5236\u52a0\u5bc6<\/td><\/tr>
-U<\/td>\u6307\u5b9a\u8fde\u63a5\u670d\u52a1\u5668\u65f6\u4f7f\u7528\u7684\u7528\u6237\u540d<\/td><\/tr>
-h<\/td>\u6307\u5b9a\u8fde\u63a5\u670d\u52a1\u5668\u540d\u548c\u7aef\u53e3\u53f7<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n

\u53c2\u8003\u5b9e\u4f8b<\/strong><\/p>\n\n\n\n

\u5141\u8bb8\u5411\u76ee\u6807\u6253\u5370\u673a\u53d1\u9001\u6253\u5370\u4efb\u52a1\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# accept printer01<\/pre>\n\n\n\n

\u9009\u62e9\u76ee\u6807\u6253\u5370\u673aip\u548c\u7aef\u53e3\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# accept -h  printer01:9100<\/pre>\n\n\n\n

\u4f7f\u7528\u6307\u5b9a\u7528\u6237\u8fde\u63a5\u6253\u5370\u673a\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# accept -U user1 -h 192.168.127.127:9100<\/pre>\n","protected":false},"excerpt":{"rendered":"

accept\u547d\u4ee4\u5c5e\u4e8eCUPS\u5957\u4ef6\uff0c\u7528\u4e8e\u6307\u793a\u6253\u5370\u7cfb\u7edf\u63a5\u53d7\u53d1\u5f80\u6307\u5b9a\u76ee\u6807\u6253\u5370\u673a\u7684\u6253\u5370\u4efb\u52a1\u3002 \u8bed\u6cd5\u683c\u5f0f: accept […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[9],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/5861"}],"collection":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/comments?post=5861"}],"version-history":[{"count":4,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/5861\/revisions"}],"predecessor-version":[{"id":7473,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/5861\/revisions\/7473"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=5861"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=5861"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=5861"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}