Profundizando en Vitalinux
Revisión del 15:42 29 may 2018 de Arturo (discusión | contribuciones)
DIA 4 | ||
---|---|---|
Seminario para Coordinadores Vitalinux de centro | ||
Profundizando en el Sistema Operativo | Pantallas y controladores | Contenido Adicional | ||
{{Slides|
El uso de comandos agiliza y hace más eficiente el uso de ciertas tareas con el ordenador. Entre dichas tareas cabría destacar:
1) Mediante un PPD externo: PPD="http://migasfree.educa.aragon.es/ppds/cups-pdf/CUPS-PDF-Printer.ppd" NOMBREPPD="CUPS-PDF-Printer.ppd" NOMBRE="Impresora-PDF" CONEXION="cups-pdf:/" DESTINO="/usr/share/cups/model/vitalinux/${NOMBREPPD}" cd /usr/share/cups/model/vitalinux && wget "${PPD}" lpadmin -p "${NOMBRE}" -E -v "${CONEXION}" -P "${DESTINO}"}}
2) Mediante driver interno: sudo apt-get -y install cups-pdf lpinfo -m | grep pdf lsb/usr/cups-pdf/CUPS-PDF.ppd Generic CUPS-PDF Printer DRIVER="lsb/usr/cups-pdf/CUPS-PDF.ppd" NOMBRE="Impresora-PDF" CONEXION="cups-pdf:/" lpadmin -p "${NOMBRE}" -E -v "${CONEXION}" -m "${DRIVER}"
3) Probar impresión: TITULO="ejemplo.pdf" NOMBRE="Impresora-PDF" echo "El texto a imprimir en el PDF ..." | lpr -P "${NOMBRE}" -T "${TITULO}" lpr -P "${NOMBRE}" -T "${TITULO}" archivo.txt
{{{1}}}
{{{1}}}
DIA 4 | ||
---|---|---|
Seminario para Coordinadores Vitalinux de centro | ||
Profundizando en el Sistema Operativo | Pantallas y controladores | Contenido Adicional | ||