HTML printing to pdf

Hello

I’m using OJS 3.3.0.4.

I´m trying to print to pdf from Embed Html Galey plugin.
I’ve created a page with metadata information (titles, autors, abstract, keywords) and imported the html galey.
What i want to do is based on this Plunker - Ultimate printable HTML layout with repeating header & footer on every page
I want to print on the first page article metadata and on the others the rest of the article (based on the html galey), all with header and footer.
But when i do it, it seems doesn’t aply the code from style.css

How can i aply the css file?

Thanks

Hi @JP1977 ,

Just tried, and to allow the yellow background to be printed, you need to check the print options to allow background images/colors. Then you will see all the styles applied.

Regards,

José Carvalho

Hello

I’ve used this code to import the css file

@import url("https://rper.aper.pt/plugins/generic/embedHtmlArticleGalley/templates/imprimir.css");

Made some changes and the result was this: https://rper.aper.pt/index.php/rper/article/view/60/117

The next step is to put page number but still no sucess.

Another thing is the references number.
I copy/paste from a word doc the references with number but when they apear in the abstract page there is no number.
Any help in this.

Thanks

Hello

Thanks for the help
Where can i change the printing options.

João Oliveira

Hi @JP1977 ,

When you click on Print me, the window to the print options appears (on my case with MacOS), just disable the background option in red. You may have a similar option in Windows/Linux:

Captura de ecrã 2021-06-29, às 22.41.12

Regards,

José Carvalho