I solved the problem in my situation. I have Windows 10 and Anet A8 printer.
I looked a Python script:
C:\Program Files\Ultimaker Cura 4.10.0\plugins\USBPrinting\AutoDetectBaudJob.py
There is a loop where Cura sends "M105" gcode to the printer and waits response.
while timeout_time > time():
line = serial.readline()
if b"ok" in line and b"T:" in line:
self.setResult(baud_rate)
Logger.log(...
serial.close() # close serial port ...
return
But "ok" and "T:" are not on the same line. That's why the condition never come true. I made a change like that:
line = b""
while timeout_time > time():
line += serial.readline()
if b"ok" in line and b"T:" in line:
self.setResult(baud_rate)
Logger.log(...
serial.close() # close serial port ...
return
No other change was needed. The connection begun to play.
- 2
Recommended Posts
GregValiant 1,342
With Cura running, select "Market Place" at the upper right of the screen. When the dialog comes up (it can take a bit of time to load) select "Installed" and scroll down to "USB Printing" and make sure it is checked.
You can also do a search around here for the same topic but with different printers. The problem does come up once in a while and there might be a couple of other things you can look at.
Link to post
Share on other sites