Hub*_*rio 4 linux cups printing
如何使用命令行工具显示打印机信息,例如打印机描述或打印机位置?
lpstat -t
列出打印机名称、类别和打印机设备,但不列出打印机描述或位置。有没有办法在不使用 http 或 GUI 界面的情况下获取这些信息?
您可以使用 获取此信息lpstat -l -p printername
。
[root@Valley ~]# lpstat -l -p zebra2
printer 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:
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
4836 次 |
最近记录: |