lpr -Php2600 -#2 ~/testpage.ps VS. lpr -Php2600 -o Copies=2 ~/testpage.ps

rickr.mn.rr rickr at mn.rr.com
Tue Nov 21 09:07:44 PST 2006


> > rickr.mn.rr wrote:
> > >> rickr.mn.rr wrote:
> > >>> $ lpr -Php2600 -o Copies=2 ~/testpage.ps
> > >>> works.  (testpage.ps is the Redhat testpage)
> > >>>
> > >>> $ lpr -Php2600 -#2 ~/testpage.ps
> > >>> does not work!!!!
> > >>>
> > >>> What is the difference?
> > >> Copies (big C) is not a valid copies option - it is probably getting
> > >> picked up by your driver.
> > >>
> > >> -#2 passes the number of copies through the filter system and is the
> > >> correct way to specify the copy count for CUPS-based filters.
> > >>
> > >> What driver are you using with your printer?
> > >
> > > LPRng also works with -#2
> > >
> > > $ lpr -Php2600 -#2 ~/testpage.ps
> > >
> > > Only CUPS does not work.  foo2hp is the driver.
> >
> > Does the testpage.ps file include a "/#copies" or "Copies" definition
> > in it?
>
> No.





More information about the cups mailing list