Created attachment 117743 [details] example datasource for mailmerge mail merge produces white pages (instead of pages with text) for datasets >=2 if N-UP printing is selected. Here is how to reproduce: 0) ensure that PDF is default printer language (setup the corresponding checkbox in tools->options/LibreOffice/printer) 1) open the attached mail merge document (Sample_document_mailmerge.odt) 2) Use "tools->mail merge wizard/insertAdressBlock->choose different datasource" (translated from German UI) to register the attached simple datasource (einsBisNeun.ods). Cancel Mail merge wizard after that. 3) Use "file->print", "yes", for mail merge printing. Select "print to printer", "OK". Choose a pdf printer (if you have one) and in tab "page layout" set "pages per sheet" to 4. Now start the printing --> on my linux system I recieve a non empty first page and 8 empty pages. I assume that this bug is somehow connected to tdf#92324 (similar symptoms)
Created attachment 117745 [details] mail merge document
I couldn't reproduce this bug with windows. N-UP printing seems to work in windows. Interesting is here, that N-UP printing shows 4 datasets on the same sheet. I'm not quite sure that is is intended, since mail merge normally enforces a new dataset-result on an odd page (for duplex printing). So this example on windows produces 3 sheets (dataset 1,2,3,4 on the first, dataset 5,6,7,8 on the second and dataset 9 on the 3rd page). On the linux system, I got 9 sheets instead. Maybe it is better to start for each dataset on a new sheet!? But nevertheless the bug (white pages since 2nd dataset) still remains. Ist this bug just related to the cups printing system?
The implementing was combined with "Save as individual documents" what according to this has a change in the "Print-dialogue" a wrong handling according to has. Besides, the preview is not shown in the "Print-dialogue" properly. The "Print automatically inserted blank pages" should not be forgotten to check I want try to fix
I have made two commits first one : https://gerrit.libreoffice.org/20130 i have make a refactoring of the main function "MergeMailFiles" The second one : https://gerrit.libreoffice.org/20131 make the patch for solving the problem. I think we can improve the patch, but that is the first step and solve the main problem "white papers" Improve: - when print, one side to the paper, the handling move to the old handling, it is faster - in the "pTargetView" remove the printed sides (memory) (exist a remove function for that?) - Asynchronous print I need this in LO 5.0, i have develop for LO5.0 and merge to the master, in this case the better solution is, i commit my changes from my LO5.0 to libreoffice-5-0, the cherry-pick from master to LO5.0 make no sense.
https://cgit.freedesktop.org/libreoffice/core/commit/?id=dea0abc58c558d3c62e806d06035b1a30420264e
Christoph: can you test with 5.1.2? If it works, this can be set to RESOLVED FIXED.
Dear Bug Submitter, This bug has been in NEEDINFO status with no change for at least 6 months. Please provide the requested information as soon as possible and mark the bug as UNCONFIRMED. Due to regular bug tracker maintenance, if the bug is still in NEEDINFO status with no change in 30 days the QA team will close the bug as INSUFFICIENTDATA due to lack of needed information. For more information about our NEEDINFO policy please read the wiki located here: https://wiki.documentfoundation.org/QA/Bugzilla/Fields/Status/NEEDINFO If you have already provided the requested information, please mark the bug as UNCONFIRMED so that the QA team knows that the bug is ready to be confirmed. Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-NeedInfo-Ping-20161010
Dear Bug Submitter, Please read this message in its entirety before proceeding. Your bug report is being closed as INSUFFICIENTDATA due to inactivity and a lack of information which is needed in order to accurately reproduce and confirm the problem. We encourage you to retest your bug against the latest release. If the issue is still present in the latest stable release, we need the following information (please ignore any that you've already provided): a) Provide details of your system including your operating system and the latest version of LibreOffice that you have confirmed the bug to be present b) Provide easy to reproduce steps – the simpler the better c) Provide any test case(s) which will help us confirm the problem d) Provide screenshots of the problem if you think it might help e) Read all comments and provide any requested information Once all of this is done, please set the bug back to UNCONFIRMED and we will attempt to reproduce the issue. Please do not: a) respond via email b) update the version field in the bug or any of the other details on the top section of our bug tracker Warm Regards, QA Team MassPing-NeedInfo-20161108