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

 


Dernière réponse
Sujet : Cups et imprimante USB
the_fireball 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

Votre réponse
Nom d'utilisateur    Pour poster, vous devez être inscrit sur ce forum .... si ce n'est pas le cas, cliquez ici !
Le ton de votre message                        
                       
Votre réponse


[b][i][u][strike][spoiler][fixed][cpp][url][email][img][*]   
 
   [quote]
 

Options

 
Vous avez perdu votre mot de passe ?


Vue Rapide de la discussion
the_fireball 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
jyp 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?
the_fireball 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
the_fireball 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.
the_fireball mknod /dev/usb/lp0 c 180 0
changes eventuellement les droits à coup de chown/chmod et relance cups
jyp Il est dans le kernel
kadreg tu as le module printer ?
jyp 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

Copyright © 1997-2025 Groupe LDLC (Signaler un contenu illicite / Données personnelles)