Regional-fr archive

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

problème pour configuration imprimante HP sous cups



Bonjour,

J'aurais besoin d'un coup de main car je ne parviens pas à comprendre d'où peut venir le problème.

Pour faire fonctionner mon imprimante HP, j'ai installé cups et hplip. J'arrive à imprimer une page de test depuis l'interface graphique de cups (http://localhost:631) mais pas à imprimer de fichier, ni sous x, ni en console.

papa$ uname -a
NetBSD papa 7.0 NetBSD 7.0 (GENERIC.201509250726Z) amd64


1- hp-makeuri:

papa$ hp-makeuri 192.168.0.43

HP Linux Imaging and Printing System (ver. 3.16.11)
Device URI Creation Utility ver. 5.0

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.

CUPS URI: hp:/net/Deskjet_3050A_J611_series?ip=192.168.0.43
SANE URI: hpaio:/net/Deskjet_3050A_J611_series?ip=192.168.0.43

Done.


2- fichier configuration printers.conf:

papa# cat /usr/pkg/etc/cups/printers.conf
     1	# Printer configuration file for CUPS v1.5.4
     2	# Written by cupsd on 2017-08-10 16:58
     3	# DO NOT EDIT THIS FILE WHEN CUPSD IS RUNNING
     4	<DefaultPrinter Deskjet-HP>
     5	UUID urn:uuid:b064bbe6-49e6-3bf8-7f55-33e48db24a41
     6	Info Deskjet-HP
     7	MakeModel HP Deskjet 3050a j611 Series hpijs, 3.16.11
     8	DeviceURI hp:/net/Deskjet_3050A_J611_series?ip=192.168.0.43
     9	State Idle
    10	StateTime 1502359263
    11	Reason marker-supply-low-warning
    12	Type 8425484
    13	Accepting Yes
    14	Shared Yes
    15	JobSheets none none
    16	QuotaPeriod 0
    17	PageLimit 0
    18	KLimit 0
    19	OpPolicy default
    20	ErrorPolicy stop-printer
    21	</Printer>


3- lpr:

papa# /usr/pkg/bin/lpr /etc/printcap 
/usr/pkg/bin/lpr: Error - PRINTER environment variable names non-existent destination "Deskjet-HP".


4- fichier profile:

papa$ cat .profile | grep HP
      export PRINTER=Deskjet-HP


5- fichier shrc: 

papa$ cat .shrc | grep HP    
      export PRINTER=Deskjet-HP


MERCI pour votre aide !

Philippe




Home | Main Index | Thread Index | Old Index