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

Watermark every page #665

Open
MarcPinnell opened this issue Nov 20, 2024 · 2 comments
Open

Watermark every page #665

MarcPinnell opened this issue Nov 20, 2024 · 2 comments

Comments

@MarcPinnell
Copy link

Is there a way to print a watermark on every page of the generated PDF? I want to print the word "DRAFT" across the background of all pages that are generated. I can get it to kind of work with pure CSS (no image), but it can't get it to repeat.

Anyone accomplished this?

@enricodias
Copy link
Member

As far as I know, chrome doesn't have anything native to add a watermark on printed pages. If you can't do it using css alone maybe if would be easier to print normally and edit the pdf itself using another tool, like this one: https://github.com/ajaxray/php-watermark

@MarcPinnell
Copy link
Author

Thanks. Just wanted to make sure I hadn't missed something. I'll look into that other tool, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants