https://bz.apache.org/ooo/show_bug.cgi?id=127579
Issue ID: 127579
Issue Type: DEFECT
Summary: PrintOrientation on star basic macro does not work
Product: App Dev
Version: 4.1.3
Hardware: PC
OS: Linux 64-bit
Status: UNCONFIRMED
Severity: Normal
Priority: P5 (lowest)
Component: vba
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Created attachment 86246
--> https://bz.apache.org/ooo/attachment.cgi?id=86246&action=edit
Basic code doing the printing
The following basic code is accepted, but the document printed has the wrong
orientation. Changing the "PaperOrientation" from LANDSCAPE to PORTRAIT and
vice versa has no effect on the printout.
' ---- select the printer
PrinterProp(0).name = "Name"
PrinterProp(0).value = "Epson-LX-300+"
Papersize.Width = 19500
Papersize.Height = 15500
PrinterProp(1).name = "PaperSize"
PrinterProp(1).value = Papersize
PrinterProp(2).name = "PaperOrientation"
PrinterProp(2).value = com.sun.star.view.PaperOrientation.LANDSCAPE
odoc.setPrinter(PrinterProp())
Attached are:
--
You are receiving this mail because:
You are the assignee for the issue.