Regional-fr archive

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

Re: iNetBSD 8.1 mpression impossible (cups+hplip)



Bonjour,


On Wed, Sep 04, 2019 at 02:50:00PM +0200, Philippe BERNARD wrote:
> Bonjour,
> 
> Je reviens vers vous pour un problème d'impression... et un bon coup de main !
> 
> Je dispose d'une imprimante HP Deskjet_3055A connectée sur mon réseau perso en wifi, opérationnelle sous Linux et OpenBSD. Ma machine est sous NetBSD 8.1, noyau GENERIC amd64.
> Le document est bien envoyé à l'imprimante, mais en sortie seuls sont imprimés les caractères suivants:
> 
> %PDF-1.3
> %

Visiblement aucun filtre n'est appliqué ou, alternativement, il ne
change rien et il balance du PDF alors que, sauf erreur de ma part, il
faut du PCL3.

Apparemment toujours, l'imprimante n'est pas supportée par ijs.

Je pense qu'a priori il faudrait essayer en enchaînant cups/pdftoraster
et cups/rastertopclx.

Mais je n'utilise pas cups et le peu de fois où j'ai tenté, j'ai laissé
tomber trouvant plus simple de configurer lpr directement.

Une chose est certaine : ce n'est pas un problème de connexion. Une très
probable : c'est un problème de format et de filtre.

Si cela peut vous donner des pistes...

HTH

T. Laronde
> 
> Voici mes fichiers de configuration correspondants:
> 
> 1- /etc/rc.conf:
> #	$NetBSD: rc.conf,v 1.97 2014/07/14 12:29:48 mbalmer Exp $
> #
> # See rc.conf(5) for more information.
> #
> # Use program=YES to enable program, NO to disable it. program_flags are
> # passed to the program on the command line.
> #
> 
> # Load the defaults in from /etc/defaults/rc.conf (if it's readable).
> # These can be overridden below.
> #
> if [ -r /etc/defaults/rc.conf ]; then
> 	. /etc/defaults/rc.conf
> fi
> 
> # If this is not set to YES, the system will drop into single-user mode.
> #
> rc_configured=YES
> 
> # Add local overrides below.
> #
> dhcpcd=YES
> #dhcpcd_flags="-qM re0"
> #dhcpcd=YES
> #dhcpcd_flags="-qM re0"
> dhcpcd_flags="-qM urtwn0"
> wpa_supplicant=YES
> wpa_supplicant_flags="-B -i urtwn0 -c /etc/wpa_supplicant.conf"
> sshd=YES
> wscons=YES
> dbus=YES
> cupsd=YES
> cups_browsed=YES
> avahidaemon=YES
> hostname=papa
> 
> 2- /etc/printcap:
> # This file was automatically generated by cupsd(8) from the
> # /usr/pkg/etc/cups/printers.conf file.  All changes to this file
> # will be lost.
> HP|HP:rm=papa:rp=HP:
> 
> 3- /usr/pkg/etc/cups/printer.conf:
> # Printer configuration file for CUPS v2.2.11
> # Written by cupsd on 2019-09-03 16:02
> # DO NOT EDIT THIS FILE WHEN CUPSD IS RUNNING
> <Printer HP>
> UUID urn:uuid:1be857b4-d67b-3dd9-6a9a-b245f7e6fc97
> Info HP
> MakeModel HP Deskjet 3050a j611 Series hpijs, 3.18.5
> DeviceURI socket://192.168.0.43:9100
> State Idle
> StateTime 1567519330
> ConfigTime 1567462836
> Type 8425500
> Accepting Yes
> Shared Yes
> JobSheets none none
> QuotaPeriod 0
> PageLimit 0
> KLimit 0
> OpPolicy default
> ErrorPolicy stop-printer
> Attribute marker-colors none,none
> Attribute marker-levels -1,-1
> Attribute marker-names black ink cartridge,tri-color ink cartridge
> Attribute marker-types ink,ink
> Attribute marker-change-time 1567518204
> </Printer>
> 
> 4- /var/log/cups/access_log:
> localhost - - [03/Sep/2019:14:08:31 +0200] "POST /printers/HP HTTP/1.1" 200 325 Create-Job successful-ok
> localhost - - [03/Sep/2019:14:08:31 +0200] "POST /printers/HP HTTP/1.1" 200 423 Send-Document successful-ok
> 
> 5- /var/log/error_log:
> W [04/Sep/2019:14:02:49 +0200] CreateProfile failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
> W [04/Sep/2019:14:02:49 +0200] CreateProfile failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
> W [04/Sep/2019:14:02:49 +0200] CreateDevice failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
> 
> 6- lpstat -t:
> scheduler is running
> system default destination: HP
> device for HP: hp:/net/Deskjet_3050A_J611_series?ip=192.168.0.43
> HP accepting requests since Tue Sep  3 15:18:45 2019
> printer HP is idle.  enabled since Tue Sep  3 15:18:45 2019
> 
> 7- uname -a:
> NetBSD papa 8.1_RC1 NetBSD 8.1_RC1 (GENERIC) #0: Tue May 14 17:21:59 UTC 2019
> mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/amd64/compile/GENERIC amd64
> 
> 8- /var/db/pkg:
> atk-2.26.1
> avahi-0.6.32nb18
> bash-5.0.7
> cairo-1.16.0
> cairo-gobject-1.16.0nb3
> cups-2.2.11
> cups-base-2.2.11
> cups-filters-1.23.0
> cups-pdf-2.6.1nb10
> curl-7.65.1
> dbus-1.12.16
> fontconfig-2.13.1
> foomatic-db-4.0-20180721
> foomatic-db-engine-4.0.13nb1
> freetype2-2.10.0
> fribidi-0.19.7
> gdk-pixbuf2-2.36.12
> gettext-lib-0.20.1
> gettext-tools-0.20.1
> ghostscript-9.05nb17
> ghostscript-agpl-9.27
> ghostscript-fonts-8.11nb3
> giflib-5.1.4
> glib2-2.60.4nb5
> gmp-6.1.2
> gnutls-3.6.7
> graphite2-1.3.11nb2
> gtk2+-2.24.32nb8
> harfbuzz-2.4.0nb3
> hplip-3.18.5nb7
> icu-64.2nb1
> ijs-0.35
> jbig2dec-0.16nb1
> jbigkit-2.1
> jpeg-9cnb1
> lcms-1.19nb3
> lcms2-2.9
> libXft-2.3.3
> libart-2.3.21
> libcfg+-0.7.0
> libdaemon-0.14nb1
> libffi-3.2.1nb4
> libidn-1.34
> libidn2-2.0.5
> libimagequant-2.12.3
> libpaper-1.1.26
> libpsl-0.20.2nb4
> libslang2-2.2.4nb3
> libtasn1-4.13
> libunistring-0.9.10
> libusb1-1.0.22nb1
> libuuid-2.32.1
> libwebp-1.0.2
> libxml2-2.9.9
> lynx-2.8.9.1
> lzo-2.10
> mc-4.8.22
> mozilla-rootcerts-1.0.20190306
> net-snmp-5.7.3nb11
> nettle-3.4.1
> openjpeg-2.3.1
> osabi-NetBSD-8.0
> p11-kit-0.23.15
> pango-1.42.4nb5
> pcre-8.43
> perl-5.28.2
> pkgdb.byfile.db
> png-1.6.37
> poppler-0.76.1
> poppler-cpp-0.76.1
> poppler-glib-0.76.1
> poppler-utils-0.76.1
> py27-expat-2.7.16
> py37-Pillow-6.0.0
> py37-dbus-1.2.8
> py37-expat-3.7.3
> py37-olefile-0.46
> py37-pyphen-0.9.5
> py37-reportlab-3.5.23
> py37-setuptools-41.0.1
> python27-2.7.16
> python37-3.7.3nb1
> qpdf-8.4.1
> shared-mime-info-1.10
> tiff-4.0.10nb1
> wget-1.20.3nb1
> xmlcatmgr-2.2nb1
> 
> 
> MERCI POUR VOTRE AIDE car là, je sèche...
> 
> Cordialement,
> Philippe

-- 
        Thierry Laronde <tlaronde +AT+ polynum +dot+ com>
                     http://www.kergis.com/
                       http://www.sbfa.fr/
Key fingerprint = 0FF7 E906 FBAF FE95 FD89  250D 52B1 AE95 6006 F40C


Home | Main Index | Thread Index | Old Index