You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2012/10/06 04:19:18 UTC
[Bug 121170] New: com::sun::star::awt::XPrinter API does nothing
https://issues.apache.org/ooo/show_bug.cgi?id=121170
Priority: P3
Bug ID: 121170
Assignee: ooo-issues@incubator.apache.org
Summary: com::sun::star::awt::XPrinter API does nothing
Severity: normal
Issue Type: DEFECT
Classification: Code
OS: All
Reporter: arielch@apache.org
Hardware: All
Status: CONFIRMED
Version: AOO 3.4.1
Component: code
Product: api
Using the printing API in the AWT module has no efect at all.
The following code does nothing:
REM ***** BASIC *****
Option Explicit
Sub PrinterServer_test
Dim oPrinterServer as Object
oPrinterServer = CreateUnoService("com.sun.star.awt.PrinterServer")
Dim sPrinterNames$()
sPrinterNames = oPrinterServer.getPrinterNames()
If UBound(sPrinterNames) >= 0 Then
Dim oPrinter as Object, n%
oPrinter = oPrinterServer.createPrinter("Cups-PDF")
oPrinter.start("XPrinter API Demo JOB",1,false)
Dim oDevice as Object, oGraphics as Object
For n = 0 To 5
oDevice = oPrinter.startPage()
oGraphics = oDevice.createGraphics()
oGraphics.drawText(0,0,"Hello world in page " + CStr(n+1))
oPrinter.endPage()
Next
oPrinter.end()
oPrinter.terminate()
End If
End Sub
You need a build with the fix to bug 117765 in order to test it with Basic.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 121170] com::sun::star::awt::XPrinter API does nothing
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=121170
brinzing <ol...@gmx.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |oliver.brinzing@gmx.de
--- Comment #3 from brinzing <ol...@gmx.de> ---
.
--
You are receiving this mail because:
You are on the CC list for the bug.
[Bug 121170] com::sun::star::awt::XPrinter API does nothing
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=121170
Ariel Constenla-Haile <ar...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|CONFIRMED |RESOLVED
Resolution|--- |FIXED
--- Comment #2 from Ariel Constenla-Haile <ar...@apache.org> ---
Fixed in trunk
--
You are receiving this mail because:
You are on the CC list for the bug.
[Bug 121170] com::sun::star::awt::XPrinter API does nothing
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=121170
--- Comment #1 from SVN Robot <sv...@dev.null.org> ---
"arielch" committed SVN revision 1394905 into trunk:
#i121170# - com::sun::star::awt::XPrinter API does nothing
--
You are receiving this mail because:
You are on the CC list for the bug.
[Bug 121170] com::sun::star::awt::XPrinter API does nothing
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=121170
Ariel Constenla-Haile <ar...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |AOO 4.0
--
You are receiving this mail because:
You are on the CC list for the bug.
[Bug 121170] com::sun::star::awt::XPrinter API does nothing
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=121170
Ariel Constenla-Haile <ar...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ooo-issues@incubator.apache
| |.org
Assignee|ooo-issues@incubator.apache |arielch@apache.org
|.org |
Target Milestone|--- |AOO 3.5.0
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.