I recall implementing this algorithm in C for a new fangled Canon laser printer as my individual project for my CS degree in 1983!