Setting pdftops-renderer?

Open
#5 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Domain
tooling

Research direction

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.

Written by the indexing model from the issue text.

Description

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!

Dominant language
Perl
Stars
8
Forks
5
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from OpenPrinting/foomatic-db-engine

All issues in OpenPrinting/foomatic-db-engine

Similar issues

More Perl issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.