Bug 122222

Summary: no multiple copies "lpr -#n"
Product: [Fedora] Fedora Reporter: shrek-m <shrek-m>
Component: cupsAssignee: Tim Waugh <twaugh>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: tmus
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-10-07 11:00:30 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description shrek-m 2004-05-02 09:42:05 UTC
Description of problem:
openoffice and other apps are not able to print multiple copies

testing from command-line
$ lpr -Pkyocera -#2 test.txt
--> only 1 copie and not 2 copies


printserver:
sercomm-3port
ether   00:C0:02:xx:xx:xx

printer:
kyocera fs-1000+

cups:
# grep kyocera -A11 /etc/cups/printers.conf
<DefaultPrinter kyocera>
Info Created by redhat-config-printer 0.6.x
DeviceURI lpd://192.168.101.250/l1
Location
State Idle
Accepting Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
</Printer>



Version-Release number of selected component (if applicable):
cups-1.1.20-6

How reproducible:
Always

Steps to Reproduce:
1. try to print multiple copies under OOo and other apps
2. try to print multiple copies with lpr

Actual Results:  i get always only 1 copie

Expected Results:  the number of the selected copies should be printed

Additional info:

the same happens under fc1

$ rpm -qf `which lpr`
cups-1.1.19-13

like expected,
updating OOo does not resolve this bug.

Comment 1 Tim Waugh 2004-05-07 08:52:23 UTC
What does this say (as root)?:

grep MaxCopies /etc/cups/cupsd.conf


Comment 2 shrek-m 2004-05-08 10:12:36 UTC
----
# grep MaxCopies /etc/cups/cupsd.conf
# MaxCopies: maximum number of copies that a user can request. Default is
#MaxCopies 100
----


changed to
MaxCopies 10
# service cups stop; sleep 10; service cups start

i tried "lp" "other drivers" and "jetdirect" in all variations as
user,root. eg.
# lp -n4 -d kyo-jet test.txt

--> nothing works , always 1 print, eg.
request id is kyo-jet-73 (1 file(s))
adding the file a second time is not a solution
# lp -n4 -dkyo-jet blabla.txt blabla.txt
request id is kyo-jet-77 (2 file(s))
--> 2 prints


printing from w2k-prof via \\this_samba_srv\kyocera
all is ok, i get the correct number of copies.
--> cupsd might not be the faulty part

Comment 3 Thomas M Steenholdt 2004-05-21 21:22:45 UTC
I'm seeing something like this, but noticed it when printing through
samba on FC2 (the released version)... When printing for MS office on
a windows machine to the printer share, printing more than one copy of
multi page print jobs, would result in pages printing in 1,1,2,2 order
instead of 1,2,1,2 order, regardless of the word Collate setting!

Any ideas if this is an entirely different bug or...?

Comment 4 Tim Waugh 2004-05-24 14:07:54 UTC
Different bug altogether.

Comment 5 Tim Waugh 2004-05-24 14:10:54 UTC
shrek-m: please do the following.

1. Set LogLevel to debug2 in /etc/cups/cupsd.conf.
2. 'service cups stop' as root
3. '> /var/log/cups/error_log' as root
4. 'service cups start' as root
5. echo test | lp -Pkyocera -#2

Then attach /var/log/cups/error_log to this bug report.  Thanks.

Comment 6 shrek-m 2004-10-06 17:49:14 UTC
the fc1-box does not exist anymore (harddisk-crash)

$ lp -n2 -d kyo test.txt
$ lpr -Pkyo -#2 test.txt

all works like expected under

$ cat /etc/fedora-release
Fedora Core release 2 (Tettnang)

$ rpm -q cups
cups-1.1.20-11.3

----
# grep MaxCopies /etc/cups/cupsd.conf
# MaxCopies: maximum number of copies that a user can request. Default is
#MaxCopies 100
----