Notifications
Clear all
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
Posted : 15/03/2023 9:02 pm
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 -- https://foxrun3d.com/
Posted : 17/03/2023 1:47 am
Fairly easy to do with a post-processing script.
See: Print Settings > Output options
Cheerio,
Posted : 17/03/2023 11:17 am