This driver is to be found in the file “lp.c” (Sheets 88, 89). Much of the complexity of this driver is contained in the proeedure “lpcanon” (8879). This procedure is involved in the proper handling of special characters and this is a separate issue from the one we wish to study first.
Initially one may ignore “lpcanon” by assuming that all calls upon it (lines 8859, 8865, 8875) are simply replaced by similar calls upon “lpoutput” (8986). “lpcanon” acts as a “final filter” for characters going to the line printer: handling code conversions, special format characters, etc.