Bug#907900: hplip: Printing is not possible b/c of missing foomatic-rip-hplip filter

2018-10-10 Thread Dimitri Chausson
Hello Brian, 

editing '/etc/cups/ppd/HP_DeskJet_3630_series.ppd' and replacing 
"foomatic-rip-hplip" with "foomatic-rip" did work (after restarting the cups 
service), as you suggested.
So it looks like those lines are erroneous in the sid package. 

Thanks for your help,

---
Dimitri 

On Tue, 4 Sep 2018 20:45:11 +0100
Brian Potkin  wrote:

> On Tue 04 Sep 2018 at 21:20:36 +0200, Dimitri Chausson wrote:
> 
> > Hello Brian, 
> > 
> > thanks for your quick reply, following are the results: 
> > 
> > $>   grep -i cupsfilter /etc/cups/ppd/HP_DeskJet_3630_series.ppd 
> > *cupsFilter: "application/vnd.cups-postscript 100 foomatic-rip-hplip"
> > *cupsFilter: "application/vnd.cups-pdf 0 foomatic-rip-hplip"
> 
> These are incorrect. I'd see this as a packaging error and can reproduce
> it. Edit the PPD and replace "foomatic-rip-hplip" with "foomatic-rip".
> Can you print now?
>  
> > $>   ls -l /usr/lib/cups/foomatic-rip
> > ls: cannot access '/usr/lib/cups/foomatic-rip': No such file or directory
> 
> Entirely my fault.
> 
>   ls -l /usr/lib/cups/filter/foomatic-rip
> 
> is what you want.
> 
> > As it seems (searching for it with apt-file), this file is part of the 
> > 'foomatic-filters' package, which is not installed on my system: this 
> > package cannot be installed as it conflicts with package 'cups-filters'...
> 
> It comes with cups-filters - which you must have on your system.
> 
> > I did not install anything else, so nothing from the upstream site, for 
> > example. 
> 
> Good to know.
> 
> Cheers,
> 
> Brian.



Bug#907900: hplip: Printing is not possible b/c of missing foomatic-rip-hplip filter

2018-09-07 Thread Brian Potkin
On Tue 04 Sep 2018 at 21:39:28 +0200, Till Kamppeter wrote:

> On 04/09/18 21:20, Dimitri Chausson wrote:
> > Hello Brian,
> > 
> > thanks for your quick reply, following are the results:
> > 
> > $>   grep -i cupsfilter /etc/cups/ppd/HP_DeskJet_3630_series.ppd
> > *cupsFilter: "application/vnd.cups-postscript 100 foomatic-rip-hplip"
> > *cupsFilter: "application/vnd.cups-pdf 0 foomatic-rip-hplip"
> > 
> 
> AFAIK there is no package providing a foomatic-rip-hplip in Debian or
> Ubuntu. Probably your PPD comes from an older version of HPLIP installed
> from the original source (not as Debian package).
> 
> So removing and re-creating your print queue probably gives you an
> up-to-date PPD file which does not use foomatic-rip-hplip, but, instead, the
> hpcups filter of HPLIP.

On a sid machine with only printer-driver-hpijs and hplip-data:

 brian@desktop3:~$ /usr/lib/cups/driver/hplip-data cat 
hplip-data:0/ppd/hplip/HP/hp-psc_1300_series-hpijs.ppd | grep cupsFilter
 *cupsFilter: "application/vnd.cups-postscript 100 foomatic-rip-hplip"
 *cupsFilter: "application/vnd.cups-pdf 0 foomatic-rip-hplip"/

jessie gives foomatic-rip in the lines.

Regards,

Brian.



Bug#907900: hplip: Printing is not possible b/c of missing foomatic-rip-hplip filter

2018-09-04 Thread Brian Potkin
On Tue 04 Sep 2018 at 21:20:36 +0200, Dimitri Chausson wrote:

> Hello Brian, 
> 
> thanks for your quick reply, following are the results: 
> 
> $>   grep -i cupsfilter /etc/cups/ppd/HP_DeskJet_3630_series.ppd 
> *cupsFilter: "application/vnd.cups-postscript 100 foomatic-rip-hplip"
> *cupsFilter: "application/vnd.cups-pdf 0 foomatic-rip-hplip"

These are incorrect. I'd see this as a packaging error and can reproduce
it. Edit the PPD and replace "foomatic-rip-hplip" with "foomatic-rip".
Can you print now?
 
> $>   ls -l /usr/lib/cups/foomatic-rip
> ls: cannot access '/usr/lib/cups/foomatic-rip': No such file or directory

Entirely my fault.

  ls -l /usr/lib/cups/filter/foomatic-rip

is what you want.

> As it seems (searching for it with apt-file), this file is part of the 
> 'foomatic-filters' package, which is not installed on my system: this package 
> cannot be installed as it conflicts with package 'cups-filters'...

It comes with cups-filters - which you must have on your system.

> I did not install anything else, so nothing from the upstream site, for 
> example. 

Good to know.

Cheers,

Brian.



Bug#907900: hplip: Printing is not possible b/c of missing foomatic-rip-hplip filter

2018-09-04 Thread Till Kamppeter

On 04/09/18 21:20, Dimitri Chausson wrote:

Hello Brian,

thanks for your quick reply, following are the results:

$>   grep -i cupsfilter /etc/cups/ppd/HP_DeskJet_3630_series.ppd
*cupsFilter: "application/vnd.cups-postscript 100 foomatic-rip-hplip"
*cupsFilter: "application/vnd.cups-pdf 0 foomatic-rip-hplip"



AFAIK there is no package providing a foomatic-rip-hplip in Debian or 
Ubuntu. Probably your PPD comes from an older version of HPLIP installed 
from the original source (not as Debian package).


So removing and re-creating your print queue probably gives you an 
up-to-date PPD file which does not use foomatic-rip-hplip, but, instead, 
the hpcups filter of HPLIP.



$>   ls -l /usr/lib/cups/foomatic-rip
ls: cannot access '/usr/lib/cups/foomatic-rip': No such file or directory

As it seems (searching for it with apt-file), this file is part of the 
'foomatic-filters' package, which is not installed on my system: this package 
cannot be installed as it conflicts with package 'cups-filters'...



Already for some time the upstream home of foomatic-rip is cups-filters 
and the upstream package foomatic-filters is discontinued. In Debian and 
Ubuntu foomatic-rip is therefore provided by the cups-filters binary 
package. If it is missing but cups-filters is installed, run


sudo apt install --reinstall cups-filters

to refresh your cups-filters installation. Under no circumstances try to 
install the foomatic-filters package. The Debian folks should remove it. 
On Ubuntu it is already removed for some time.


   Till



Bug#907900: hplip: Printing is not possible b/c of missing foomatic-rip-hplip filter

2018-09-04 Thread Dimitri Chausson
Hello Brian, 

thanks for your quick reply, following are the results: 

$>   grep -i cupsfilter /etc/cups/ppd/HP_DeskJet_3630_series.ppd 
*cupsFilter: "application/vnd.cups-postscript 100 foomatic-rip-hplip"
*cupsFilter: "application/vnd.cups-pdf 0 foomatic-rip-hplip"

$>   ls -l /usr/lib/cups/foomatic-rip
ls: cannot access '/usr/lib/cups/foomatic-rip': No such file or directory

As it seems (searching for it with apt-file), this file is part of the 
'foomatic-filters' package, which is not installed on my system: this package 
cannot be installed as it conflicts with package 'cups-filters'...

I did not install anything else, so nothing from the upstream site, for 
example. 

---
Dimitri 

On Tue, 4 Sep 2018 11:33:16 +0100
Brian Potkin  wrote:

> Thank you for your report, Dimitri.
> 
> 
> On Mon 03 Sep 2018 at 22:26:46 +0200, Dimitri Chausson wrote:
> 
> > Package: hplip
> > Version: 3.17.10+repack0-5
> > Severity: important
> > 
> > Dear Maintainer,
> > 
> > I just bought an HP 3639 printer and wanted to use it. Configuring it via 
> > the
> > CUPS UI went fine : I use the suggested driver = HP Deskjet 3630 Series 
> > hpijs, 3.17.10 (color)
> > 
> > Unfortunately, nothing happens when I try to print, and the CUPS error log 
> > file
> > gives the following details:
> > 
> > E [03/Sep/2018:21:35:59 +0200] HP_DeskJet_3630_series: File 
> > \"/usr/lib/cups/filter/foomatic-rip-hplip\" not available: No such file or 
> > directory
> > E [03/Sep/2018:21:35:59 +0200] [Job 192] Unable to start filter 
> > "foomatic-rip-hplip" - Success.
> > E [03/Sep/2018:21:35:59 +0200] [Job 192] Stopping job because the scheduler 
> > could not execute a filter.
> > 
> > Having a look on HP suport site did not really helped me, since they just
> > suggest to drop the package, download the sources and compile. 
> > 
> > I really appreciate your help and time, please don't hesitate to ask for 
> > more
> > details.
> 
> A PPD for the print queue should be in /etc/cups/ppd. Please provide the
> output of
> 
>   grep -i cupsfilter /etc/cups/<3630_PPD>
> 
> You'll need to be root to do this.
> 
> Also provide.
> 
>   ls -l /usr/lib/cups/foomatic-rip
> 
> Have you attempted to install anything from hplip outside of Debian? For
> example, a *.run file.
> 
> Regards,
> 
> Brian.
> 
> 



Bug#907900: hplip: Printing is not possible b/c of missing foomatic-rip-hplip filter

2018-09-04 Thread Brian Potkin
Thank you for your report, Dimitri.


On Mon 03 Sep 2018 at 22:26:46 +0200, Dimitri Chausson wrote:

> Package: hplip
> Version: 3.17.10+repack0-5
> Severity: important
> 
> Dear Maintainer,
> 
> I just bought an HP 3639 printer and wanted to use it. Configuring it via the
> CUPS UI went fine : I use the suggested driver = HP Deskjet 3630 Series 
> hpijs, 3.17.10 (color)
> 
> Unfortunately, nothing happens when I try to print, and the CUPS error log 
> file
> gives the following details:
> 
> E [03/Sep/2018:21:35:59 +0200] HP_DeskJet_3630_series: File 
> \"/usr/lib/cups/filter/foomatic-rip-hplip\" not available: No such file or 
> directory
> E [03/Sep/2018:21:35:59 +0200] [Job 192] Unable to start filter 
> "foomatic-rip-hplip" - Success.
> E [03/Sep/2018:21:35:59 +0200] [Job 192] Stopping job because the scheduler 
> could not execute a filter.
> 
> Having a look on HP suport site did not really helped me, since they just
> suggest to drop the package, download the sources and compile. 
> 
> I really appreciate your help and time, please don't hesitate to ask for more
> details.

A PPD for the print queue should be in /etc/cups/ppd. Please provide the
output of

  grep -i cupsfilter /etc/cups/<3630_PPD>

You'll need to be root to do this.

Also provide.

  ls -l /usr/lib/cups/foomatic-rip

Have you attempted to install anything from hplip outside of Debian? For
example, a *.run file.

Regards,

Brian.



Bug#907900: hplip: Printing is not possible b/c of missing foomatic-rip-hplip filter

2018-09-03 Thread Dimitri Chausson
Package: hplip
Version: 3.17.10+repack0-5
Severity: important

Dear Maintainer,

I just bought an HP 3639 printer and wanted to use it. Configuring it via the
CUPS UI went fine : I use the suggested driver = HP Deskjet 3630 Series hpijs, 
3.17.10 (color)

Unfortunately, nothing happens when I try to print, and the CUPS error log file
gives the following details:

E [03/Sep/2018:21:35:59 +0200] HP_DeskJet_3630_series: File 
\"/usr/lib/cups/filter/foomatic-rip-hplip\" not available: No such file or 
directory
E [03/Sep/2018:21:35:59 +0200] [Job 192] Unable to start filter 
"foomatic-rip-hplip" - Success.
E [03/Sep/2018:21:35:59 +0200] [Job 192] Stopping job because the scheduler 
could not execute a filter.

Having a look on HP suport site did not really helped me, since they just
suggest to drop the package, download the sources and compile. 

I really appreciate your help and time, please don't hesitate to ask for more
details.

Dimitri

-- Package-specific info:
Saving output in log file: /home/dimitri/hp-check.log

HP Linux Imaging and Printing System (ver. 3.17.10)
Dependency/Version Check Utility ver. 15.1

Copyright (c) 2001-15 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

Note: hp-check can be run in three modes:
1. Compile-time check mode (-c or --compile): Use this mode before compiling 
the HPLIP supplied tarball (.tar.gz or .run) to determine if the proper 
 
dependencies are installed to successfully compile HPLIP.   
  
2. Run-time check mode (-r or --run): Use this mode to determine if a distro 
supplied package (.deb, .rpm, etc) or an already built HPLIP supplied tarball 
has
the proper dependencies installed to successfully run.  
  
3. Both compile- and run-time check mode (-b or --both) (Default): This mode 
will check both of the above cases (both compile- and run-time dependencies).   
 

Check types:
  
a. EXTERNALDEP - External Dependencies  
  
b. GENERALDEP - General Dependencies (required both at compile and run time)
  
c. COMPILEDEP - Compile time Dependencies   
  
d. [All are run-time checks]
  
PYEXT SCANCONF QUEUES PERMISSION
  

Status Types:
OK
MISSING   - Missing Dependency or Permission or Plug-in
INCOMPAT  - Incompatible dependency-version or Plugin-version

warning: 2-buster/sid version is not supported. Using 2-9.1 versions 
dependencies to verify and install...

---
| SYSTEM INFO |
---

 Kernel: 4.17.0-3-amd64 #1 SMP Debian 4.17.17-1 (2018-08-18) GNU/Linux
 Host: keats
 Proc: 4.17.0-3-amd64 #1 SMP Debian 4.17.17-1 (2018-08-18) GNU/Linux
 Distribution: 2 buster/sid
 Bitness: 64 bit


---
| HPLIP CONFIGURATION |
---

HPLIP-Version: HPLIP 3.17.10
HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for 2 distro  
buster/sid version 

Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf.  Generated from hplip.conf.in by configure.

[hplip]
version=3.17.10

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hplip/HP
ppdbase=/usr/share/ppd/hplip
doc=/usr/share/doc/hplip
html=/usr/share/doc/hplip-doc
icon=no
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv
bin=/usr/bin
apparmor=/etc/apparmor.d
# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
libusb01-build=no
pp-build=yes
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
hpijs-install=yes
foomatic-drv-install=yes
foomatic-ppd-install=yes
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.17.10
restricted-build=no
ui-toolkit=qt5
qt3=no
qt4=no
qt5=yes
policy-kit=yes
lite-build=no
udev_sysfs_rules=no
hpcups-only-build=no
hpijs-only-build=no
apparmor_build=no


Current contents of '/var/lib/hp/hplip.state' file:
Plugins are not installed. Could