Virtual printer not sending POSITION_UPDATE events


#1

I'm developing a plugin locally with 1.3.9 and I was hoping to receive and parse POSITION_UPDATE events. I setup the virtual printer per the documentation, but I'm not receiving those events when running a print. I do get lots of Z_CHANGE, but those aren't as useful to me right now.

Is there a problem with my configuration?
How can I receive virtual POSITION_UPDATE events?

Thanks in advance.


#2

POSITION_UPDATE only gets triggered if OctoPrint's comm layer receives a position report from the printer's firmware (or the virtual printer), usually as a response to an M114 that was sent to the printer.


#3

Oh, that's great! The virtual printer is capable and it's just that my gcode isn't triggering it. Now back to trying to detect layer changes..

Thank you for the quick response.