Merge branch 'experimental' of github.com:kliment/Printrun into experimental
commit
69793bd295
|
@ -841,6 +841,14 @@ class pronsole(cmd.Cmd):
|
||||||
else:
|
else:
|
||||||
self.log(_("Printer is not online."))
|
self.log(_("Printer is not online."))
|
||||||
return
|
return
|
||||||
|
elif(l[0] == "@"):
|
||||||
|
if(self.p and self.p.online):
|
||||||
|
if(not self.p.loud):
|
||||||
|
self.log("SENDING:"+l[1:])
|
||||||
|
self.p.send_now(l[1:])
|
||||||
|
else:
|
||||||
|
self.log("printer is not online.")
|
||||||
|
return
|
||||||
else:
|
else:
|
||||||
cmd.Cmd.default(self, l)
|
cmd.Cmd.default(self, l)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue