Copy editing
~noun
Entry: the correction of the spelling, grammar, formatting, etc. of printed material and preparation of it for typesetting, printing, or online publishing.
@ Milton-Kindersley Advanced Dictionary