Blank page when printing reports generated from notes
Dear developers,
Dear all,
Thanks for this great tool that i'm using since the beginning of my PhD; great help. Hope this question will find its way through all the threads of the forum.
I face a problem when printing a report generated from a child note (related to a parent reference): html report looks normal, but when printed (or in print preview) a blank page is added between the parent title and the content of the note
--> for presentation and paper waste reasons, how to get rid of this empty page with just the parent title at the top?
(using windows 7 and Firefox last update).
Thank you for your help.
Best regards.
Emilie (from Brussels, Belgium)
Dear all,
Thanks for this great tool that i'm using since the beginning of my PhD; great help. Hope this question will find its way through all the threads of the forum.
I face a problem when printing a report generated from a child note (related to a parent reference): html report looks normal, but when printed (or in print preview) a blank page is added between the parent title and the content of the note
--> for presentation and paper waste reasons, how to get rid of this empty page with just the parent title at the top?
(using windows 7 and Firefox last update).
Thank you for your help.
Best regards.
Emilie (from Brussels, Belgium)
thank you for your quick answer.
I don't think it is a printer issue: whether I print at the office or at home is the same; in addition, I do not have to possibility to select pages as any document (be it with firefox or Thunderbird) is considered to be one unique page (always "pages from: 1 to 1" even if you have 18 pages printed!).
I think it is really part of zotero as I did not encounter this problem when printing other things in firefox or else.
When generated in one firefox window the zotero report looks normal; but when preview or printed, you have this one blank page just under the title of the main document and the text of my note on the next page...
hopeless?
I can't tell you much - the reports are very simple&clean html and the print css is also very clean and simple: zotero://report/detail_print.css
If this results in empty pages, your printer/browser combination is doing something odd. It's certainly not a general issue.
The reports do copy over to Word/LibreOffice nicely, so you can use that as a workaround.
In any case, if you save the report as "Web Page, complete", ZIP the files, and either send the ZIP to support@zotero.org or upload it somewhere (e.g., Dropbox) and provide a link here, we can see whether we can reproduce this.
thank you very much for your answers.
My zotero version is 4.0.12. I just send the report to zotero support in case there is something to find.
I had not noticed I could change the "1 to 1" thing! So I Will definitely do that! As you can see I'm not that skilled with IT, so thank you very much for your help.
I saved the page as you explain: "page web, complète" (in french), but there is only one file. Than I compress it with a tool available when I right-click the mouse.
I just send another file of "code source", maybe it is what is needed? (Firefox menu < web development < code source)
If not, do not take more of your time for this.
Thank you again.
Best regards,
Maybe the answer is in this one:
<link rel="stylesheet" type="text/css" media="print" href="zotero://report/detail_print.css"/>
body {
font: 12pt "Times New Roman", Times, Georgia, serif;
margin: 0;
width: auto;
color: black;
}
/* Page Breaks (page-break-inside only recognized by Opera) */
h1, h2, h3, h4, h5, h6 {
page-break-after: avoid;
page-break-inside: avoid;
}
ul, ol, dl {
page-break-inside: avoid;
}
h2 {
font-size: 1.3em;
line-height: 1.3em;
}
a {
color: #000;
text-decoration: none;
}
lorsque vous enregistrez la page du rapport depuis Firefox en cliquant sur "Fichier" -> "Enregistrer sous", cela crée un fichier avec le nom que vous lui donnez (par défaut : "Rapport Zotero.htm"). Mais il est automatiquement crée un *dossier* au même emplacement qui a pour nom par défaut "Rapport Zotero_fichiers". Dans ce dossier, il y a trois fichiers (detail.css, detail_print.css et detail_screen.css).
C'est l'ensemble qu'il faut envoyer par email (après l'avoir zippé: sous windows, sélectionnez le fichier et le dossier, clic-droit -> "Envoyer vers" -> "Dossier compressé". Cela créera un nouveau fichier, par défaut "Rapport Zotero.zip" à envoyer).