Exemple #1
0
 def init_printing(self):
     if not HAS_PRINTING:
         return
     try:
         from xpra.platform.printing import init_printing
         printlog("init_printing=%s", init_printing)
         init_printing(self.send_printers)
         self.do_send_printers()
     except Exception:
         log.warn("failed to send printers", exc_info=True)
Exemple #2
0
 def init_printing(self):
     if not HAS_PRINTING:
         return
     try:
         from xpra.platform.printing import init_printing
         printlog("init_printing=%s", init_printing)
         init_printing(self.send_printers)
         self.do_send_printers()
     except Exception:
         log.warn("failed to send printers", exc_info=True)
Exemple #3
0
 def init_printing(self):
     try:
         from xpra.platform.printing import init_printing
         printlog("init_printing=%s", init_printing)
         init_printing(self.send_printers)
     except Exception as e:
         printlog.error("Error initializing printing support:")
         printlog.error(" %s", e)
         self.printing = False
     else:
         self.send_printers()
     printlog("init_printing() enabled=%s", self.printing)
Exemple #4
0
 def init_printing(self):
     try:
         from xpra.platform.printing import init_printing
         printlog("init_printing=%s", init_printing)
         init_printing(self.send_printers)
     except Exception as e:
         log.error("Error initializing printing support:")
         log.error(" %s", e)
         self.printing = False
     try:
         self.do_send_printers()
     except Exception:
         log.error("Error sending the list of printers:", exc_info=True)
         self.printing = False
Exemple #5
0
 def init_printing(self):
     try:
         from xpra.platform.printing import init_printing
         printlog("init_printing=%s", init_printing)
         init_printing(self.send_printers)
     except Exception as e:
         log.error("Error initializing printing support:")
         log.error(" %s", e)
         self.printing = False
     try:
         self.do_send_printers()
     except Exception:
         log.error("Error sending the list of printers:", exc_info=True)
         self.printing = False