Previous Section  < Day Day Up >  Next Section

lp—sends output to a printer (AT&T)


lp [ –cmsw ] [ –ddest ] [ –number ] [ –ooption ] [ –ttitle ] filename ...

cancel [ ids ] [ printers ]


lp, cancel sends or cancels requests to a lineprinter.

Example A.35.

1   lp -n5 filea fileb

2   lp -dShakespeare filex


EXPLANATION

  1. Send five copies of filea and fileb to the printer.

  2. Specify Shakespeare as the printer where filex will be printed.

    Previous Section  < Day Day Up >  Next Section