printcore - send the initial M105 using _send instead of send_now
send_now can't be used until the printer is online.master
parent
0ae7e1fee4
commit
1a6700296a
|
@ -90,7 +90,8 @@ class printcore():
|
|||
"""
|
||||
self.clear=True
|
||||
time.sleep(1.0)
|
||||
self.send_now("M105")
|
||||
if (not self.online and not self.printing):
|
||||
self._send("M105")
|
||||
while(True):
|
||||
if(not self.printer or not self.printer.isOpen):
|
||||
break
|
||||
|
|
Loading…
Reference in New Issue