Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
1360 connectés 

  FORUM HardWare.fr
  Linux et OS Alternatifs

  Cups et imprimante USB

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

Cups et imprimante USB

n°74111
jyp
>-<o>-<
Posté le 06-03-2002 à 12:10:05  profilanswer
 

J'avais déjà installé Cups et j'aivais pas eux de problème
mais là je n'ai pas le port USB!
il y a :
AppSocket/HP JetDirect,
Internet Printing Protocol (http),
Internet Printing Protocol (ipp),
LPD/LPT Host or Printer,
Serial Port #1,
Serial Port #2,
Serial Port #3,
Serial Port #4
 
c'est une HP deskjet 920c, j'ai aussi install les drivers Cups

mood
Publicité
Posté le 06-03-2002 à 12:10:05  profilanswer
 

n°74112
kadreg
profil: Utilisateur
Posté le 06-03-2002 à 12:11:52  profilanswer
 

tu as le module printer ?


---------------
brisez les rêves des gens, il en restera toujours quelque chose...  -- laissez moi troller sur discu !
n°74113
jyp
>-<o>-<
Posté le 06-03-2002 à 12:14:04  profilanswer
 

Il est dans le kernel

n°74138
the_fireba​ll
I have fucking failed
Posté le 06-03-2002 à 13:04:09  profilanswer
 

mknod /dev/usb/lp0 c 180 0
changes eventuellement les droits à coup de chown/chmod et relance cups


---------------
Two thousand years of misery, of torture in my name, hypocrisy made paramount, paranoia the law, my name is called religion, sadistic, sacred whore.
n°74139
the_fireba​ll
I have fucking failed
Posté le 06-03-2002 à 13:04:41  profilanswer
 

You need to set up a device node entry for the printer. Use the following command: mknod /dev/usb/lp0 c 180 0  
 
 
Different printer tools are installed with various different rights, and this may affect the access priviledges that you need with the device entry. It is normally correct to make /dev/usb/lp0 rights the same as /dev/lp0, using the chmod, chown and chgrp commands.
 
You should now be able to use this device in a normal /etc/printcap entry. I recommend use of automated tools to generate such files, such as RedHat's control panel print-tool.I find this driver to be pretty good, although perhaps a bit slow.
 
If this does not appear to work, check that you have actually loaded the module, and double-check the /etc/printcap entry - especially that the device file matches the one you just created. Also note that some printers require special control characters to be sent to the printer to get the USB interface to be made operational. This is printer specific.


---------------
Two thousand years of misery, of torture in my name, hypocrisy made paramount, paranoia the law, my name is called religion, sadistic, sacred whore.
n°74144
the_fireba​ll
I have fucking failed
Posté le 06-03-2002 à 13:28:03  profilanswer
 

ll /dev/lp*
crw-rw----    1 root     lp         6,   0 Jan 24 17:26 /dev/lp0
crw-rw----    1 root     lp         6,   1 Jan 24 17:26 /dev/lp1
crw-rw----    1 root     lp         6,   2 Jan 24 17:26 /dev/lp2
 
Donc dans ton cas, tu fais  
 
chown root:lp /dev/usb/lp0
chmod 660 /dev/usb/lp0
tu bascules ton user dans le groupe lp
 
et voili


---------------
Two thousand years of misery, of torture in my name, hypocrisy made paramount, paranoia the law, my name is called religion, sadistic, sacred whore.
n°74203
jyp
>-<o>-<
Posté le 06-03-2002 à 17:10:35  profilanswer
 

Merci the_fireball!
j'ai créé un repertoire /dev/usb et ca a marché avec mknod /dev/usb/lp0 c 180 0
sinon je n'avais pas de /dev/usb/lp0 mais /devices/usb/lp0 tu sais pourquoi?

n°74210
the_fireba​ll
I have fucking failed
Posté le 06-03-2002 à 17:34:34  profilanswer
 

nop je sais pas ça. Perso j'ai du modifier une ligne dans mon fstab pour que le usbfs soit monté au boot, puis j'ai fait le mknod et chown/chmod et ça roule


---------------
Two thousand years of misery, of torture in my name, hypocrisy made paramount, paranoia the law, my name is called religion, sadistic, sacred whore.

Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Linux et OS Alternatifs

  Cups et imprimante USB

 

Sujets relatifs
installation d une imprimante ss Mandrake 8.1[Noyau Kernel] Pour une souris USB, quels modules obligatoirement ?
Mandrake 8.1 et Speedtouch USBZIP USB : arrgh je vais m'énerver !!!! [ Résolu !!! :D ]
[LiNUX] Partage De Connection ADSL USB[Mdk 8.1] Imprimante Panasonic KX-P1170
imprimante epsondrivers USB for Win_Xp usb1.1(&2.0)
Gestion de l'USB sous RH7.2Détéction de lecteur de disquette USB
Plus de sujets relatifs à : Cups et imprimante USB


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR