Bug 133903 - print multiple copies does not work
Summary: print multiple copies does not work
Status: CLOSED WORKSFORME
Alias: None
Product: kdeprint
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: KDEPrint Devel Mailinglist
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-11 13:10 UTC by jro
Modified: 2008-12-31 20:19 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jro 2006-09-11 13:10:01 UTC
Version:            (using KDE KDE 3.5.4)
Installed from:    Ubuntu Packages
OS:                Linux

Hello 

I tried to print a document with the option set, that it should print 3 copies of the same document. Unfortunately it does not matter how many copies to print i set in the print-dialog. It just prints one copy. I tired this with OpenOffice Writer (2.0.3) and also with kpdf. Same result in both programms.

I have installed Kubuntu 6.06.1 LTS with KDE 3.5.4

I already posted this problems to the forum of Kubuntu. There I got the advice that I might have more luck here :-) I also saw some bugs here which describes almost the same but there it's written that the problem is solved, but how?

Thank you for your advice and help
Rolf
Comment 1 Cristian Tibirna 2006-09-12 02:07:32 UTC
Please confirm that you don't use KDEPrint dialog in order to print from oowriter. If this is the case and still copies aren't printed, then the problem is with your printing system/printer configuration. Also, try to print from acrobat reader, with multiple copies. Does it print multiple copies?
Comment 2 jro 2006-09-12 08:41:03 UTC
Additionally I installed now the koffice package and tried to print out two copies from kword and kspread too. Still it printed out just one copy. I guess the koffice uses the kdeprint dialog (I'm not sure what oowriter uses since I'm quite new to Linux and KDE). In the Printersettings I configured to use CUPS.
Comment 3 Kurt Pfeifle 2007-01-11 23:54:08 UTC
jro,

are you still experiencing this problem with an updated Kubuntu with KDE 3.5.5 ?

Also, can you print on the CUPS commandline multiple copies? Try it like this to print two copies of the CUPS test page:

   lp -d your_printername -n 2 /usr/share/cups/data/testprint.ps

Cheers,
Kurt

--------
(Setting timeout for response to Feb 1, 2007)
Comment 4 Kurt Pfeifle 2007-01-12 16:59:15 UTC
WORKSFORME on SUSE-10.0 with KDE-3.5.5 and CUPS 1.2.7 (selfcompiled)
Comment 5 jro 2007-01-13 13:51:56 UTC
Hi Kurt

Thank you for your advise. I updated to Kubuntu 6.10 with KDE 3.5.5. Whenever I try to print out more than one copy it still prints just one. It does not matter from which program (eg. kpdf, OpenOffice, KOffice).

It also just prints one copy from the testpage even I entered your command:
lp -d printername -n 2 /usr/share/cups/data/testprint.ps

Maybe there is something with cups? 
Thank you again for your help.

Cheers,
Rolf
Comment 6 Kurt Pfeifle 2007-01-31 21:21:04 UTC
If CUPS does not print multiple copies from the commandline, KDEPrint can't do either.

I suspect either...

  ...a bug in the printer driver (the filtering program you use)
  ...a cupsd.conf that sets the "MaxCopies" to a value of "1"

Can you report the output of these commands?

  lpstat -v
  grep MaxCopies /etc/cups/cupsd.conf
  cat ~/.lpoptions
  grep -v '^\*%' /etc/cups/ppd/*.ppd | head 
Comment 7 jro 2007-03-12 21:26:58 UTC
Finally I found again time :-)

Output of the commands are:
--> lpstat -v
device for Dell_3000cn: socket://192.168.100.99:9100

-> grep MaxCopies /etc/cups/cupsd.conf
nothing displayed/no output

--> cat ~/.lpoptions
Dest Dell_3000cn _kde-filters
Special Advanced%20Faxing%20Tool%20(ksendfax)
Special Mail%20PDF%20File
Special Print%20to%20File%20(PDF)
Special Print%20to%20File%20(PostScript)
Special Send%20to%20Fax

--> grep -v '^\*%' /etc/cups/ppd/*.ppd | head 
*PPD-Adobe: "4.3"
*FormatVersion: "4.3"
*FileVersion:   "1.1"
*LanguageVersion: English
*LanguageEncoding: ISOLatin1
*PCFileName:    "PXLMONO.PPD"
*Manufacturer:  "Generic"
*Product:       "(PCL 6/PCL XL Printer)"
*cupsVersion:   1.0
*cupsManualCopies: True

Thanks,
Rolf
Comment 8 jro 2007-03-16 18:32:05 UTC
Today I tried the same printer with another driver. Until now I always had the following printer driver:
Generic PCL 6/PCL XL Printer Foomatic/pxlmono

Now I tried with this one:
Generic PCL 6/PCL XL Printer Foomatic/hpijs

After I entered the command
  lp -d printername -n 2 /usr/share/cups/data/testprint.ps
it worked. That's why I marked the bug as resolved. I guess this has to be solved by the (K)ubuntu Team.

Thanks for all the help
Rolf
Comment 9 Kurt Pfeifle 2007-03-29 00:13:50 UTC
If the PPD keyword line

   *cupsManualCopies: True

is set, it means that the CUPS "backend" (the "socket" one in your case) needs to generate the multiple copies since the printer can't do multiple copies on its own (or the driver can't command the printer to do it). Essentially, the backend does then need to send the file multiple times.

This seems to not work for you.

Also, because the CUPS commandline

   lp -d your_printername -n 2 /usr/share/cups/data/testprint.ps

does not produce multiple copies for you, this indicates that your printing problem is not a KDEPrint bug.
Comment 10 John Layt 2008-12-31 20:19:25 UTC
Closing old Resolved status bug.