[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédenteProchaine révisionLes deux révisions suivantes | ||
fr:howtos:network_services:slackware_print_server [2015/09/14 14:01 (UTC)] – [Sources] traduction [fr] cedric | fr:howtos:network_services:slackware_print_server [2015/09/14 14:56 (UTC)] – [Setting up the printer on the print clients] traduction [fr] cedric | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
<!-- Add your text below. We strongly advise to start with a Headline (see button bar above). --> | <!-- Add your text below. We strongly advise to start with a Headline (see button bar above). --> | ||
- | ====== | + | ====== |
- | After recently upgrading my home wifi network to use wpa2 my old edimax wifi print server stopped working due to incompatibility with wpa2. | + | |
- | I did not want to have to leave a computer on all the time neither did I want to directly connect whatever PC I need to print from to the printer itself. | + | |
- | The most elegant solution would be to setup some low power ARM device (naturally running Slackware ARM) to become a print server, but any old hardware that can run Slackware linux will be fine and if you're willing to stick up with alternative distributions I suppose any hardware that can run linux will do. | + | Après une mise à niveau récemment de mon réseau wifi de la maison pour utiliser WPA2, mon vieux serveur d' |
+ | Je ne voulais pas avoir à laisser un ordinateur allumé tout le temps ni devoir me connecter directement à ce PC lorsque je dois imprimer à partir de l'imprimante elle-même. | ||
+ | La solution la plus élégante serait d' | ||
- | I know it's not a difficult thing but since the last time I did something like this a lot of things have changed, I thought that other people could benefit from a quickstart to get going really fast ... so here we go: (the steps blow assume that networking has already been setup correctly on all participants) | + | Je sais que ce est pas quelque chose de difficile mais la dernière fois que j'ai fais quelque chose comme ça, beaucoup de choses ont changé. Je pense que d' |
- | ===== Setting up the printer on the print server | + | ===== Configurer l' |
- | First thing you might find handy to know is that it is not mandatory to have the correct print filter for the printer on the print server, the client is mandated with that burden. | + | |
- | The print server needs only have the printer configured as a raw printer. | + | |
- | The printer | + | La première chose à savoir est qu'il n'est pas obligatoire d' |
- | If your printer has a usb interface, | + | Le serveur d' |
- | libusb, libusb-compat | + | |
+ | Le serveur d' | ||
+ | Si votre imprimante dispose d' | ||
+ | //libusb//, //libusb-compat// et //usbutils//. Une fois ces paquets installés, le périphérique | ||
root@printserver: | root@printserver: | ||
Ligne 24: | Ligne 25: | ||
Bus 001 Device 005: ID 04e8:3260 Samsung Electronics Co., Ltd CLP-510 Color Laser Printer | Bus 001 Device 005: ID 04e8:3260 Samsung Electronics Co., Ltd CLP-510 Color Laser Printer | ||
root@printserver: | root@printserver: | ||
- | | ||
- | If you can see something similar to this, where your printer is detected by lsusb, you can proceed otherwise you need to debug the reasons that are preventing your printer from being detected. | ||
+ | Si vous voyez quelque chose comme ça, avec le nom de votre imprimante détectée, vous pouvez continuer. Sinon vous devrez chercher les causes de la non-détection de votre imprimante. | ||
- | Once you have the packages and printer sorted out you can then just give execute permissions to / | + | |
- | If you intend to remotely administer it you might like to execute this command to allow it: | + | Une fois que vous aurez installé les paquets et l' |
+ | Si vous avez l' | ||
cupsctl --remote-admin | cupsctl --remote-admin | ||
- | then fire up your browser and access | + | Puis démarrer votre navigateur web et accédez à |
http://< | http://< | ||
- | | + | |
- | http:// | + | http:// |
- | For the most part you can use links on a text terminal on the print-server itself the only things that not working right on links are some combo box selections, that's why I then allowed for remote | + | Pour la plupart, vous pouvez utiliser les liens sur le serveur d' |
- | Go ahead and configure the local printer as a raw printer. Be sure to check the box for a shared printer.You can call the printer whatever you like but for convenience in this guide we will call it " | + | Allez-y et configurer l' |
<Printer test> | <Printer test> | ||
Ligne 46: | Ligne 47: | ||
Info test printer | Info test printer | ||
Location test location | Location test location | ||
- | DeviceURI usb:// | + | DeviceURI usb:// |
State Idle | State Idle | ||
StateTime 16147 | StateTime 16147 | ||
Ligne 60: | Ligne 61: | ||
</ | </ | ||
- | If you have the drivers for your printer you can optionally configure it with the correct | + | Si vous avez des pilotes pour votre imprimante, vous pouvez configurer le filtre d' |
- | Once the printer is configured you can then instruct | + | Dés que l' |
cupsctl --share-printers --remote-any --remote-admin | cupsctl --share-printers --remote-any --remote-admin | ||
- | | ||
- | If you're not interested to share the printer to outside your Local Area Net just remove the " | ||
- | Some hardware platforms leave you no way to do a clean shutdown without interacting to the os running on it (like old AT PC or seagate | + | Si vous n' |
- | | + | |
- | ===== Setting up the printer on the print clients | + | Certaines plates-formes matérielles ne vous laissent pas faire un arrêt propre sans interagir avec l' |
- | Now go on the PC's where you want to access the printer and configure an ipp remote printer with the correct driver for the printer. | + | ===== Configurer l' |
- | The / | + | |
+ | Maintenant, aller sur les PC qui doivent accéder à l'imprimante et configurer une imprimante distante | ||
+ | Le fichier | ||
<Printer test> | <Printer test> | ||
Ligne 79: | Ligne 80: | ||
Info test | Info test | ||
Location study room | Location study room | ||
- | MakeModel Samsung CLP-510, 2.0.0 #in this case I setup splix driver for the samsung | + | MakeModel Samsung CLP-510, 2.0.0 #dans ce cas, j'ai configuré le pilote |
DeviceURI ipp://< | DeviceURI ipp://< | ||
State Idle | State Idle | ||
Ligne 94: | Ligne 95: | ||
</ | </ | ||
- | You may now try printing a test page on the client | + | Essayez maintenant d' |
===== Making the printserver crash proof ===== | ===== Making the printserver crash proof ===== |