Issue 122844

Summary: printing with script and mailmerge does not recognize the changed printer
Product: Writer Reporter: martin.overmeyer
Component: printingAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact: Edwin Sharp <elish>
Severity: Normal    
Priority: P3 CC: issues
Version: 3.4.1Keywords: needmoreinfo
Target Milestone: ---   
Hardware: PC   
OS: Windows, all   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
Files for example incl. Db-Files
none
sample document + db-files to show the problem none

Description martin.overmeyer 2013-07-26 07:03:13 UTC
- open / create a text-document
- change printer to not-default (manual via PrinterSetup)
- start a basic-script to print via mailmerge to the selected pinter
   - document.printer(0).value = the wanted printer
   - mailmerge.model.printer(0).value = the wanted printer
- document is printed to the default printer

Problem found in "AOO400m3(Build:9702)  -  Rev. 1503704"
Problem exists also in AOO341m1(Build:9593), not in OOO310m19(Buil:9420) and not in LO 4.0.2.2
Comment 1 Edwin Sharp 2013-08-06 06:30:31 UTC
Can you please provide a basic script that will serve to reproduce the problem?
Comment 2 martin.overmeyer 2013-08-07 07:59:24 UTC
Created attachment 81260 [details]
Files for example incl. Db-Files

mailmergetest.odt - sample textfile including buttons and macro
briefdruck.*      - sample db-files for printing with automatic registration while printing; extract them to 'path.Work_writable'
Comment 3 martin.overmeyer 2013-08-07 08:01:33 UTC
Created attachment 81262 [details]
sample document + db-files to show the problem

mailmergetest.odt - sample textfile including buttons and macro
briefdruck.*      - sample db-files for printing with automatic registration while printing; extract them to 'path.Work_writable'
Comment 4 Edwin Sharp 2013-08-08 08:18:48 UTC
Thank you.

Printing performed with default printer instead selected using attached odt.

Rev. 1507307 Win 7
Comment 5 Oliver-Rainer Wittmann 2013-08-09 13:11:03 UTC
adjusting field Version as the defect has been reported also for AOO 3.4.1
Comment 6 Oliver-Rainer Wittmann 2013-08-09 13:11:59 UTC
removing keyword needmoreinfo as Edwin got the requested information and could reproduce the defect.