Created attachment 138021 [details]
Zebra LP2824 Label Template
I have a label template in writer and in this document the printer is set to my label printer (Zebra LP2824) which can be seen in "File->Printer Settings..."
If I try and print and click yes to the "do you want to print a form letter" dialog it brings ups the mail merge window and I can select which records to print, however for both printer and file output the printer is set to my inkjet printer not my label printer like the original document and if I then change the printer the page is somehow not reformatted so it is printed 90' wrong.
The only way I can print a mail merge to my label printer is to run the mail merge to a file, and then open the file and set the printer to my label printer before I try and print it.
did you try latest 18.104.22.168?
Yes just tried it and 22.214.171.124 has the same behaviour.
Mail merge example requires also data source. It's more convenient to prepare a test document (single field is enough) that uses already present Bibliography database.
But I repro this, also with master 6.1+. Looks like inherited from OO.
Although "File->Printer Settings..." is set to desired printer, LO offers default printer.
If I change to desired printer during the print, it is offered with it's default settings (ex. A4 size), not those that are set in "File->Printer Settings..." (ex. A5 size).
Patch in gerrit: https://gerrit.libreoffice.org/#/c/79515
With this in place, values in print dialog are initialized based on document settings for the printer, just like for the non-mail-merge scenario.
Michael Weghorn committed a patch related to this issue.
It has been pushed to "master":
tdf#114099 mail merge: Copy JobSetup to working doc
It will be available in 6.4.0.
The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
Affected users are encouraged to test the fix and report feedback.