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

Re: lpr question



"Michael Norris" <miken107@home.com> writes:

> It seems as though I am using the -#num switch incorrectly.

Two things:

First, since '#' indicates a comment, it must be escaped using a
backslash. So:

        lpr -\#2 foo.ps

Second, the maximum value you can use after the \# is determined by
that printer's entry in /etc/printcap. The default is '1'. Therefore,
unless you have set up that printer to allow more than one copy (with
a ':mc=2:' [e.g.] in /etc/printcap), then the above command will yield
the following error:

        Fatal error - Maximum of 1 copies allowed

HTH,

Dan
-- 
-------------------------
Dan Griswold
-------------------------



Reply to: