Need help to configure Printer Settings

I have changed the print head from the original, not so good original, to the excellent E3D. The E3D is larger than the original so I had to move it about 6mm to the right and 17 mm to the front. This means I quite off regarding the positioning of the objects have to position them a lot to the back even outside the “printable area”.

The heat bed is the same as before but how should I change the parameters of the Printer setting/Prnter Shape to reflect the changed position of the extruder.
Unfortunatly there is no help at repetier.com/documentation/r … iguration/, at least non that helps me.

You could use some G-Code like
M218 T0 X0 Y0
M218 T1 X-23.7 Y0.5

T0 = right extruder
T1 = left extruder

I pass those information at the start sequence of the printer.
But I am using S3D, but that make no difference…

I tried adding the M218 command to the gcode but could not make it work.
Here are som pictures to illustrate the problem. When I ad the file to Repetier it put it right in the middle But when it comes out of the printer it looks like the lower picture. It is about 33 mm off in the Y direction. There are many settings for the print table under printer settings that I dont fully understand but I would rather make the mod there than in the gcode.