{"id":3605,"date":"2020-05-04T10:14:00","date_gmt":"2020-05-04T02:14:00","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=3605"},"modified":"2020-05-04T10:39:17","modified_gmt":"2020-05-04T02:39:17","slug":"lpd","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/lpd","title":{"rendered":"lpd\u547d\u4ee4 – \u5e38\u9a7b\u7684\u6253\u5370\u673a\u7ba1\u7406\u7a0b\u5e8f"},"content":{"rendered":"\n

lpd\u547d\u4ee4\u662f\u4e00\u4e2a\u5e38\u9a7b\u7684\u6253\u5370\u673a\u7ba1\u7406\u7a0b\u5e8f\uff0c\u5b83\u4f1a\u6839\u636e \/etc\/printcap \u7684\u5185\u5bb9\u6765\u7ba1\u7406\u672c\u5730\u6216\u8fdc\u7aef\u7684\u6253\u5370\u673a\u3002\u8fd9\u4e2a\u7a0b\u5e8f\u901a\u5e38\u662f\u7531 \/etc\/rc.d \u4e2d\u7684\u7a0b\u5e8f\u5728\u7cfb\u7edf\u542f\u59cb\u9636\u6bb5\u6267\u884c\u3002<\/p>\n\n\n\n

lpr \u548c lpd\u7ec4\u6210\u4e86\u4e00\u4e2a\u53ef\u4ee5\u79bb\u7ebf\u5de5\u4f5c\u7684\u7cfb\u7edf\uff0c\u5f53\u4f60\u4f7f\u7528 lpr \u65f6\uff0c\u6253\u5370\u673a\u4e0d\u9700\u8981\u80fd\u7acb\u5373\u53ef\u7528\uff0c\u751a\u81f3\u4e0d\u7528\u5b58\u5728\u3002<\/p>\n\n\n\n

lpd\u4f1a\u81ea\u52a8\u76d1\u89c6\u6253\u5370\u673a\u7684\u72b6\u51b5\uff0c\u5f53\u6253\u5370\u673a\u4e0a\u7ebf\u540e\uff0c\u4fbf\u7acb\u5373\u5c06\u6863\u6848\u9001\u4ea4\u5904\u7406\u3002\u8fd9\u4e2a\u5f97\u6240\u6709\u7684\u5e94\u7528\u7a0b\u5e8f\u4e0d\u5fc5\u7b49\u5f85\u6253\u5370\u673a\u5b8c\u6210\u524d\u4e00\u5de5\u4f5c\u3002<\/p>\n\n\n\n

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

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

-l<\/td>\u5c06\u4e00\u4e9b\u9519\u8bef\u4fe1\u606f\u663e\u793a\u5728\u6807\u51c6\u8f93\u51fa\u4e0a <\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n

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

\u81ea\u52a8\u76d1\u89c6\u6253\u5370\u673a\u60c5\u51b5\uff1a<\/p>\n\n\n\n

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

\u5b89\u88c5lpd\u670d\u52a1\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# yum install lpd<\/pre>\n\n\n\n

\u5c06\u4e00\u4e9b\u9519\u8bef\u4fe1\u606f\u663e\u793a\u5728\u6807\u51c6\u8f93\u51fa\u4e0a\uff1a<\/p>\n\n\n\n

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

lpd\u547d\u4ee4\u662f\u4e00\u4e2a\u5e38\u9a7b\u7684\u6253\u5370\u673a\u7ba1\u7406\u7a0b\u5e8f\uff0c\u5b83\u4f1a\u6839\u636e \/etc\/printcap \u7684\u5185\u5bb9\u6765\u7ba1\u7406\u672c\u5730\u6216\u8fdc\u7aef\u7684\u6253\u5370\u673a\u3002\u8fd9 […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[7],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/3605"}],"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=3605"}],"version-history":[{"count":6,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/3605\/revisions"}],"predecessor-version":[{"id":7386,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/3605\/revisions\/7386"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=3605"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=3605"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=3605"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}