-
Notifications
You must be signed in to change notification settings - Fork 284
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
Comments
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 |
Thanks. Just wanted to make sure I hadn't missed something. I'll look into that other tool, thanks. |
ChatGPT 4o suggest
and I haven't tested it, but I think it might work! definitely worth a shot. (Also anyone noticed how o1 has gotten progressively dumber? o1 just said "sorry not possible" to the same question..) |
Header and footer templates don't seem to load external resources like images. Using an image in base64 directly in the html might work. |
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?
The text was updated successfully, but these errors were encountered: