[impression/etat_imprimante.py] messages plus indicatifs

darcs-hash:20090523233439-bd074-9b8c51c22ba9907b6308c7492b20ac301a9446cb.gz
This commit is contained in:
Antoine Durand-Gasselin 2009-05-24 01:34:39 +02:00
parent c4fc69cdd9
commit af07ccb27e

View file

@ -25,13 +25,15 @@ def etat():
def etat_canon(): def etat_canon():
_dico = { _dico = {
'idle(3)\nrunning(2)' : u'En marche', 'idle(3)\nrunning(2)' : u'Imprimante fonctionnelle',
'printing(4)\nrunning(2)' : u'Impression en cours', 'printing(4)\nrunning(2)' : u'Impression en cours',
'other(1)\ndown(5)' : u"Erreur [grave] de l'imprimante", 'other(1)\ndown(5)' : u"Imprimante hors-service",
'other(1)\nrunning(2)' : u'Imprimante en veille', 'other(1)\nrunning(2)' : u'Imprimante en veille',
'warmup(5)\nrunning(2)' : u'Imprimante en attente', 'warmup(5)\nrunning(2)' : u'Préchauffage',
'idle(3)\nwarning(3)' : u'Warning: ne fonctionne pas', 'idle(3)\nwarning(3)' : u"""Imprimante fonctionnelle
'printing(4)\nwarning(3)' : u'Warning: imprime (mais warning)', (penser à vérifier le niveau d'encre et de papier)""",
'printing(4)\nwarning(3)' : u"""Impression en cours
(penser à vérifier le niveau d'encre et de papier)""",
} }
try: try:
msg = liste_msg = [] msg = liste_msg = []