Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use cups-pdf with cups-filters to print doesn't have effect #592

Open
hustliyilin opened this issue Jul 30, 2024 · 0 comments
Open

Use cups-pdf with cups-filters to print doesn't have effect #592

hustliyilin opened this issue Jul 30, 2024 · 0 comments

Comments

@hustliyilin
Copy link

hustliyilin commented Jul 30, 2024

Describe the bug

When I use the cups-pdf in Linux alone to print, I can see that the printed PDF content is normal. However, when I use cups-pdf with cups-filters,the printed content is empty. I don't know what's causing it and how to locate and fix it. Could you give me some advice ? Thanks a lot.

To Reproduce
Steps to reproduce the behavior:

  1. install the cups-filters and cups-pdf
  2. configure the cups-pdf and add the cups-filter to the cups-pdf's ppd configure file
lpinfo -m | grep -i pdf
cat /usr/share/cups/model/CUPS-PDF_noopt.ppd | grep filter
lpadmin -p cups-pdf -v cups-pdf:/ -m CUPS-PDF_noopt.ppd -E
lpstat -p -d

image

  1. restart the cups by typing sudo systemctl restart cups
    image

  2. use the cups-pdf with cups-filters to print the test.txt by typing lp -d cups-pdf ./test.txt
    image

  3. view the printed file. However, the content of the out file is empty like this:
    image

Expected behavior

I hope to correctly configure cups-filter to print the correct content with cups-pdf. In addition, in addition to texttopdf, I have also configured other filters, but all the printed pages are blank,I don't know how to fix it.

System Information:

  • OS: fedora 40
  • Version: 1.20.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant