Send me your email and I'll ship you the ZIP of my source. It's a bunch of CRT support routines, but the routine that you want is csprintf() and the associated support routines, all in crtio.c. You can probably toss the rest without harm.
Hi there-- compiling a photolog of some vintage computers and need a good one of the NoteJet 486. Particularly interested in vintage ink cartridges too so the overall look is at correct as possible. I assume the cartridges you use are all new?