Jump to content
Ultimaker Community of 3D Printing Experts
Sign in to follow this  

UM2 Marlin firmware fork with USB store and print of UltiGCode files

Recommended Posts

Hi everyone,

i have created a fork of the UM2Marlin firmware on github.

The modifications i have done allows one to store and print "UltiGCode" files to the Ultimaker 2 over the USB port.

Maybe this is useful/interesting for someone...

The work is not fully done, the missing cleanup and documentation as usual - but it works.

It is based on the original Ultimaker2Marlin firmware 14.11-RC8.

There is a quick'dirty python commandline script to download and print UltiGCode files to the UM2, too.

Here is the link to the repository: https://github.com/ErwinRieger/Ultimaker2Marlin-USBPrint

Link to the documentation: https://github.com/ErwinRieger/Ultimaker2Marlin-USBPrint/wiki

Here is the download link: https://github.com/ErwinRieger/Ultimaker2Marlin-USBPrint/releases/tag/14.11-RC8-UP1

Regards, ERRI


Share this post

Link to post
Share on other sites


yes, in the first place it allows me to:


  • store UltiGCode printfiles on the SD for later manual print, or
  • download and "remote - print" a file immediately, or
  • start the print of a file on SD remotely,

without touching the SD card in the UM2. That a my current usage scenarios.

Other possible (future) uses are direct print over USB from Cura or wireless print with OctoPrint - if they were modified accordingly.


Regards, ERRI


Share this post

Link to post
Share on other sites


please note, that the "sending side" (cura, octoprint, printrun, doodle3d and so on) must be able to pass through the gcode comments that are part of a UltiGCode file.

Cura can't do this, and printrun strips theese comments :-( Don't know about octoprint or doodle3d...

If you want to start printing over USB, a new custom command "M623 <file>" has to be sent. None of the said tools know this command, yet. As far as i know, this should be easy to configure with octoprint.

That's the reason i hacked my own little utility for usb-download and -print: ultiprint.py.



Share this post

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
Sign in to follow this  

  • Our picks

    • How to 3D print with reinforced engineering materials
      Ultimaker is hosting a webinar where we explain how you can achieve and maintain a high print success rate using these new reinforced engineering materials. Learn from Ultimaker's Product Manager of Materials and top chemical engineer Bart van As how you can take your 3D printing to that next level.
      • 2 replies
    • "Back To The Future" using Generative Design & Investment Casting
      Designing for light-weight parts is becoming more important, and I’m a firm believer in the need to produce lighter weight, less over-engineered parts for the future. This is for sustainability reasons because we need to be using less raw materials and, in things like transportation, it impacts the energy usage of the product during it’s service life.
        • Like
      • 12 replies

Important Information

Welcome to the Ultimaker Community of 3D printing experts. Visit the following links to read more about our Terms of Use or our Privacy Policy. Thank you!