emit gcode in RepRap format, adjust open_page and close_page for the LMN laser cutter