Black printing ink is the answer I believe.
I was fortunate to visit a rule making firm in Bolton I think? They engraved the scales then wiped the thick ink on which sat inbthe graduations.
I believe the firms in Sheffield who made trade advertising penknives etc used coloured printing ink to fill the stamped impressions.
It dries quickly and has the right consistency.
Mick