System Administration Guide

Configuration Files

The scheduler stores configuration information in LP configuration files located in the /etc/lp directory, as described in Table 45-2.


Caution - Caution -

The configuration files listed in Table 45-2 are private interfaces, and are subject to change in future releases. You should not build software that relies on these files being in their current locations or that relies on the data being in the format currently used.


Table 45-2 Contents of the /etc/lp Directory

File 

Type 

Description 

classes

Directory 

Files identifying classes provided by the lpadmin -c command.

fd

Directory 

Description of existing filters. 

filter.table

File 

Print filter lookup table. 

forms

Directory 

Location to put files for each form. Initially, this directory is empty. 

interfaces

Directory 

Printer interface program files. 

logs

Link to /var/lp/logs

Log files of printing activities. 

model

Link to /usr/lib/lp/model

The standard printer interface program. 

printers

Directory 

Directories for each local printer. Each directory contains configuration information and alert files for an individual printer. 

pwheels

Directory 

Print wheel or cartridge files. 

These configuration files serve a similar function to the /etc/printcap file in SunOS 4.x.


Note -

You can check the contents of the configuration files, but you should not edit them directly. Instead, use the lpadmin(1M) command to make configuration changes. Your changes will be written to the configuration files in the /etc/lp directory. The lpsched daemon administers and updates the configuration files.


The /etc/lp/printers directory has a subdirectory for each local printer known to the system. The following example shows the /etc/lp/printers subdirectories of printers sparc1 and luna.


$ ls -l /etc/lp/printers
drwxrwxr-x 2 lp lp 512 Jan 23 23:53 luna
drwxrwxr-x 2 lp lp 512 Jan 11 17:50 sparc1

Within each of the printer-specific directories, the following files can describe the printer:

The configuration file for the printer luna, /etc/lp/printers/luna/configuration, would typically appear as follows:


Banner: on: Always
Content types: PS
Device: /dev/term/b
Interface: /usr/lib/lp/model/standard
Printer type: PS
Modules: default