Custom G-Code at Start of File (Line 2 of File)?
Good afternoon,
I have tried a web search and forum search, but cannot find an answer.
I am trying to see if there is an option in PrusaSlicer to add g-code to a file before the custom ;Start G-code area. I need to output a custom command BEFORE Prusa outputs the machine limits (M201-M205). Currently the Custom Start G-Code area outputs to the file AFTER the M20x commands. Ideally I would like it immediately after the thumbnail image data.
Thanks,
Jon
RE: Custom G-Code at Start of File (Line 2 of File)?
I don't believe there's any way to achieve this short of manually editing the gcode file with a text editor.
Formerly known on this forum as @fuchsr -- until all hell broke loose with the forum software...
Fairly easy to do with a post-processing script.
See: Print Settings > Output options
Cheerio,