Printer marker levels -

fred smith fredex at fcshome.stoneham.ma.us
Fri Jan 28 17:00:37 UTC 2011


On Fri, Jan 28, 2011 at 04:46:21PM +0000, Tim Waugh wrote:
> On Fri, 2011-01-28 at 11:04 -0500, Bob Goodwin wrote:
> >     This seems to have begun recently, perhaps with the installation of
> >     F-14, I'm not certain? If I knew what it means I might be able to
> >     fix something, alternatively how to eliminate it if I can't satisfy
> >     whatever it's objecting to.
> 
> Would be grateful if you could run this short command from the command
> line (just paste it in):
> 
> python <<"EOF"
> import cups
> c=cups.Connection()
> print [x['printer-state-reasons'] for x in c.getPrinters().values()]
> EOF
> 
> There seems to be a semi-colon in that message, and there shouldn't be.
> I'd like to see where it's coming from.
> 
> How is this printer connected?
> 
> Thanks.
> Tim.
> */
> 

I must admit I'm seeing the same phenomenon on at least one printer in
the office. it's a HP Laserjet 4250, using "HP Laserjet 4250 Foomatic/hpijs"
driver.

I ran your python script and get this result:

[[u'none'], [u'none', [u'none'], [u'none']]

note that there are four printers defined on this machine.

Fred

-- 
---- Fred Smith -- fredex at fcshome.stoneham.ma.us -----------------------------
  "And he will be called Wonderful Counselor, Mighty God, Everlasting Father,
  Prince of Peace. Of the increase of his government there will be no end. He 
 will reign on David's throne and over his kingdom, establishing and upholding
      it with justice and righteousness from that time on and forever."
------------------------------- Isaiah 9:7 (niv) ------------------------------


More information about the users mailing list