Re: Printer marker levels -

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 28/01/11 11:46, Tim Waugh wrote:

    python<<"EOF"
    import cups
    c=cups.Connection()
    print [x['printer-state-reasons'] for x in c.getPrinters().values()]
    EOF


    I could not copy/paste that notice and had to manually copy it from
    system-config-printer, but I assure you the semicolon is there! I do
    not know if it appears in the error message on screen. I just
    printed two pages and there was no error message?

    The above command produces:

        [bobg@box9 ~]$ python <<"EOF"
         > import cups
         > c=cups.Connection()
         > print [x['printer-state-reasons'] for x in
        c.getPrinters().values()]
         > EOF
        [[u'none'], [u';marker-supply-low-warning'], [u'none']]


    This is one of several printers on my wireless lan. It should not be
    low on toner although I am not certain that it isn't indicating so
    prematurely. I usually fill my own cartridges but this happens to be
    one I bought new several months ago. This particular printer has
    only a USB input and uses an D-Link interface to Ethernet connected
    to a gigabit switch.

    Thanks to all.

    Bob

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux