Jump to content
Ultimaker Community of 3D Printing Experts

Start G-code being ignored?

Recommended Posts

Our UM2+ where I work has been out of calibration by about -2.5% (20mm cube prints as 19.5mm) in the y direction since day one. Scaling each and every part in Cura is a pain. So, I tried putting "M92 Y82.05" in the "Start Gcode" field to scale it up using 80 steps/mm as the baseline. I'm actually not sure that 80 steps/mm is the proper baseline so please correct me if i"m wrong. In any case, it seems to be ignored. The print comes out exactly the same size as without. I also tried using Cura via USB and sending the gcode directly to the printer. Upon pressing "send gcode", the printer display blinks out for a second as if the code is being received. Is this normal? This also has no effect on the print size.


Any thoughts would be greatly appreciated as this issue has wasted a considerable amount of our time. Thanks!

Share this post

Link to post
Share on other sites

Thanks for the quick reply. I left the default which was Ultimaker 2 since I am not too familiar with the subject. Can I use a different flavor that will use the start gcode without affecting other functions? Marlin, RepRap?

Share this post

Link to post
Share on other sites
2 hours ago, tps2000 said:

So, I tried putting "M92 Y82.05" in the "Start Gcode" field to scale it up using 80 steps/mm as the baseline.


The easiest way would be to write this line in a plain text editor, followed by a line with M500, save the file with the *.gcode" extension to the sdcard and "print" it.

This sets the steps/unit and saves it to the printers EEPROM. The benefits: no other things are affected and no need to change start gcodes or GCode-flavor.



M501         ;read current parameters from EEPROM
M92 Y82.05   ;set steps/unit for Y
M500         ;save changed value back to EEPROM


Edit: a different deviation of x and y is usually a good sign that there is something else wrong with the hardware.

I would check for any mechanical issues. Perhaps are the axis not longer perpendicular to each other, or a sliding block or linear bearing is damaged, a loose pulley, or the belts have slack and needs to be replaced... such things...

Edited by tinkergnome

Share this post

Link to post
Share on other sites

I tried "printing" the gcode file as you suggested and once again there was no change in the scaling. Mechanically there seems to be nothing wrong and this scaling problem has existed since the machine was new. It is unfortunate that the firmware doesn't allow for scaling. I have an inexpensive Creality CR-7 that has scaling parameters and it works perfectly. 


I also tried changing the g-code flavor to marlin and added the start g-code and the results were the same, no change. I guess for now we are stuck with scaling the model in Cura each time. 

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

  • Our picks

    • Introducing Ultimaker Cura 3.6 | Beta
      Ultimaker Cura 3.6 | Beta is available. It comes with new features, bug fixes, and UX improvements. We would really like to have your feedback on it to make our stable release as good as it can be. As always, you can download the beta for free from our website, for Windows, MacOS, and Linux.
        • Like
      • 92 replies
    • Print Core CC | Red for Ruby
      Q: For some users, abrasive materials may be a new subject matter. Can you explain what it is that makes a material abrasive when you are not sure which print core to use?
      A: Materials which are hard in a solid piece (like metals, ceramics and carbon fibers) will generally also wear down the nozzle. In general one should assume...
        • Like
      • 30 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!