That's all done by controlling exposure and development. It's really just a matter of doing a lot of test charts and densitometer readings, and making carbon prints. Carbon has a very long tonal scale, so you'd need a negative with more inherent contrast than a normal silver gelatin negative.

But I'm confused, as you say you are not printing your negatives but scanning them instead.