Where does ps-printer-app look for cupsFilters?

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

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
linux, ubuntu
Domain
desktop

Research direction

Start by checking how the snap locates and validates cupsFilter files, since the error names the expected path under /snap/ps-printer-app/1362. Then investigate the reported duplicate KMAuthentication option in the attached Konica Minolta 958 PPD. The issue does not identify relevant source files or tests; a resolution should explain where the filter belongs and whether the PPD errors are caused by the app or the manufacturer file.

Written by the indexing model from the issue text.

Description

On Ubuntu 24.04, Got ps-printer-app Version 20240504-9 as snap.

  1. Successfully added PPD for Konica Minolta 754e.
  2. Tried adding PPD for Konica Minolta 958:
    The PPD has a line *cupsFilter: "application/vnd.cups-postscript 0 KMbeuEmpPS.pl"
    I put the KMbeuEmpPS.pl file at:
    /var/snap/ps-printer-app/current/usr/lib/ps-printer-app/filter/KMbeuEmpPS.pl
  3. I got error:
    FAIL Missing cupsFilter file "/snap/ps-printer-app/1362/usr/lib/ps-printer-app/filter/KMbeuEmpPS.pl".
  4. I tried adding the KMbeuEmpPS.pl at above place ...got read only file system error.
  5. What should I do?
  6. Another error:
    FAIL Multiple occurrences of option KMAuthentication choice name Server.
    ..even though this is the ``official'' PPD from manufacturer.
    What should I do?

Any help would be much appreciated.

PPD:

Konica-958.txt

Dominant language
PostScript
Stars
54
Forks
28
Avg merge
1d 4h
Merged PRs (30d)
1

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/ps-printer-app

All issues in OpenPrinting/ps-printer-app

Similar issues

More Desktop Dev issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.