Jump to content
Ultimaker Community of 3D Printing Experts

Octoprint Plugin: How to re-name a printer


Recommended Posts

Posted · Octoprint Plugin: How to re-name a printer

If this has been addressed elsewhere, just say "RTFF" (forums) and I will.

The Octoprint plugin has been working wonderfully pushing gcode files to my Octopi. Could not be happier.

I added anew printer and Pi with an additional instance of Octoprint to my network and a new printer profile. I connected them and cant print without issues.


One question: The filename that the plugin uploads is now prefixed with "MSMV2E3D_" whereas on the other printer, it is prefixed with "1_".


Is this something I can change? If yes, how? I have looked and not found anything yet.


Thanks from a fellow shelter-in-placer.



  • Link to post
    Share on other sites

    Posted · Octoprint Plugin: How to re-name a printer

    This has nothing to to with the OctoPrint plugin, but with the naming of gcode files (or "job names" in Cura terminology).


    Jobnames are prefixed by default by an acronym of sorts derived from the printer model name (eg Ultimaker S5 becomes UMS5, Custom FFF Printer becomes CFFFP). You can turn off this automatic prefix in the General preferences.


    Because this is a bit inflexible (either a prefix that cannot be changed, or no prefix at all), I wrote another plugin called "Custom Printjob Prefix", which lets you set a custom prefix. If you have that plugin installed, you can change the prefix for the current printer via Extensions -> Custom Printjob Prefix -> Set prefix. You can set any text you wish there to be used as a prefix (or turn the prefix off if you want). Some special replacement patterns are available to be automatically replaced the current values.


    An important thing to realise is that the plugin will set the prefix for the current printer only. So if you have two printers configured in Cura, you would need to set the prefix for each printer individually.

  • Link to post
    Share on other sites

    Posted · Octoprint Plugin: How to re-name a printer

    Problem (if you want to call it that) solved.  I could see no reason to have prefixes on the gcode files because I push them straight to the Pi with your wonderful plugin. Thanks!

  • Link to post
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

    • Our picks

      • Ultimaker showcase | April 2022 | 4pm CEST | 10am EDT
        I'm excited because I've personally produced this showcase event, so if you are curious what else I'm up to nowadays, come check it out and say hi in the chat! It would mean a lot! 
          • Thanks
          • Like
        • 4 replies
      • New here? Get ahead with a free onboarding course
        Often getting started is the most difficult part of any process. A good start sets you up for success and saves you time and energy that could be spent elsewhere. That is why we have a onboarding course ready for
        Ultimaker S5 Pro Bundle, Ultimaker S5, Ultimaker S3 Ultimaker 2+ Connect.   
        They're ready for you on the Ultimaker Academy platform. All you need to do to gain access is to register your product to gain free access. 
        Ready? Register your product here in just 60 seconds.
          • Like
        • 12 replies
    • Create New...