[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 previaPróxima revisiónAmbos lados, revisión siguiente | ||
es:howtos:network_services:desktop_printer_sharing_cups [2019/02/13 12:57 (UTC)] – slackwarespanol | es:howtos:network_services:desktop_printer_sharing_cups [2019/02/13 13:28 (UTC)] – 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). --> | ||
====== Impresora de escritorio compartida con CUPS ====== | ====== Impresora de escritorio compartida con CUPS ====== | ||
Usando CUPS, una impresora USB puede ser compartida en red por el sistema al que está conectada. SI bien la detección de impresoras completa requiere avahi, es posible configurar el uso compartido de impresora en Slackware 14.2 sin necesidad de instalar ningún software nuevo. En este caso, el servidor es la máquina a la que se conecta la impresora a través de USB, mientras que el cliente es cualquier máquina en red que quiera imprimir. Obviamente, todas las máquinas deben estar en la LAN, y la impresión directa a través de USB ya debería estar funcionando en el servidor. | Usando CUPS, una impresora USB puede ser compartida en red por el sistema al que está conectada. SI bien la detección de impresoras completa requiere avahi, es posible configurar el uso compartido de impresora en Slackware 14.2 sin necesidad de instalar ningún software nuevo. En este caso, el servidor es la máquina a la que se conecta la impresora a través de USB, mientras que el cliente es cualquier máquina en red que quiera imprimir. Obviamente, todas las máquinas deben estar en la LAN, y la impresión directa a través de USB ya debería estar funcionando en el servidor. | ||
- | ===== Server configuration | + | ===== Configuración del servidor |
- | CUPS needs to be enabled, so; | + | CUPS necesita ser habilitado, por lo tanto; |
chmod +x / | chmod +x / | ||
- | The CUPS daemon will then start on boot, and it can be restarted for testing purposes by issuing; | + | El demonio de CUPS se iniciará en el arranque, y se puede reiniciar con fines de prueba emitiendo; |
/ | / | ||
- | You should be able to access the CUPS interface in your web browser at http:// | + | Debería poder acceder a la interfaz |
- | < | + | < |
$IPT -A udp_inbound -p UDP -s x.x.x.0/24 --destination-port 631 -j ACCEPT | $IPT -A udp_inbound -p UDP -s x.x.x.0/24 --destination-port 631 -j ACCEPT | ||
$IPT -A tcp_inbound -p TCP -s x.x.x.0/24 --destination-port 631 -j ACCEPT | $IPT -A tcp_inbound -p TCP -s x.x.x.0/24 --destination-port 631 -j ACCEPT | ||
</ | </ | ||
- | <note warning>The [[http:// | + | <note warning>El [[http:// |
- | cupsctl --share-printers | + | |
- | but be careful as this will clobber your / | + | pero tenga cuidado ya que esto afectará su / |
- | The simplest configuration requires that CUPS listen on the LAN (rather than just the default of localhost). | + | La configuración más simple requiere que CUPS escuche en la LAN (en lugar de solo el valor predeterminado de localhost). |
< | < | ||
#Listen localhost: | #Listen localhost: | ||
Línea 32: | Línea 31: | ||
</ | </ | ||
</ | </ | ||
- | + | Su impresora también debe configurarse para compartir. De forma predeterminada, | |
- | Your printer also needs to be set to shared. By default my HP LaserJet M402dn | + | |
Shared Yes | Shared Yes | ||
< | < | ||
- | printers.conf should not be edited while CUPS is running! You can stop it with; | + | ¡printers.conf no debe editarse mientras |
/ | / | ||
</ | </ | ||
- | Sharing can also be enabled with the command; | + | El compartir también se puede habilitar con el comando; |
lpadmin -p printer -o printer-is-shared=true | lpadmin -p printer -o printer-is-shared=true | ||
- | where 'printer' | + | donde 'impresora' |
- | BrowseLocalProtocols dnssd | + | |
- | will cause the printer to show up as "Shared", | + | hará que la impresora se muestre como "Compartida", |
+ | ===== Configuración del cliente ===== | ||
- | ===== Client configuration ===== | + | Ahora que el servidor está configurado, el cliente puede configurarse para imprimir. Solo probé esto en una Mac, que fue tan simple |
- | Now that the server is configured, the client can be set up to print. I have only tested this on a Mac, which was as simple | + | Para la dirección IPP, simplemente reemplace el protocolo, el nombre de host y elimine el puerto. P.ej.; |
- | | + | |
- | For the IPP address, simply replace the protocol, hostname, and remove the port. E.g.; | ||
ipp:// | ipp:// | ||
- | or more generally | + | o más generalmente |
ipp:// | ipp:// | ||
+ | | ||
+ | No tengo experiencia en la configuración de clientes en otros sistemas operativos, por lo que se agradecería agregar esa información. | ||
- | I have no experience with configuring clients on other operating systems, so the addition of that information would be appreciated. | + | ===== Solución de problemas |
- | + | Si tiene dificultades, puede consultar el registro de errores | |
- | ===== Troubleshooting | + | |
- | If you are having difficulty, you can check the CUPS error log at [[http:// | + | |
====== Sources ====== | ====== Sources ====== | ||
Línea 67: | Línea 64: | ||
<!-- * 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: | + | * Escrito originalmente por [[wiki: |
+ | * Traducido por: [[wiki: | ||
<!-- * Contributions by [[wiki: | <!-- * Contributions by [[wiki: | ||