Notifications
Clear all
Report Long Filename to Octoprint
I made a very simple firmware change to report the long filename to Octoprint for monitoring. I start prints from the printer, but I use Octoprint and Octoslack to monitor, and the 8.3 filename was bugging me.
It's so simple it seems silly to even post the code, but here it is anyway:
Firmware/cardreader.cpp- getfilename(0, fname);
Firmware/cardreader.cpp: SERIAL_PROTOCOLRPGM(_N("File opened: "));////MSG_SD_FILE_OPENED
Firmware/cardreader.cpp- //SERIAL_PROTOCOL(fname);
Firmware/cardreader.cpp- SERIAL_PROTOCOL(longFilename[0] ? longFilename : fname);
Posted : 16/05/2020 1:27 pm
RE: Report Long Filename to Octoprint
This is a great fix. Have you posted it to the Prusa github pages for incorporation into upcoming releases?
My notes and disclaimers on 3D printing
and miscellaneous other tech projects
He is intelligent, but not experienced. His pattern indicates two dimensional thinking. -- Spock in Star Trek: The Wrath of Khan
Posted : 16/05/2020 5:21 pm
Topic starter
answered:
RE: Report Long Filename to Octoprint
@bobstro
Not yet. It would be my first time submitting something, so I'll have to look up how to do it, once I have time.
Posted : 16/05/2020 5:41 pm
Topic starter
answered:
RE: Report Long Filename to Octoprint
OK, I figured it out, I think.
Posted : 17/05/2020 10:57 am