{"id":7786,"date":"2020-05-24T14:40:01","date_gmt":"2020-05-24T06:40:01","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=7786"},"modified":"2020-05-24T14:57:42","modified_gmt":"2020-05-24T06:57:42","slug":"lpmove","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/lpmove","title":{"rendered":"lpmove\u547d\u4ee4 – \u5c06\u67d0\u4e2a\u4efb\u52a1\u79fb\u52a8\u5230\u53e6\u5916\u4e00\u53f0\u6253\u5370\u673a"},"content":{"rendered":"\n
lpmove\u547d\u4ee4\u5c5e\u4e8eCUPS\u6253\u5370\u547d\u4ee4\u7cfb\u5217\u3002\u8be5\u547d\u4ee4\u53ef\u4ee5\u5c06\u6307\u5b9a\u7684\u4f5c\u4e1a\u6216\u6240\u6709\u4f5c\u4e1a\u4ece\u6e90\u79fb\u52a8\u5230\u76ee\u6807\u3002\u6253\u5370\u4f5c\u4e1a\u53ef\u4ee5\u662f\u4f5c\u4e1aID\u53f7\u6216\u65e7\u76ee\u7684\u5730\u548c\u4f5c\u4e1aID\u3002<\/p>\n\n\n\n
CUPS(Common UNIX Printing System\uff0c\u5373\u901a\u7528Unix\u6253\u5370\u7cfb\u7edf)\u662fFedoraCore3\u4e2d\u652f\u6301\u7684\u6253\u5370\u7cfb\u7edf\uff0c\u5b83\u4e3b\u8981\u662f\u4f7f\u7528IPP(Internet PrintingProtocol)\u6765\u7ba1\u7406\u6253\u5370\u5de5\u4f5c\u53ca\u961f\u5217\uff0c\u4f46\u540c\u65f6\u4e5f\u652f\u6301\u201dLPD\u201d(Line Printer Daemon)\u548c\u201dSMB\u201d(ServerMessage Block)\u4ee5\u53caSocket\u7b49\u901a\u4fe1\u534f\u8bae\u3002<\/p>\n\n\n\n
\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>lpmove [\u53c2\u6570]<\/p>\n\n\n\n \u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n \u53c2\u8003\u5b9e\u4f8b<\/strong><\/p>\n\n\n\n \u6307\u5b9a\u65b0\u7684\u6253\u5370\u673aID\uff1a<\/p>\n\n\n\n \u5c06\u65e7\u6253\u5370\u673a\u6307\u5b9a\u5230\u65b0\u6253\u5370\u673a\uff1a<\/p>\n\n\n\n \u6307\u5b9a\u7528\u6237\uff1a<\/p>\n\n\n\n lpmove\u547d\u4ee4\u5c5e\u4e8eCUPS\u6253\u5370\u547d\u4ee4\u7cfb\u5217\u3002\u8be5\u547d\u4ee4\u53ef\u4ee5\u5c06\u6307\u5b9a\u7684\u4f5c\u4e1a\u6216\u6240\u6709\u4f5c\u4e1a\u4ece\u6e90\u79fb\u52a8\u5230\u76ee\u6807\u3002\u6253\u5370\u4f5c\u4e1a\u53ef\u4ee5\u662f\u4f5c\u4e1aI […]<\/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\/7786"}],"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=7786"}],"version-history":[{"count":3,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/7786\/revisions"}],"predecessor-version":[{"id":7806,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/7786\/revisions\/7806"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=7786"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=7786"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=7786"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}-E<\/td> \u8fde\u63a5\u5230\u670d\u52a1\u5668\u65f6\u5f3a\u5236\u52a0\u5bc6<\/td><\/tr> -U<\/td> \u6307\u5b9a\u7528\u6237\u540d<\/td><\/tr> -h \u670d\u52a1\u5668[:p\u7aef\u53e3\u53f7]<\/td> \u6307\u5b9a\u670d\u52a1\u5668<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n [root@linuxcool ~]# lpmove 123 newprinter<\/pre>\n\n\n\n
[root@linuxcool ~]# lpmove oldprinter-123 newprinter<\/pre>\n\n\n\n
[root@linuxcool ~]# lpmove -U linuxcool<\/pre>\n","protected":false},"excerpt":{"rendered":"