[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.
Diferencias
Muestra las diferencias entre dos versiones de la página.
Ambos lados, revisión anteriorRevisión previaPróxima revisión | Revisión previa | ||
es:howtos:network_services:slackware_print_server [2019/02/17 13:34 (UTC)] – [Configuración de un servidor de impresión para uso doméstico fuera de cualquier hardware antiguo con Slackware] slackwarespanol | es:howtos:network_services:slackware_print_server [2019/02/17 14:02 (UTC)] (actual) – slackwarespanol | ||
---|---|---|---|
Línea 1: | Línea 1: | ||
- | <note warning> | ||
<!-- 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). --> | ||
====== Configuración de un servidor de impresión para uso doméstico fuera de cualquier hardware antiguo con Slackware ====== | ====== Configuración de un servidor de impresión para uso doméstico fuera de cualquier hardware antiguo con Slackware ====== | ||
Línea 9: | Línea 8: | ||
Sé que no es una cosa difícil, pero desde la última vez que hice algo como esto muchas cosas han cambiado, pensé que otras personas podrían beneficiarse de un inicio rápido para ponerse en marcha muy rápido ... así que aquí vamos: (los pasos Supongo que la red ya se ha configurado correctamente con todos los equipos) | Sé que no es una cosa difícil, pero desde la última vez que hice algo como esto muchas cosas han cambiado, pensé que otras personas podrían beneficiarse de un inicio rápido para ponerse en marcha muy rápido ... así que aquí vamos: (los pasos Supongo que la red ya se ha configurado correctamente con todos los equipos) | ||
- | ===== Setting up the printer on the print server | + | ===== Configuración de la impresora en el servidor de impresión |
- | 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. | + | Lo primero que puede que le resulte útil saber es que no es obligatorio tener el filtro de impresión correcto para la impresora en el servidor de impresión, el cliente tiene la obligación. |
- | The print server needs only have the printer configured as a raw printer. | + | El servidor de impresión solo necesita tener la impresora configurada como impresora sin formato. |
- | The printer server will need cups, cyrus-sasl | + | El servidor de la impresora necesitará los paquetes |
- | If your printer has a usb interface, like most currently, it will be necessary to also have these packages to assist the usblp kernel | + | Si su impresora tiene una interfaz |
- | libusb, libusb-compat | + | libusb, libusb-compat |
root@printserver: | root@printserver: | ||
Línea 24: | Línea 23: | ||
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 puede ver algo similar a esto, donde su impresora es detectada por lsusb, puede proceder de lo contrario, debe depurar las razones que impiden que su impresora sea detectada. | ||
- | 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: | ||
+ | Una vez que haya ordenado los paquetes y la impresora, puede dar permisos de ejecución a / | ||
+ | Si pretende administrarlo de manera remota, deberia ejecutar este comando para permitirlo: | ||
+ | | ||
cupsctl --remote-admin | cupsctl --remote-admin | ||
- | then fire up your browser and access | + | Entonces abre tu navegador y accede |
http://< | http://< | ||
- | | + | |
- | http:// | + | http:// |
- | + | ||
- | For the most part you can use links on a text terminal | + | En la mayoría de los casos, puede usar enlaces en un terminal |
- | Go ahead and configure | + | Continúe y configure |
<Printer test> | <Printer test> | ||
Línea 60: | Línea 59: | ||
</ | </ | ||
- | If you have the drivers for your printer you can optionally configure it with the correct print filter but it's not mandatory. If you do have them it might be a good idea to configure it right just to check that the printserver can correctly use the printer. | + | Si tiene los controladores para su impresora, puede configurarlo opcionalmente con el filtro de impresión correcto, pero no es obligatorio. Si los tiene, puede ser una buena idea configurarlo correctamente solo para verificar que el servidor de impresión pueda usar la impresora correctamente. |
- | Once the printer is configured you can then instruct cups to accept remote printing requests: | + | Una vez que la impresora está configurada, |
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 " | + | Si no está interesado en compartir la impresora fuera de su red de área local, simplemente elimine la opción |
- | Some hardware | + | Algunas plataformas de hardware no le dejan ninguna manera de hacer un cierre limpio sin interactuar con el sistema operativo que se ejecuta en él (como el antiguo |
- | | + | ===== Configuración de la impresora en los clientes de impresión |
- | ===== Setting up the printer on the print clients | + | Ahora vaya a la PC donde desea acceder a la impresora y configure |
- | Now go on the PC's where you want to access the printer and configure | + | El / |
- | The / | + | |
<Printer test> | <Printer test> | ||
Línea 94: | Línea 92: | ||
</ | </ | ||
- | You may now try printing a test page on the client | + | Ahora puede intentar imprimir una página de prueba en la PC cliente. |
- | ===== Making the printserver crash proof | + | ===== Hacer que el servidor de impresión se bloquee a prueba |
- | Once you have your print server working right you will probably want avoid doing anything to it unless it's really necessary. Looking after it's shutting down right and resolving | + | Una vez que tenga su servidor de impresión funcionando correctamente, |
+ | Tener el sistema de archivos raíz montado solo para lectura, con solo las partes necesarias para escribir vinculadas en tmpfs, nos liberaría de tener que preocuparnos por apagar el servidor de impresión. | ||
- | Having the root filesystem mounted read only, with only the parts that are necessary for writing linked into tmpfs, would free us form having to worry about powering down the print server. | + | Así es como modifiqué |
- | + | ||
- | This is how I modified | + | |
Línea 205: | Línea 202: | ||
# Screen blanks after 15 minutes idle time, and powers down in one hour | # Screen blanks after 15 minutes idle time, and powers down in one hour | ||
- | A bit of tinkering with links in var and a few other places and you're done. | + | Un poco de retoques con enlaces en var y en algunos otros lugares y ya está. |
root@printserver: | root@printserver: | ||
Línea 260: | Línea 257: | ||
root@printserver: | root@printserver: | ||
| | ||
- | With these links the Slackware | + | Con estos enlaces, la distribución de Slackware |
+ | |||
+ | ===== Aquí está mi servidor de impresión wifi ===== | ||
+ | Aquí está uno de mis Dockstars en una carcasa casera que ejecuta el servidor de impresión descrito anteriormente desde el flash interno. (la memoria USB en la parte superior es una tarjeta wifi) | ||
- | ===== Here's my wifi print server | ||
- | Here's one of my Dockstars in a homebrew casing running the above described printserver from internal flash. (the usb stick on top is a wifi stick) | ||
{{http:// | {{http:// | ||
- | ====== | + | ====== |
<!-- If you are copying information from another source, then specify that source --> | <!-- If you are copying information from another source, then specify that source --> | ||
<!-- * Original source: [[http:// | <!-- * Original source: [[http:// | ||
<!-- Authors are allowed to give credit to themselves! --> | <!-- Authors are allowed to give credit to themselves! --> | ||
<!-- * Originally written by [[wiki: | <!-- * Originally written by [[wiki: | ||
- | * Originally written by [[wiki: | + | * Escrito originalmente por [[wiki: |
+ | * Traducido por: [[wiki: | ||
<!-- * Contributions by [[wiki: | <!-- * Contributions by [[wiki: | ||