Skip to content

Commit

Permalink
expose printing info via xpra info
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@11519 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Dec 29, 2015
1 parent 59b612a commit 4354e62
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/xpra/server/server_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -1652,8 +1652,12 @@ def get_info(self, proto, client_uuids=None, wids=None, *args):


def get_printing_info(self):
return {"enabled" : self.printing,
"lpadmin" : self.lpadmin}
d = {"enabled" : self.printing,
"lpadmin" : self.lpadmin}
if self.printing:
from xpra.platform.printing import get_info
d.update(get_info())
return d

def get_features_info(self):
i = {
Expand Down

0 comments on commit 4354e62

Please sign in to comment.