Incomplete File?
I have been printing with Prusa Mk3/Mk3S+/Mk 4 for 4 years now without problem. Recently (after changing from PC to iMac 2024) I am getting a message saying the print file is incomplete. I ignore the message and everything prints ok. PrusaSlicer is version 2.7.2 with default settings for printer, and the Printer (MksS+ MMU3) software 3.13.2-7080. Any ideas what I have to do to correct this?
Is this .gcode (.bgcode is different) - if so it is a text file, it should end something like this:
; prusaslicer_config = end
With a blank line at the end.
Check.
Cheerio,
RE: Incomplete File?
Thanks, that line is missing from the end G- Code in Prusa Slicer (Mk3S+MMU3) which ends with ; max_layer_z = [max_layer_z].
I added your line and resliced the file (*.gcode ) but the printer still says the file is incomplete?
RE: Incomplete File?
My end G-Code is as follows (spaced differently). Is this incorrect. It should the standard provided in PrusaSlicer as I havent changed anything except adding the last line.
{if max_layer_z < max_print_height}G1 Z{z_offset+min(max_layer_z+1, max_print_height)} F720 ; Move print head up{endif}G1 X0 Y210 F7200 ; park{if max_layer_z < max_print_height}G1 Z{z_offset+min(max_layer_z+49, max_print_height)} F720 ; Move print head further up{endif}{if has_wipe_tower}G1 E-15 F3000{else}G1 E2 F5000G1 E2 F5500G1 E2 F6000G1 E-15 F5800G1 E-20 F5500G1 E10 F3000G1 E-10 F3100G1 E10 F3150G1 E-10 F3250G1 E10 F3300{endif}
M140 S0 ; turn off heatbedM107 ; turn off fan
; Unload filamentM702 C
G4 ; waitM221 S100 ; reset flowM900 K0 ; reset LA{if print_settings_id=~/.*(DETAIL @MK3|QUALITY @MK3|SOLUBLE|@0.25 nozzle MK3).*/}M907 E538 ; reset extruder motor current{endif}M104 S0 ; turn off temperatureM84 ; disable motors; max_layer_z = [max_layer_z]; prusaslicer_config = end
RE: Incomplete File?
It has already been said here: the FW of the printer looks for the M84 command, if it finds it, everything is fine, if not, it reports an error. The problem is that this code searches the last 20,000 characters of the file, and Prusa constantly adds so-called "receipts" at the end of the code without the user being able to influence it. If the length of these "receipts" exceeds this value, this error will occur. Try looking in the actual gcode (not bgcode), try to find this code (M84) and you'll be surprised how many characters are left until the actual end of the file.
RE: Incomplete File?
So is there anything I can do about it. Running a stock machine, with latest firmware, and latest Prusa Slicer shouldn’t throw up errors like this!
RE: Incomplete File?
Do I just add a line at the end of the end g-code with ; M84? Sorry to ask silly questions but I don't understand the programming language, just want to print things without errors!
RE: Incomplete File?
If the file is complete - are you using the latest 3.13.3 firmware - released a few of days ago, which claims to have fixed the long file termination problem?
Cheerio,
RE: Incomplete File?
I am running 3.12.2. I haven't had a notice to update but will try tonight. Thanks
RE: Incomplete File?
Problem fixed - many thanks for the suggestion. Updated to 3.12.3 and file now recognised without error. 😀😀👍