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

Michael Sweet mike at easysw.com
Tue Nov 21 08:46:27 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?

-- 
______________________________________________________________________
Michael Sweet, Easy Software Products           mike at easysw dot com
Internet Printing and Document Software          http://www.easysw.com




More information about the cups mailing list