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

有没有PDF页头, 页脚的设置? #33

Open
linexjlin opened this issue Sep 24, 2021 · 6 comments
Open

有没有PDF页头, 页脚的设置? #33

linexjlin opened this issue Sep 24, 2021 · 6 comments

Comments

@linexjlin
Copy link

RT

@JabinGP
Copy link
Owner

JabinGP commented Sep 25, 2021

可以参考chrome浏览器的功能,我这边看到浏览器打印可以勾选页脚页眉显示网址,但是没有自定义的选项。如果有需要或许可以通过主题文件实现。

@linexjlin
Copy link
Author

好像可以设置headerTemplate,footerTemplate

https://chromedevtools.github.io/devtools-protocol/tot/Page/#method-printToPDF

@JabinGP
Copy link
Owner

JabinGP commented Oct 16, 2021

感谢提供链接,考虑加入设置接口。

@dingchenzy
Copy link

现在有页头, 页脚的设置了吗

@miaomiao1992
Copy link

急需此功能,盼复,敬礼!

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

4 participants