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]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux