Hello,
I've been working on a piece of software. I would like a user to be able to generate a gcode file that will call a 2nd gcode file using "M32 S??? MyFile.gco". It works fine but I never know the *.gco file name unless I copy a gcode file to a card, insert it into the printer, and then query the printer with M20. Then I have to remove the card, enter the filename, and finally I can print the files. It would be much simpler to know how Marlin will generate the 8.3 filename from the long file name.
So my question is...how is the 8.3 file name generated, and can it be anticipated? If the long file names are "This is the file I want to print.gcode" and "This is the file that gets called.gcode" then what would be the 8.3 equivalents?
I hope that is clear. Thanks in advance.