System Administration Guide: Printing

ProcedureHow to Add a Printer Description by Using LP Print Commands

  1. Log in as superuser, lp, or assume an equivalent role on the print server.

  2. Add a printer description.

    # lpadmin -p printer-name -D "comment"
    -p printer-name

    Specifies the name of the printer for which you are adding a description.

    -D "comment"

    Specifies the characteristics of the printer, such as the location or administrative contact. Enclose characters that the shell might interpret, such as *, ?, \, !, ^, in single quotation marks.

    For more information, see the lpadmin(1M) man page.

  3. Verify that the Description information is correct.

    # lpstat -p printer-name -l

Example 6–1 Adding a Printer Description

The following example shows how to add a printer description for the printer luna.

# lpadmin -p luna -D "Nathans office"