GCODE to Robot Cordinates

wondering if anyone had any scripts or functions that will enable me to translate gcode to be able to MoveL and MoveP or if there were any way to print letters that i can scale dynamically to fit in a given box nomatter size of name