Installation guide

If you change the name of the spooling directory, the accounting file, or the
error log file, lprsetup asks you to verify that the information is correct
before it deletes the original information.
To manually modify a printer’s configuration, edit the /etc/printcap file
and modify the entry that pertains to the printer. Refer to Section 10.7.3
and to the printcap
(4) reference page for information about the
/etc/printcap file symbols.
10.6.3 Removing Printers
To remove a printer, run the lprsetup program and choose the delete
option from the main menu. The program prompts you for the printer
name. Enter the name of the printer you want to remove. You are
prompted for confirmation that you want to delete the error log file and the
accounting file because these files can be shared by more than one printer.
If you do have shared files, do not delete them. Section 10.5.2 describes
how to use the lprsetup program.
If you have included comments for the printer in the first line of its
/etc/printcap file entry, the lprsetup program does not delete them.
You must edit the /etc/printcap file and delete the comments.
To manually remove a printer, edit the /etc/printcap file and delete the
entry that pertains to the printer. You must also manually delete the
accounting and log file and the spooling directory.
10.6.4 Enabling Printer Accounting
Printer accounting allows you to charge users for printing services and to
determine the amount of printer usage.
There are two types of printer accounting: printer user accounting and
printer summary accounting. Printer user accounting provides information
about printer use according to the machine and user name that issues the
print request. Printer summary accounting provides information about the
amount of media (number of printed pages or number of feet of roll paper
or film) the printer produces. You specify the pac command with the s
option to produce printer summary accounting information.
The printer accounting files default to the /var/adm directory. If you use
the lprsetup program to add a printer, the program creates the accounting
file you specify. The /usr/adm/lpacct file is the default accounting file. If
you add a printer manually, you must create the accounting file.
10–16 Administering the Print Services