<p>Go towards the right top corner. Click on the printer name. From the drop down, select, &quot;Manage printers&quot;. You will get a dialogue box in the middle of your screen. Your current printer's name will be shown in italics. On the right side of the dialogue box, click on, &quot;Machine settings&quot;. This will open another dialogue box. In the lower left, you will see a text box with the heading, &quot;End G-Code&quot; scroll down to where you see the line, &quot;<code>G1 X0 Y0</code>&quot;. This is the line that moves your print head to the lower left corner. <code>G1</code> is the command for a linear move. <code>X0</code> and <code>Y0</code> are move instructions to move the the 0 coordinate for the two axes. Change this line to <code>G1 Znn</code> where &quot;nn&quot; is the number of the coordinate you wish to move to. Close this dialogue, close the previous dialogue and all newly sliced file will now use this code.</p>
<p>If like to keep track of any changes you make, you can put a semi-colon at the beginning of the line. This turns the line into a comment and will not be actioned. Then press enter and on a new line, put the line, <code>G1 znn</code>.</p>

CC BY-SA 4.0
2020-12-25T01:41:44.387Z
Thanks, do you know the Gcode for relative move? Like ”move Z 10 from where it is?
Beacon of Wierd
CC BY-SA 4.0
2020-12-25T07:07:32.040Z
That would be `G91`. You can get all the G-Codes here [link](https://marlinfw.org/meta/gcode/).
Ramblin' Sid Rumpo
CC BY-SA 4.0
2020-12-25T01:04:07.243Z
2020-12-25T01:04:07.243Z
Ramblin' Sid Rumpo
<p>Simple question, I want to move my printer head up when the print finishes instead of to the side.
Where's the option to do this in Cura?</p>

CC BY-SA 4.0
2020-12-23T18:39:14.287Z
Does it have a Custom G-code section, where you could add the command to the End G-code?
Perry Webb
<ultimaker-cura>
How to move Z up after printing in Cura?
Beacon of Wierd
# How to move Z up after printing in Cura?

(Asked by: username_0 on 2020-12-22)

Simple question, I want to move my printer head up when the print finishes instead of to the side.
Where's the option to do this in Cura?

**Tags:** ultimaker-cura
> **Comments:**
> **username_1**: Does it have a Custom G-code section, where you could add the command to the End G-code?  

---

## 1 answers

### Answer by username_2 on 2020-12-25. Score: 2 | Accepted answer

Go towards the right top corner. Click on the printer name. From the drop down, select, "Manage printers". You will get a dialogue box in the middle of your screen. Your current printer's name will be shown in italics. On the right side of the dialogue box, click on, "Machine settings". This will open another dialogue box. In the lower left, you will see a text box with the heading, "End G-Code" scroll down to where you see the line, "`G1 X0 Y0`". This is the line that moves your print head to the lower left corner. `G1` is the command for a linear move. `X0` and `Y0` are move instructions to move the the 0 coordinate for the two axes. Change this line to `G1 Znn` where "nn" is the number of the coordinate you wish to move to. Close this dialogue, close the previous dialogue and all newly sliced file will now use this code.

If like to keep track of any changes you make, you can put a semi-colon at the beginning of the line. This turns the line into a comment and will not be actioned. Then press enter and on a new line, put the line, `G1 znn`.

> **Comments:**
> **username_0**: Thanks, do you know the Gcode for relative move? Like ”move Z 10 from where it is?  
> **username_2**: That would be `G91`. You can get all the G-Codes here [link](https://marlinfw.org/meta/gcode/).  

---

