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

[Question]: How to configure the ppd with watermark? #6215

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

[Question]: How to configure the ppd with watermark? #6215

hustliyilin opened this issue Jul 16, 2024 · 0 comments

Comments

@hustliyilin
Copy link

I want to add the watermark when printing files with cups-pdf or other printers. The current idea is to modify the ppd file of the corresponding printer on the host side. According to the guide of the repository, I added the corresponding configuration to the ppd file(/usr/share/cups/model/CUPS-PDF_opt.ppd), as shown below:

*OpenUI WatermarkText/Watermark Text: PickOne
*OrderDependency: 100 AnySetup *WatermarkText
*DefaultWatermarkText: Test
*WatermarkText Test: "watermark test"
*WatermarkText Draft: "<</cupsString1(Draft)>>setpagedevice"
*CloseUI: *WatermarkText

However, the printed files don't have watermarks (not effective). I would like to ask if there is any wrong configuration. I look forward to your reply. Thank you very much.

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