Bugzilla – Attachment 100238 Details for
Bug 79508
printing with script and mailmerge does not recognize the changed printer
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
example print makro
Print_Makro.txt (text/plain), 932 bytes, created by
mario.edelmann
on 2014-06-01 16:55:57 UTC
(
hide
)
Description:
example print makro
Filename:
MIME Type:
Creator:
mario.edelmann
Created:
2014-06-01 16:55:57 UTC
Size:
932 bytes
patch
obsolete
>SUB Print > Dim MyProps() as Object > Dim oMailMerge as Object > Dim Datasource as string > > id = thisComponent.drawpage.forms.getByName("Formular").getByName("Lfd_Nr").getCurrentValue > > oMailMerge = createunoservice("com.sun.star.text.MailMerge") > oMailMerge.DataSourceName = "Reserve" > oMailMerge.DocumentURL = ConvertToUrl("D:\APPROACH\test.odt") > oMailMerge.CommandType = 0 > oMailMerge.Command = "REServe" > oMailMerge.Filter = "Reserve.LFD_NR = " & id > oMailMerge.OutputType = 1 > oMailMerge.SinglePrintJobs = False > > '***************************************************************** > Dim myPrinter(0) as new com.sun.star.beans.PropertyValue > myPrinter(0).Name = "Name" > myPrinter(0).Value = "canon" > oMailMerge.Model.setPrinter(myPrinter) > '***************************************************************** > > oMailMerge.execute(MyProps()) > >END SUB
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 79508
: 100238