[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#590163: marked as done (openprinting-ppds: where did HP_LaserJet_1320_Series.ppd go?)



Your message dated Wed, 11 Aug 2010 17:01:29 +0200
with message-id <201008111701.48560.didier@raboud.com>
and subject line Re: Changes in foomatic-db
has caused the Debian Bug report #590163,
regarding openprinting-ppds: where did HP_LaserJet_1320_Series.ppd go?
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
590163: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=590163
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: openprinting-ppds
Version: 20100630-1
Severity: normal

Hi and thanks for maintaining this package!

I used to configure my HP LaserJet 1320 printer with the following commands:

  # aptitude install openprinting-ppds
  # zcat /usr/share/ppd/postscript/HP/HP_LaserJet_1320_Series.ppd.gz \
    > /tmp/HP_LaserJet_1320_Series.ppd
  # lpadmin -p lj -E -v parallel:/dev/lp0 \
    -P /tmp/HP_LaserJet_1320_Series.ppd -D "HP LaserJet 1320"
  # lpoptions -p lj -o media=A4 -o sides=two-sided-long-edge
  # lpadmin -d lj

Now, I've just upgraded openprinting-ppds and noticed that
/usr/share/ppd/postscript/HP/HP_LaserJet_1320_Series.ppd.gz
seems to have disappeared from the package!

I couldn't find any clearly explained reason for that in the Debian
changelog, and no README.Debian seems to be present.

Why was this PPD file dropped?

How am I supposed to configure my HP LaserJet 1320 printer, next time
I install a (print server) box?
I would rather avoid searching for random PPD files on the Internet,
like I used to do long ago...

Could you please help me?


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

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

openprinting-ppds depends on no packages.

Versions of packages openprinting-ppds recommends:
ii  cups                          1.4.4-1    Common UNIX Printing System(tm) - 
ii  cups-client                   1.4.4-1    Common UNIX Printing System(tm) - 

Versions of packages openprinting-ppds suggests:
pn  hpijs-ppds                    <none>     (no description available)

-- no debconf information



--- End Message ---
--- Begin Message ---
Le samedi 24 juillet 2010 13:09:15, vous avez écrit :
> Hi and thanks for maintaining this package!

Hi Francesco, and thanks for your bugreport !

> I used to configure my HP LaserJet 1320 printer with the following
> commands:
> 
>   # aptitude install openprinting-ppds
>   # zcat /usr/share/ppd/postscript/HP/HP_LaserJet_1320_Series.ppd.gz \
> 
>     > /tmp/HP_LaserJet_1320_Series.ppd
> 
>   # lpadmin -p lj -E -v parallel:/dev/lp0 \
>     -P /tmp/HP_LaserJet_1320_Series.ppd -D "HP LaserJet 1320"
>   # lpoptions -p lj -o media=A4 -o sides=two-sided-long-edge
>   # lpadmin -d lj
> 
> Now, I've just upgraded openprinting-ppds and noticed that
> /usr/share/ppd/postscript/HP/HP_LaserJet_1320_Series.ppd.gz
> seems to have disappeared from the package!

That's completely true: they did disappear. They had once migrated to foomatic-
filters-ppds and this package has now vanished. So you are correct; the 
HP_LaserJet_1320_Series.ppd.gz disappeared from the Debian packages.

> I couldn't find any clearly explained reason for that in the Debian
> changelog, and no README.Debian seems to be present.
> 
> Why was this PPD file dropped?

The main reason is that that the foomatic-filters-ppds package was huge to build 
and ship across the mirrors for close to zero benefit, as the *.ppd files can be 
recreated "on-demand" with Debian tools, included in foomatic-db-engine, with 
the help of the xml source files in foomatic-db.

$ dpkg -L foomatic-db | grep HP-LaserJet_1320
(…) ./usr/share/foomatic/db/source/printer/HP-LaserJet_1320.xml


> How am I supposed to configure my HP LaserJet 1320 printer, next time
> I install a (print server) box?

Here's how you can get your PPD file back, using the foomatic database (you need 
foomatic-db and foomatic-db-engine packages installed):

 Search for the printer ID :
  $ foomatic-searchprinter HP LaserJet 1320
  HP-LaserJet_1320

 Create the PPD:
  $ foomatic-ppdfile -p HP-LaserJet_1320 > /tmp/HP_LaserJet_1320_Series.ppd

And then you can do as before. Note that you can specify the driver you want to 
use with the -d switch.

> I would rather avoid searching for random PPD files on the Internet,
> like I used to do long ago...

This should really not be necessary anymore: either i) the printer is supported 
and should be in the foomatic-db database ii) it isn't yet but could be with 
FLOSS: this should be reported to the openprinting.org guys or iii) it can't be 
supported with FLOSS and we are lost anyway.

> Could you please help me?

Of course. 

Le mercredi 11 août 2010 16:43:06 Till Kamppeter, vous avez écrit :
> To save space, the PPDs in foomatic-db got compressed. They are all
> compressed in the /usr/lib/cups/driver/openprinting-ppds and
> /usr/lib/cups/driver/openprinting-ppds-extra files.

For completeness: this will be the case in the squeeze+1 Debian release and 
won't be for squeeze: the change is too invasive at that point of the freeze.

> CUPS extracts needed PPD files automatically.Nothing will change for you if
> you set up printers with the web interface (http://localhost:631/) or with
> system-config-printer.

That's completely true and will be so in Squeeze. If using CUPS, one should 
really use the web interface.

> I suggest these instructions to be added to the documentation for the
> package (README.debian etc.).

Would you have a suggested wording ?

Cheers, 

OdyX

-- 
Didier Raboud, proud Debian Maintainer (DM).
CH-1020 Renens
didier@raboud.com

Attachment: signature.asc
Description: This is a digitally signed message part.


--- End Message ---

Reply to: