#1 Le 24/02/2006, à 16:40
- pvincent
installation Imprimante HP PSC 750
Bonjour,
Comme j'ai un peu galéré avant de faire marcher mon imprimante HP PSC750, je vous donne les étapes pour installer convenablement.
Ca devrait fonctionner pour toutes les imprimantes HP en règle générale.
sudo apt-get install hpoj
Puis, j'ai carrèment écraser le fichier cups.conf
#
#
# Sample configuration file for the Common UNIX Printing System (CUPS)
# scheduler. See "man cupsd.conf" for a complete description of this
# file.
## Log general information in error_log - change "info" to "debug" for
# troubleshooting...
LogLevel infoUser lp
Group lp# Administrator user group...
SystemGroup lpadmin
#RunAsUser Yes# Only listen for connections from the local machine.
# Listen localhost:631
# Listen /var/run/cups/cups.sock
#
#
# Sample configuration file for the Common UNIX Printing System (CUPS)
# scheduler. See "man cupsd.conf" for a complete description of this
# file.
## Log general information in error_log - change "info" to "debug" for
# troubleshooting...
LogLevel infoUser lp
Group lp# Administrator user group...
SystemGroup lpadmin
#RunAsUser Yes# Only listen for connections from the local machine.
# Listen localhost:631
# Listen /var/run/cups/cups.sock# Show shared printers on the local network.
# Browsing On
BrowseOrder allow,deny
BrowseAllow @LOCAL# Default authentication type, when authentication is required...
DefaultAuthType Basic# Restrict access to the server...
<Location />
#Order allow,deny
#Allow localhost
Order Deny,Allow
Deny From All
Allow From localhost
Allow From 192.168.1.*
</Location># Restrict access to the admin pages...
<Location /admin>
Order allow,deny
Allow localhost
</Location># Restrict access to configuration files...
<Location /admin/conf>
AuthType Basic
Require user @SYSTEM
Order allow,deny
Allow localhost
</Location># permet d'ajouter des nouvelles imprimantes : DANGER pour sécurité !!
#FileDevice Yes
# Set the default printer/job policies...
<Policy default>
# Job-related operations must be done by the owner or an adminstrator...
<Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job>
Require user @OWNER @SYSTEM
Order deny,allow
</Limit># All administration operations require an adminstrator to authenticate...
<Limit Pause-Printer Resume-Printer Set-Printer-Attributes Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Add-Printer CUPS-Delete-Printer CUPS-Add-Class CUPS-Delete-Class CUPS-Accept-Jobs CUPS-Reject-Jobs CUPS-Set-Default>
AuthType Basic
Require user @SYSTEM
Order deny,allow
</Limit># Only the owner or an administrator can cancel or authenticate a job...
<Limit Cancel-Job CUPS-Authenticate-Job>
Require user @OWNER @SYSTEM
Order deny,allow
</Limit><Limit All>
Order deny,allow
</Limit>
</Policy># Include files in /etc/cups/conf.d
Include /etc/cups/cups.d/ports.conf
Include /etc/cups/cups.d/browse.conf
Puis, j'ai redemarré le serveur cups
sudo /etc/init.d/cupsys restart
Enfin, avec konqueror j'ai ouvert l'url :
http://localhost:631
Je pense qu'avec KDEPrint ca devrait marcher également
Hors ligne
#2 Le 24/02/2006, à 22:27
- Gou
Re : installation Imprimante HP PSC 750
D'après linuxprinting, cette imprimante est marquée comme parfaitement supportée sur linux, d'où ma question: pourquoi as-tu galéré pour l'installer? la démarche du wiki (ici) ne fonctionnait pas?
Dernière modification par Gou (Le 25/02/2006, à 09:42)
"Un clavier azerty en vaut deux..."
Ubuntu Dapper Drake sur un portable Sony Vaio SZ1M/B
mon blog
Hors ligne
#3 Le 25/02/2006, à 08:10
- pvincent
Re : installation Imprimante HP PSC 750
En fait, j'ai suivi la démarche normale (quasiment rien à faire).
Et impossible d'imprimer quoi que ce soit : page de test, etc...
Pourtant, c'était enregistré mais il y avait une petite icone de type avertissement dans KDEPrint.
Histoire de ne pas me prendre la tête, je me suis dit que je vais passer en direct sans intermédiaire et ouvrir cups avec konqueror (localhost:631).
A ce niveau là, je pouvais voir l'imprimante mais impossible de modifier.
-> ecran de login pour modifier
Je rentre mon login -> NIET.
Résultat :
1.KDEPrint marche pas
2.Localhost:631 impossible de modifier
En cherchant un peu sur le net, j'ai changé le fichier de config cups.conf.
Les nouveaux paramètres m'ont permis d'accèder et de modifier l'imprimante depuis l'interface web de cups.
Et ça a marché.
Désolé de ne pas avoir creusé un peu plus cette histoire, j'imagine que pour KUbuntu c'est plus intéressant de faire marcher dans le sens KDEPrint car c'est plus user-friendly.
Dernière modification par pvincent (Le 25/02/2006, à 08:12)
Hors ligne
#4 Le 25/02/2006, à 09:42
- Gou
Re : installation Imprimante HP PSC 750
ok, je vois le problème
merci pour l'astuce alors
"Un clavier azerty en vaut deux..."
Ubuntu Dapper Drake sur un portable Sony Vaio SZ1M/B
mon blog
Hors ligne