Forums FUG-FR | |
https://forums.fug-fr.org/cgi-bin/yabb2/YaBB.pl
FreeBSD >> Matériel >> Problème de configuration d'imprimante. https://forums.fug-fr.org/cgi-bin/yabb2/YaBB.pl?num=1198350816 Message started by ph11 on 22. Dec 2007 at 20:13 |
Title: Problème de configuration d'imprimante. Post by ph11 on 22. Dec 2007 at 20:13
Bonjour,
Je viens d'installer FreeBSD. Je viens d'installer les pilotes d'impression et les filtres et je l'ai configuré avec cups. J'ai une imprimante hp deskjet 3940. Le problème est que je n'arrive pas à imprimer. Je pense que le problème vient de foomatic. Un lpstat -t me donne ceci: Code (]scheduler is running no system default destination device for hp: usb:/dev/unlpt0 hp accepting requests since Sat Dec 22 18:44:02 2007 printer hp is idle. enabled since Sat Dec 22 18:44:02 2007 /usr/local/libexec/cups/filter/foomatic-rip failed[/code):
Voila les logs de cups: /var/log/cups/error_log: Code (]I [22/Dec/2007:18:42:06 +0100):
|
Title: Re: Problème de configuration d'imprimante. Post by francis on 23. Dec 2007 at 17:18
En jetant un oeil à foomatic-rip, on trouve:
[code]## Constants used by this filter # Error codes, as some spooles behave different depending on the reason why # the RIP failed, we return an error code. As I have only found a table of # error codes for the PPR spooler. If our spooler is really PPR, these # definitions get overwritten by the ones of the PPR version currently in # use. my $EXIT_PRINTED = 0; # file was printed normally my $EXIT_PRNERR = 1; # printer error occured my $EXIT_PRNERR_NORETRY = 2; # printer error with no hope of retry my $EXIT_JOBERR = 3; # job is defective my $EXIT_SIGNAL = 4; # terminated after catching signal my $EXIT_ENGAGED = 5; # printer is otherwise engaged (connection # refused) my $EXIT_STARVED = 6; # starved for system resources my $EXIT_PRNERR_NORETRY_ACCESS_DENIED = 7; # bad password? bad port # permissions? my $EXIT_PRNERR_NOT_RESPONDING = 8; # just doesn't answer at all # (turned off?) my $EXIT_PRNERR_NORETRY_BAD_SETTINGS = 9; # interface settings are invalid my $EXIT_PRNERR_NO_SUCH_ADDRESS = 10; # address lookup failed, may be # transient my $EXIT_PRNERR_NORETRY_NO_SUCH_ADDRESS = 11; # address lookup failed, not # transient my $EXIT_INCAPABLE = 50; # printer wants (lacks) features # or resources[/code] Mais il y en a plusieurs endroits où on sort avec $EXIT_JOBERR, malheureusement. Il faudrait activer un peu de debug avec "LogLevel" (un truc de cupsd.conf ?) pour avoir plus d'info. |
Title: Re: Problème de configuration d'imprimante. Post by ph11 on 23. Dec 2007 at 19:29
Je viens de remplacer la variable de LogLevel info par debug dans cupsd.config
error_log donne ceci: Code (]I [23/Dec/2007:19:21:18 +0100):
|
Title: Re: Problème de configuration d'imprimante. Post by ph11 on 23. Dec 2007 at 19:30 Code (]I [23/Dec/2007:19:21:26 +0100):
|
Title: Re: Problème de configuration d'imprimante. Post by ph11 on 23. Dec 2007 at 19:31 Code (] D [23/Dec/2007:19:21:26 +0100):
|
Title: Re: Problème de configuration d'imprimante. Post by ph11 on 23. Dec 2007 at 19:34 Code (]D [23/Dec/2007:19:21:27 +0100):
|
Title: Re: Problème de configuration d'imprimante. Post by ph11 on 23. Dec 2007 at 19:35 Code (]D [23/Dec/2007:19:21:27 +0100):
|
Title: Re: Problème de configuration d'imprimante. Post by ph11 on 23. Dec 2007 at 19:37 Code (]D [23/Dec/2007:19:21:32 +0100):
Voila. Dsl pour la longueur. |
Title: Re: Problème de configuration d'imprimante. Post by ph11 on 23. Dec 2007 at 19:41
et acces_log
Code (]localhost - - [23/Dec/2007:19:21:26 +0100):
|
Title: Re: Problème de configuration d'imprimante. Post by francis on 23. Dec 2007 at 19:53
A voir ça:
Code (]D [23/Dec/2007:19:21:27 +0100):
le wrapper Ghostscript de Foomatic essaie d'utiliser (HP)IJS: as-tu installé print/foomatic-db-hpijs? |
Title: Re: Problème de configuration d'imprimante. Post by ph11 on 23. Dec 2007 at 20:19
Si ça pouvait être aussi simple. Mais non, foomatic-db-hpijs est bien installé.
|
Title: Re: Problème de configuration d'imprimante. Post by ph11 on 27. Dec 2007 at 00:40
Bizarre, et voulant effacer hpijs, j'ai ce message:
[code]pkg_delete hpijs-2.1.4_1 pkg_delete: '/usr/local/bin/foomatic-rip' fails original MD5 checksum - not deleted. pkg_delete: couldn't entirely delete package (perhaps the packing list is incorrectly specified?)[/code] |
Title: Re: Problème de configuration d'imprimante. Post by ph11 on 27. Dec 2007 at 00:43
Et j'ai ceci en desinstallant foomatic-filters:
[code]make deinstall ===> Deinstalling for print/foomatic-filters ===> Deinstalling foomatic-filters-3.0.2_4 pkg_delete: file '/usr/local/libexec/cups/filter/foomatic-rip' doesn't exist pkg_delete: couldn't entirely delete package (perhaps the packing list is incorrectly specified?) [/code] |
Forums FUG-FR » Powered by YaBB 2.5.2! YaBB Forum Software © 2000-2025. All Rights Reserved. |