{"id":7784,"date":"2020-05-24T08:51:45","date_gmt":"2020-05-24T00:51:45","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=7784"},"modified":"2020-05-24T09:03:10","modified_gmt":"2020-05-24T01:03:10","slug":"lpinfo","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/lpinfo","title":{"rendered":"lpinfo\u547d\u4ee4 – \u663e\u793a\u53ef\u7528\u7684\u8bbe\u5907\u6216\u9a71\u52a8\u7a0b\u5e8f"},"content":{"rendered":"\n

lpinfo\u547d\u4ee4\u53ef\u5217\u51fa\u53ef\u7528\u7684\u6253\u5370\u8bbe\u5907\u548c\u9a71\u52a8\u3002<\/p>\n\n\n\n

\u5176\u4e2d\u9700\u8981\u6ce8\u610f\u7684\u662f\uff0c\u8be5\u547d\u4ee4\u53c2\u6570\u5f88\u591a\uff0c\u4f46\u662f\u4e3b\u8981\u662f-v\u548c-m\u4e24\u4e2a\u53c2\u6570\u7684\u4f7f\u7528\u3002\u8fd9\u4e24\u4e2a\u53c2\u6570\u7684\u4f7f\u7528\u9891\u7387\u4f1a\u8fdc\u8fdc\u9ad8\u4e8e\u5176\u4ed6\u53c2\u6570\uff0c\u5e76\u4e14\u8fd9\u4e24\u4e2a\u53c2\u6570\u4e5f\u80fd\u89e3\u51b3\u5927\u90e8\u5206\u95ee\u9898\u3002<\/p>\n\n\n\n

\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>lpinfo [\u53c2\u6570]<\/p>\n\n\n\n

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

-E<\/td>\u8fde\u63a5\u5230\u670d\u52a1\u5668\u65f6\u5f3a\u5236\u52a0\u5bc6<\/td><\/tr>
-U<\u7528\u6237\u540d><\/td>\u8bbe\u7f6e\u8fde\u63a5\u5230\u670d\u52a1\u5668\u65f6\u4f7f\u7528\u7684\u7528\u6237\u540d<\/td><\/tr>
-l<\/td>\u663e\u793a\u8bbe\u5907\u6216\u9a71\u52a8\u7a0b\u5e8f\u7684\u957f\u5217\u8868<\/td><\/tr>
-h<\u670d\u52a1\u5668:\u7aef\u53e3><\/td>\u8fde\u63a5\u5907\u7528\u670d\u52a1\u5668<\/td><\/tr>
-m<\/td>\u5217\u51fa\u53ef\u7528\u7684\u9a71\u52a8\u7a0b\u5e8f<\/td><\/tr>
-v<\/td>\u5217\u51fa\u53ef\u7528\u7684\u8bbe\u5907<\/td><\/tr>
--language<\u8bed\u8a00><\/td>\u6307\u5b9a\u8bed\u8a00<\/td><\/tr>
--timeout<\u8d85\u65f6\u65f6\u95f4><\/td>\u5f53\u5217\u51fa\u8bbe\u5907\u65f6\u6307\u5b9a\u8d85\u65f6\u65f6\u95f4<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n

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

\u663e\u793a\u53ef\u7528\u7684\u8bbe\u5907\u6216\u9a71\u7684\u7a0b\u5e8f\uff1a<\/p>\n\n\n\n

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

\u5217\u51fa\u53ef\u7528\u7684\u8bbe\u5907\uff1a<\/p>\n\n\n\n

[root@linuxcool~]# lpinfo -v<\/pre>\n\n\n\n

\u5217\u51fa\u53ef\u7528\u7684\u9a71\u52a8\u7a0b\u5e8f\uff1a<\/p>\n\n\n\n

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

lpinfo\u547d\u4ee4\u53ef\u5217\u51fa\u53ef\u7528\u7684\u6253\u5370\u8bbe\u5907\u548c\u9a71\u52a8\u3002 \u5176\u4e2d\u9700\u8981\u6ce8\u610f\u7684\u662f\uff0c\u8be5\u547d\u4ee4\u53c2\u6570\u5f88\u591a\uff0c\u4f46\u662f\u4e3b\u8981\u662f-v\u548c-m\u4e24\u4e2a\u53c2\u6570\u7684 […]<\/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\/7784"}],"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=7784"}],"version-history":[{"count":3,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/7784\/revisions"}],"predecessor-version":[{"id":7795,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/7784\/revisions\/7795"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=7784"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=7784"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=7784"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}