On Mon, 2018-04-23 at 14:06 +0100, Stuart wrote:
> Hi,
>
> I have been struggling to get cups to print properly. I have building
> the software and dependencies (including hplip 3.18.3) numerous times
> but I get the same result when I print, I get a totally black piece of
> paper. I have three hp printers available to me an HP3520 wireless
> printer, an HP7760 on a local usb port and a HP5550 via a Windows 10
> laptop. All three behave the same (totally black printout). Attached is
> the cups error_log from my latest effort. Only two printers are
> configured on this run (the HP7760 and the HP3520, printout sent to the
> HP7760). My test procedure after configuring the printers via firefox
> (localhost:631)
You should be configuring printers via hp-setup and not cups.
At the end of the setup, it will ask if you want to print a test page.
> is to stop the cups daemon, clear the cups error_log
> file, start cups, select print test page from firefox , wait for the
> print to complete and finally shut-down the cups daemon. From the
> error_log I get the impression that a filter has failed but I cannot see
> which one. Any suggestions please ?
>
> Thanks
>
Have you installed hplip-plugin? perhaps your printer needs this to operate
correctly.
Here's my hplip build procedure:
configure --prefix=/usr \
--disable-qt4 \
--enable-new-hpcups \
--enable-cups-ppd-install \
--enable-cups-drv-install
make
make check
make install
rm -vrf /usr/share/hal
rm -vrf /etc/xdg/autostart/hplip-systray.desktop
Here's my hplip-plugins build procedure:
sh ../hplip-3.18.3-plugin.run --target . --noexec --nox11
install -d /usr/share/hplip/data/firmware
install -d /usr/share/hplip/fax/plugins
install -d /usr/share/hplip/prnt/plugins
install -d /usr/share/hplip/scan/plugins
install -d /usr/share/licenses/hplip-plugin
install -d /var/lib/hp
install -m644 plugin.spec /usr/share/hplip/
install -m644 hp_laserjet_*.fw.gz /usr/share/hplip/data/firmware/
install -m755 fax_marvell-x86_64.so /usr/share/hplip/fax/plugins/
install -m755 hbpl1-x86_64.so /usr/share/hplip/prnt/plugins/
install -m755 lj-x86_64.so /usr/share/hplip/prnt/plugins/
install -m755 bb_*-x86_64.so /usr/share/hplip/scan/plugins/
cat > /var/lib/hp/hplip.state << "EOF"
[plugin]
installed = 1
eula = 1
version = 3.18.3
EOF
find /usr/share/hplip -type f -name "*.so" | while read f; do
lib_dir="${f%/*}"
lib_name="${f##*/}"
ln -vsf "$lib_name" "$lib_dir/${lib_name%%-*}.so"
done
Regards,
Wayne.
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page