On 15/01/2017 09:36, Pierre Labastie wrote: > On 14/01/2017 23:17, Bruce Dubbs wrote: >> Pierre Labastie wrote: >>> On 01/01/2017 19:03, Bruce Dubbs wrote: >>>> Chris Staub wrote: >>>>> On 01/01/2017 12:04 PM, Bruce Dubbs wrote: >>>>>> Pierre Labastie wrote: >>>>>>> On 01/01/2017 15:57, Douglas R. Reno wrote: >>>>>>> FWIW, I had this problem too... >>>>>> >>>>>> Can someone who has the problem open a ticket. I don't recall an issue, >>>>>> but I haven't updated cups-filters in a while. >>>>>> >>>>>> If we now need --with-pdftops-path=/usr/bin/pdftops, do we need that >>>>>> options at all? >>>>>> >>>>>> I'll note that I think printing is one of the more difficult >>>>>> capabilities to get right. This is what I have in my notes for an HP >>>>>> Officejet (ink) printer: >>>>>> >>>>>> "To get printing to work, install in this order: >>>>>> >>>>>> cups >>>>>> ghostscript ! (not just runtime) >>>>>> cups-filters >>>>>> gutenprint >>>>>> sane (for hplip) >>>>>> net-snmp (for hplip, not in blfs) >>>>>> hplip (not in blfs) >>>>>> >>>>>> If using hplip, not sure if gutenprint is needed. >>>>>> >>>>>> hplip needs net-snmp >>>>>> install fails with man pages (needs sedscript whatever that is) >>>>>> >>>>>> hplip needs sane >>>>>> >>>>>> Set parallel port capability! >>>>>> >>>>>> Build hplip with: >>>>>> >>>>>> ./configure --prefix=/usr --enable-pp-build >>>>>> make >>>>>> sudo make install >>>>>> >>>>>> Restart cups after changing printer config?" >>>> >>>>> For HPLIP, I use "./configure --prefix=/usr --sysconfdir=/etc >>>>> --enable-cups-ppd-install". This is for an HP Envy All-In-One (printer, >>>>> scanner, copier). There should be no need for parallel port capability. >>>>> Gutenprint is not needed (I don't know if it may be required for some >>>>> printer models, but it isn't for me) and there is no need to restart CUPS >>>>> afterwards. >>>> >>>> Thanks Chris. I've added your comments to my notes and will try it out the >>>> next time I've doing a full rebuild. >>>> >>>> -- Bruce >>> >>> I am at the point of trying to set up a printer (HP Deskjet 3070 >>> all-in-one). >>> I have cups, cups-filters, and gutenprint, and ghostscript was installed >>> long >>> before. But I keep receiving "filter failed" when trying to print the test >>> page... >>> Recalling this thread, I examined configure, and found that gs _is_ >>> required. >>> So, since /usr/bin/gs should be present when building cups-filters, there is >>> no need to specify the path to configure. Same for pdftops, which is also >>> required. >>> >>> What could change something is the switch --with-pdftops, which can be set >>> to >>> either gs, pdftops, pdftocairo, acroread, mupdf or hybrid (default). >>> >>> So, I plan to change at least the following: >>> - make ghostscript required (not only runtime). >>> - remove the two --with-xxx-path switches, and the associated "command >>> explanations" >>> >>> I'll let you know if I have some success with the test page... >> >> While you are working printing, you may want to update the book to >> cups-filters-1.13.2 (ticket #8702). >> >> -- Bruce >> >> > Good point. Wilco. > > Pierre > I should have taken more seriously the order given above: ghostscript needs cups to build the "cups" device, which allows cups-filter to use ghostscript. cups is only mentioned as an optional dependency for ghostscript. There are two possibilities: make cups recommended for ghostscript, or (at least) mention that cups in ghostscript is required for cups-filters.
Concerning hplip : net-snmp can be disabled with --disable-network-build, and sane can be disabled with --disable-scan-build. I built it with: --docdir=/usr/share/doc/hplip-3.16.11 --disable-scan-build --disable-network-build --enable-qt5 --disable-qt4 but it is not needed for my configuration: the base "deskjet" driver provided by cups-filters is enough (even gutenprint is not required). I haven't seen a difficulty with the man pages of hplip. OTOH, it needs a lot of python modules for its utilities. The printer is working now (I may try the scanner part later). Going back to updating cups-filters... Pierre -- http://lists.linuxfromscratch.org/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
