Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

How to display printer information, such as printer description or printer location using command line tools?

lpstat -t lists printer names, classes and devices for printers, but it doesn't list printer description or location. Is there a way to get this information without using http or GUI interface?

share|improve this question

1 Answer 1

up vote 3 down vote accepted

You can obtain this information with 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:
        Forms allowed:
        Banner required
        Charset sets:
        Default pitch:
        Default page size:
        Default port settings:
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.