capitem(1)

capitem - look up an item in a printcap entry

Showing IRIX 6.5.30 (default release). Unchanged since IRIX 6.5.

     NAME
          capitem - look up an item in a printcap entry

     SYNOPSIS
          /usr/etc/appletalk/capitem printer item

     DESCRIPTION
          The capitem program reads an /etc/printcap entry for the
          given printer and prints the value of the 2-letter item on
          its standard output, if the item has a value.  If capitem
          cannot find the given printer or item in the printer's
          entry, it will print an error message on standard error.

     DIAGNOSTICS
          If the printer and its item are found in /etc/printcap, the
          exit status is 0.  An exit status of 1 indicates that item
          was not in printer's printcap entry.  If printer is not
          found in /etc/printcap, the exit status is 2.  Any other
          problems will produce an exit status of 3.

     SEE ALSO
          printcap(5)