modelinfo(1M) Printing Tools modelinfo(1M)
modelinfo - generate formatted list of supported printers
modelinfo
modelinfo -u
This command is used by the Printer Manager and other utilities
(mkcentpr(1m), mknetpr(1m), mkserialpr(1M)) to build a list of supported
printers.
When modelinfo is first run it creates the file
/var/spool/lp/modelinfo.dat which contains the modelinfo output. The
contents of this file are also printed to standard out. The directories
/var/spool/lp/model and /var/spool/lp/PPD_model are searched to determine
supported printers. (/var/spool/lp/PPD_model will only exist if the
Impressario PPD driver has been installed.)
If any file in the searched directories is newer then the existing
modelinfo.dat file then the modelinfo.dat file is rebuilt; otherwise, the
modelinfo.dat is simply written to standard output when modelinfo is run.
The -u option can be used to force the modelinfo.dat file to be updated.
You must be root to run modelinfo.
modelinfo creates the lock file /var/spool/lp/modelinfo.dat.lck lock file
while it updates the /var/spool/lp/modelinfo.dat file.
modelinfo is not intended for general use. To install an Impressario
printer use the Printer Manager tool or the mkcentpr(1M), mknetpr(1M),
mkserial
shell scripts.
/usr/lib/print/modelinfo
/var/spool/lp/modelinfo.dat.lck
/var/spool/lp/modelinfo.dat
modinfofltr(1M), mknetpr(1M), mkcentpr(1M), mkserialpr(1M).
PPPPaaaaggggeeee 1111 [ Back ]
|