{"id":6293,"date":"2020-01-19T19:41:45","date_gmt":"2020-01-19T11:41:45","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=6293"},"modified":"2020-05-23T21:29:32","modified_gmt":"2020-05-23T13:29:32","slug":"cupsdisable","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/cupsdisable","title":{"rendered":"cupsdisable\u547d\u4ee4 – \u505c\u6b62\u6307\u5b9a\u7684\u6253\u5370\u673a"},"content":{"rendered":"\n

cupsdisable\u547d\u4ee4\u7528\u4e8e\u505c\u6b62\u6307\u5b9a\u7684\u6253\u5370\u673a\u3002<\/p>\n\n\n\n

\u4f7f\u7528cupsdisable\u547d\u4ee4\u505c\u6b62\u6253\u5370\u673a\u65f6\uff0c\u53ef\u4ee5\u6307\u5b9a\u67d0\u4e2a\u786e\u5b9a\u7684\u6253\u5370\u673a\uff0c\u4e5f\u53ef\u4ee5\u6307\u5b9a\u4e00\u7c7b\u6253\u5370\u673a\u3002<\/p>\n\n\n\n

\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong> cupsdisable [\u53c2\u6570] [\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<\u7528\u6237\u540d><\/td>\u6307\u5b9a\u8fde\u63a5\u670d\u52a1\u5668\u65f6\u4f7f\u7528\u7684\u7528\u6237\u540d<\/td><\/tr>
-u<\u7528\u6237\u540d> <\/td>\u6307\u5b9a\u6253\u5370\u4efb\u52a1\u6240\u5c5e\u7684\u7528\u6237<\/td><\/tr>
-c<\/td>\u53d6\u6d88\u6307\u5b9a\u6253\u5370\u673a\u7684\u6240\u6709\u6253\u5370\u4efb\u52a1<\/td><\/tr>
-h<\u4e3b\u673a\u540d\uff1a\u7aef\u53e3><\/td>\u6307\u5b9a\u8fde\u63a5\u7684\u670d\u52a1\u5668\u540d\u548c\u7aef\u53e3\u53f7<\/td><\/tr>
-r<\u539f\u56e0><\/td>\u505c\u6b62\u6253\u5370\u673a\u7684\u539f\u56e0<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n

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

\u505c\u6b62\u6253\u5370\u673a\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# cupsdisable my_prienter<\/pre>\n\n\n\n

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

[root@linuxcool ~]# cupsdisable -U linuxcool my_prienter<\/pre>\n\n\n\n

\u8fde\u63a5\u6307\u5b9a\u7684\u670d\u52a1\u5668\u548c\u7aef\u53e3\u53f7\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# cupsdisable -h prienter_serv:9100 my_prienter<\/pre>\n","protected":false},"excerpt":{"rendered":"

cupsdisable\u547d\u4ee4\u7528\u4e8e\u505c\u6b62\u6307\u5b9a\u7684\u6253\u5370\u673a\u3002 \u4f7f\u7528cupsdisable\u547d\u4ee4\u505c\u6b62\u6253\u5370\u673a\u65f6\uff0c\u53ef\u4ee5\u6307\u5b9a\u67d0\u4e2a\u786e\u5b9a […]<\/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\/6293"}],"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=6293"}],"version-history":[{"count":9,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/6293\/revisions"}],"predecessor-version":[{"id":7439,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/6293\/revisions\/7439"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=6293"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=6293"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=6293"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}