As nouns,
output routine is a hyponym of
service routine; that is, output routine is a
word with a more specific, narrower meaning than
service routine:
service routine: a routine that can be used as needed
output routine: a routine that controls an output device