Jump to content

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 Cura 5.7 stable released
        Cura 5.7 is here and it brings a handy new workflow improvement when using Thingiverse and Cura together, as well as additional capabilities for Method series printers, and a powerful way of sharing print settings using new printer-agnostic project files! Read on to find out about all of these improvements and more. 
          • Like
        • 18 replies
      • S-Line Firmware 8.3.0 was released Nov. 20th on the "Latest" firmware branch.
        (Sorry, was out of office when this released)

        This update is for...
        All UltiMaker S series  
        New features
        Temperature status. During print preparation, the temperatures of the print cores and build plate will be shown on the display. This gives a better indication of the progress and remaining wait time. Save log files in paused state. It is now possible to save the printer's log files to USB if the currently active print job is paused. Previously, the Dump logs to USB option was only enabled if the printer was in idle state. Confirm print removal via Digital Factory. If the printer is connected to the Digital Factory, it is now possible to confirm the removal of a previous print job via the Digital Factory interface. This is useful in situations where the build plate is clear, but the operator forgot to select Confirm removal on the printer’s display. Visit this page for more information about this feature.
          • Like
        • 0 replies
    • Create New...