Cool.

I've found that in the GPX code which creates the x3g file has some settings that tell it to ignore the gcode settings.
I think they are for some printers that need to operate independently of the script...

Anyway the code is the problem..so for now I'm just using Slic3r to create the gcode, and I'll use RepG to convert it to x3g for the sdcard.

Thanks for your help.