Setting pdftops-renderer?

Abierto
#5 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
25/100
Tipo de issue
Nueva funcionalidad
Claridad
Necesita aclaración
Estado de actividad
Estancado
Área
tooling

Línea de trabajo

Review the Foomatic XML configuration path and the PPD option snippet in the issue, then compare them with the cups-filters README and CUPS PPD Extensions specification. Done means determining whether either renderer option can be represented and documenting the supported configuration path or limitation.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

I'm having issues with the default PDF to PS renderer pdftops in ptouch-driver. As explained in the cups-filters README, the pdftops-renderer print option can be set either per job with lpr -o pdftops-renderer=gs or per queue with lpadmin -o pdftops-renderer-default=gs, which makes those issues go away.

The following posting suggests that there's a way to set pdftops-renderer from PPD files as well. However, the following PPD code has no effect:

*OpenUI *pdftops-renderer: PickOne
*Defaultpdftops-renderer: gs
*pdftops-renderer gs/GhostScript: ""
*CloseUI: *pdftops-renderer

Is there a way to define pdftops-renderer or pdftops-renderer-default in a Foomatic xml file? Note that the print option doesn't add any Foomatic command-line arguments like <arg_substitution> or PostScript code like <arg_postscript>. I couldn't figure out a way to pass printer options from the CUPS PPD Extensions specfication, either. Thanks for any help!

Lenguaje dominante
Perl
Estrellas
8
Forks
5
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de OpenPrinting/foomatic-db-engine

Todos los issues de OpenPrinting/foomatic-db-engine

Issues similares

Más issues de Perl

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.