getting printer location anddescriptioninformationfromthecommand line

Sites, Brad BSites at mem-ins.com
Mon May 4 19:24:45 UTC 2009


In what way?  It is configured in CUPS and available to all users on the
system.  However, it is not shared via SAMBA.

BTW, I am running RHEL4 and cups-1.1.22-0.rc1.9.20.2.el4_6.6.

-----Original Message-----
From: redhat-list-bounces at redhat.com
[mailto:redhat-list-bounces at redhat.com] On Behalf Of Blackburn, Marvin
Sent: Monday, May 04, 2009 2:20 PM
To: General Red Hat Linux discussion list
Subject: RE: getting printer location
anddescriptioninformationfromthecommand line

Is that a shared printer?


_____________________________________
"He's no failure. He's not dead yet."
William Lloyd George

-----Original Message-----
From: redhat-list-bounces at redhat.com
[mailto:redhat-list-bounces at redhat.com] On Behalf Of Sites, Brad
Sent: Monday, May 04, 2009 2:49 PM
To: General Red Hat Linux discussion list
Subject: RE: getting printer location and
descriptioninformationfromthecommand line

Really?  It does for me.

memcolinux5 root medev /root
> lpstat -l -p PCO-045M
printer PCO-045M is idle.  enabled since Jan 01 00:00
        Form mounted:
        Content types: any
        Printer types: unknown
        Description: PCO-045M
        Alerts: none
        Location: Keene St. - Columbia
        Connection: direct
        Interface: /etc/cups/ppd/PCO-045M.ppd
        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:

-----Original Message-----
From: redhat-list-bounces at redhat.com
[mailto:redhat-list-bounces at redhat.com] On Behalf Of Blackburn, Marvin
Sent: Monday, May 04, 2009 12:58 PM
To: General Red Hat Linux discussion list
Subject: RE: getting printer location and description
informationfromthecommand line

That does not provide the location and description

_____________________________________
"He's no failure. He's not dead yet."
William Lloyd George

-----Original Message-----
From: redhat-list-bounces at redhat.com
[mailto:redhat-list-bounces at redhat.com] On Behalf Of Sites, Brad
Sent: Monday, May 04, 2009 10:52 AM
To: redhat-list at redhat.com
Subject: RE: getting printer location and description information
fromthecommand line

lpstat -l -p printer_name


-----Original Message-----
From: redhat-list-bounces at redhat.com
[mailto:redhat-list-bounces at redhat.com] On Behalf Of Blackburn, Marvin
Sent: Monday, May 04, 2009 9:47 AM
To: redhat-list at redhat.com
Subject: getting printer location and description information from
thecommand line

Is there a way to get printer location and description information from
the command line.

The information shows up in cups and system-config-printer, but I need a
way to extract this information via command line.

Lpadmin allow you to set this info, but doesn't provide it.

 

_____________________________________
"He's no failure. He's not dead yet."
William Lloyd George

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request at redhat.com?subject=subscribe
https://www.redhat.com/mailman/listinfo/redhat-list

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list



-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list



-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list




More information about the redhat-list mailing list