{"id":5882,"date":"2019-12-23T14:45:33","date_gmt":"2019-12-23T06:45:33","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=5882"},"modified":"2020-05-05T14:57:17","modified_gmt":"2020-05-05T06:57:17","slug":"reject","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/reject","title":{"rendered":"reject\u547d\u4ee4 – \u62d2\u7edd\u5411\u76ee\u6807\u6253\u5370\u673a\u53d1\u9001\u6253\u5370\u4efb\u52a1"},"content":{"rendered":"\n

reject\u547d\u4ee4\u5c5e\u4e8eCUPS\u5957\u4ef6\uff0c\u7528\u4e8e\u6307\u793a\u6253\u5370\u7cfb\u7edf\u62d2\u7edd\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> reject [\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\u4f7f\u7528\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>
-r<\/td>\u663e\u793a\u6253\u5370\u673a\u62d2\u7edd\u4f5c\u4e1a\u7684\u539f\u56e0<\/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 ~]# reject printer01<\/pre>\n\n\n\n

\u6307\u5b9a\u8fde\u63a5\u670d\u52a1\u5668\u65f6\u4f7f\u7528\u7684\u7528\u6237\u540d\uff0c\u670d\u52a1\u5668\u540d\uff0c\u7aef\u53e3\u53f7\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# reject -U linuxcool 192.168.127.127:9100 <\/pre>\n\n\n\n

\u663e\u793a\u6253\u5370\u673a\u62d2\u7edd\u4f5c\u4e1a\u7684\u539f\u56e0\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# reject -r printer01<\/pre>\n","protected":false},"excerpt":{"rendered":"

reject\u547d\u4ee4\u5c5e\u4e8eCUPS\u5957\u4ef6\uff0c\u7528\u4e8e\u6307\u793a\u6253\u5370\u7cfb\u7edf\u62d2\u7edd\u53d1\u5f80\u6307\u5b9a\u76ee\u6807\u6253\u5370\u673a\u7684\u6253\u5370\u4efb\u52a1\u3002 \u8bed\u6cd5\u683c\u5f0f: reject […]<\/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\/5882"}],"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=5882"}],"version-history":[{"count":4,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/5882\/revisions"}],"predecessor-version":[{"id":7475,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/5882\/revisions\/7475"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=5882"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=5882"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=5882"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}