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

Unable to print watermark for ecert v2.0 #624

Open
jacelee2000 opened this issue May 28, 2021 · 3 comments
Open

Unable to print watermark for ecert v2.0 #624

jacelee2000 opened this issue May 28, 2021 · 3 comments

Comments

@jacelee2000
Copy link

Hi,
We enhanced the ecert v2.0 using the 'demo-opencerts-renderer' template where the template is hosted in our server instead of Govtech server. When try to print the certificate, we unable to print watermark. Fyi, we set the 'Content-Security-Policy' in the config file for 'frame-ancestor'. Is there anything that we need to set in order to allow watermark to be printed? We try to set the additional value "default-src 'self' 'unsafe-eval' 'unsafe-inline'" in the 'Content-Security-Policy' but not help.

@Nebulis
Copy link
Contributor

Nebulis commented May 28, 2021

Did yu check that background graphics are checked when you print ? Nothing specific to set afaict

@jacelee2000
Copy link
Author

yes. is checked. I even try unchecked and checked.

@Nebulis
Copy link
Contributor

Nebulis commented May 28, 2021

If you use our repository, you can check on storybook directly if it works or not (try to print, try to enable the watermark normally, and so on). You can also try to force the print preview.

With all this, you should be able to determine whether it's an OC issue or an issue with your renderer. If it's an issue with OC please give information that proves it's an issue with OC otherwise I will not consider it. The information should be enough for me to reproduce the issue (i.e., it does not work is not enough)

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

2 participants