[Pkg-cups-devel] Bug#501311: cups-client: -P and -o number-up=2 interact surprisingly

Sanjoy Mahajan sanjoy at MIT.EDU
Mon Oct 6 13:59:11 UTC 2008


Package: cups-client
Version: 1.3.8-1lenny1
Severity: normal
File: /usr/bin/lp

This command did 2up printing of pp. 81-102 from file.pdf:

  lp -P 41-51 -o number-up=2 file.pdf

I expected it to extract pp. 41-51 from file.pdf, then convert them to
2up and send it to the printer.  

I can think of two fixes:

1. In the description of the -P switch in the 'lp' manpage, explain
   that the page numbers are those after page rearrangements.

2. Change the cups filters to first select pages with -P, then
   rearrange pages.

The first fix clarifies the situation but makes it hard to use -P
with number-up, so I like the second fix.

-Sanjoy


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages cups-client depends on:
ii  adduser                3.110             add and remove users and groups
ii  cups-common            1.3.8-1lenny1     Common UNIX Printing System(tm) - 
ii  libc6                  2.7-14            GNU C Library: Shared libraries
ii  libcups2               1.3.8-1lenny1     Common UNIX Printing System(tm) - 
ii  libcupsimage2          1.3.8-1lenny1     Common UNIX Printing System(tm) - 
ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime

cups-client recommends no packages.

Versions of packages cups-client suggests:
ii  cups                       1.3.8-1lenny1 Common UNIX Printing System(tm) - 
ii  cups-bsd                   1.3.8-1lenny1 Common UNIX Printing System(tm) - 
pn  cups-pt                    <none>        (no description available)
pn  gtklp                      <none>        (no description available)
pn  kdeprint                   <none>        (no description available)
pn  xpp                        <none>        (no description available)

-- no debconf information





More information about the Pkg-cups-devel mailing list