Next | Trivial Utilities | 96 |
print and printd share a configuration file
(In retrospect, this was probably a bad design.)
The config file is read by a function in a shared module, MJD::Print:
It defines the location of the spool directory,
the name of the printer device
the preferred file format
the instructions for converting to that format
and other such
The format is The Usual:
# This is where files are printed from spooldir /var/spool/printd
# This is the location of the printer daemon program # It's responsible for watching the spool directory and printing files # when they appear there. daemon /home/mjd/src/perl/lps/printd
# Set this to true to enable diagnostic messages debug_printd 1
Next | Menu | Copyright © 2012 M. J. Dominus |