def get_printsys(self):
     if wal.IS_MSW:
         from sk1.printing.msw_print import MSW_PS
         return MSW_PS(self.app, physical_only=True)
     else:
         from sk1.printing.cups_print import CUPS_PS
         return CUPS_PS(physical_only=True)
Esempio n. 2
0
def get_printsys(app):
    if wal.IS_MSW:
        from sk1.printing.msw_print import MSW_PS
        return MSW_PS(app)
    from sk1.printing.cups_print import CUPS_PS
    return CUPS_PS()