Después de Yosemite, no se puede imprimir; CUPS error_log: "/ bin / bash: gs: comando no encontrado"

4

Mi impresora dejó de funcionar desde que actualicé a Yosemite. La ventana de la cola de impresión solo dice "Detenido: error '' Filtro '". Desde / var / log / cups / error_log:

...
D [28/Oct/2014:21:46:49 -0700] [Job 4] PID 3334 (/usr/libexec/cups/filter/cgpdftops) exited with no errors.
D [28/Oct/2014:21:46:49 -0700] [Job 4] Wrote 1 pages...
D [28/Oct/2014:21:46:49 -0700] [Job 4] PID 3335 (/usr/libexec/cups/filter/pstops) exited with no errors.
D [28/Oct/2014:21:46:49 -0700] [Job 4] Flushing FIFO.
D [28/Oct/2014:21:46:49 -0700] [Job 4] Starting renderer with command: "gs -dBATCH -dPARANOIDSAFER -dNOPAUSE -sDEVICE=pxlmono -r600x600 -dMediaPosition=0 -dDEVICEWIDTHPOINTS=612 -dDEVICEHEIGHTPOINTS=792 -sOutputFile=/dev/fd/3 -_ 3>&1 1>&2"
D [28/Oct/2014:21:46:49 -0700] [Job 4] Starting process "kid3" (generation 1)
D [28/Oct/2014:21:46:49 -0700] [Job 4] Starting process "kid4" (generation 2)
D [28/Oct/2014:21:46:49 -0700] [Job 4] JCL: -12345X@PJL
D [28/Oct/2014:21:46:49 -0700] [Job 4] <job data> 
D [28/Oct/2014:21:46:49 -0700] [Job 4] Starting process "renderer" (generation 2)
D [28/Oct/2014:21:46:49 -0700] [Job 4] /bin/bash: gs: command not found
D [28/Oct/2014:21:46:49 -0700] [Job 4] renderer exited with status 127
D [28/Oct/2014:21:46:49 -0700] [Job 4] Closing renderer
D [28/Oct/2014:21:46:49 -0700] [Job 4] kid3 exited with status 1
D [28/Oct/2014:21:46:49 -0700] [Job 4] Process is dying with "Error closing renderer
D [28/Oct/2014:21:46:49 -0700] [Job 4] ", exit stat 1
D [28/Oct/2014:21:46:49 -0700] [Job 4] Cleaning up...
D [28/Oct/2014:21:46:49 -0700] [Job 4] PID 3336 (/usr/libexec/cups/filter/foomatic-rip) stopped with status 1.
D [28/Oct/2014:21:46:49 -0700] [Job 4] Hint: Try setting the LogLevel to "debug" to find out more.
D [28/Oct/2014:21:46:49 -0700] [Job 4] Sent 0 bytes...
D [28/Oct/2014:21:46:49 -0700] [Job 4] STATE: +cups-waiting-for-job-completed
D [28/Oct/2014:21:46:49 -0700] [Job 4] Waiting for read thread to exit...
D [28/Oct/2014:21:46:49 -0700] [Job 4] PID 3337 (/usr/libexec/cups/backend/usb) exited with no errors.
D [28/Oct/2014:21:46:49 -0700] [Job 4] End of messages
D [28/Oct/2014:21:46:49 -0700] [Job 4] printer-state=3(idle)
D [28/Oct/2014:21:46:49 -0700] [Job 4] printer-state-message="Filter failed"
D [28/Oct/2014:21:46:49 -0700] [Job 4] printer-state-reasons=none

/bin/bash: gs: command not found parece interesante, al igual que PID 3336 (/usr/libexec/cups/filter/foomatic-rip) stopped with status 1. asumo que el primer error llevó al segundo.

GhostScript se ha instalado desde hace mucho tiempo. Acabo de instalar el último (9.15). Al ejecutar gs en Terminal, se inicia la herramienta de línea de comandos GhostScript. which gs me dice /usr/local/bin/gs .

Intenté reiniciar CUPS ( sudo launchctl [stop/start] org.cups.cupsd ). También vinculé gs a / usr / bin y / sbin.

¿Por qué no puedo encontrar gs cuando realmente intento imprimir?

    
pregunta Trevor Dixon 29.10.2014 - 05:57

1 respuesta

6

Si miras en tu consola, probablemente verás un mensaje sobre sandboxd que impide que gs se ejecute. Simplemente agregue esta línea al final de /etc/cups/cups-files.conf:

  

Sandboxing relajado

luego escribe:

sudo launchctl stop org.cups.cupsd
    
respondido por el CpnCrunch 11.01.2015 - 05:36

Lea otras preguntas en las etiquetas