lpstat -t列出了打印机的打印机名称,类和设备,但它没有列出打印机描述或位置.有没有办法在不使用http或GUI界面的情况下获取此信息?
解决方法 您可以使用lpstat -l -p printername获取此信息.[root@Valley ~]# lpstat -l -p zebra2printer zebra2 is IDle. enabled since Tue Jun 8 15:50:35 2010 Form mounted: Content types: any Printer types: unkNown Description: Zebra 105SL in shipPing Alerts: none Location: ShipPing Connection: direct On fault: no alert After fault: continue Users allowed: (all) Forms allowed: (none) Banner required Charset sets: (none) Default pitch: Default page size: Default port settings:总结
以上是内存溢出为你收集整理的linux – 列出其他CUPS打印机信息全部内容,希望文章能够帮你解决linux – 列出其他CUPS打印机信息所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)