[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

lpr (-#num parameter)



Using sid.

How can I print multiple copies using lpr?  I tried this:

   adavis@mhs49:~/PROJ/BIOLOGY$ lpr -Plp -#3 Breadmold_Experiment-worksheet.txt 
   usage: lpr [-Pprinter] [-#num] [-C class] [-J job] [-T title] [-U user] [-i [numcols]] 
       [-1234 font] [-wnum] [-cdfghlnmprstv] [name ...]

man lpr:

     -#num   The quantity num is the number of copies desired of each file
             named.  For example,

                   lpr -#3 foo.c bar.c more.c

             would result in 3 copies of the file foo.c, followed by 3 copies
             of the file bar.c, etc.  On the other hand,

                   cat foo.c bar.c more.c | lpr -#3

             will give three copies of the concatenation of the files.  Often
                                                                                             ^^^^^ 
            a site will disable this feature to encourage use of a photo­
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
            copier instead.
            ^^^^^^^^^^^^^

Does Debian  lpr come with this option disabled?

Alan Davis
adavis@saipan.com
Marianas High School
Saipan, Northern Mariana Islands

    



Reply to: