I wanted to know if there is some specific technique which can be used to build a pretty printer during code generation which adds proper indentations to the new lines of code added using ST. Amrinder