Comment 24 for bug 857041

Revision history for this message
In , M-dr-s (m-dr-s) wrote :

I confirm the problem "displaying non-printing characters" using LO 3.4.4, Windows 7 prof 64 bit and the following macro:
Sub AktuelleSeiteDrucken
   oDoc = ThisComponent
   aPrinterProperties = oDoc.getPrinter()
   oPrinterName = aPrinterProperties(0)
   If IsNull( oPrinterName ) Then
      MsgBox( "Kein Drucker gefunden" )
   Else
      if MsgBox( "Der aktuelle Drucker ist: " & oPrinterName.Value, 1,"Hinweis") = 2 then
            exit sub
        else
            dim aPrintOps(0) as new com.sun.star.beans.PropertyValue
            oDoc = ThisComponent
            oViewCursor = oDoc.CurrentController.getViewCursor()
            aPrintOps(0).Name = "Pages"
            aPrintOps(0).Value = trim(str(oViewCursor.getPage()))
            oDoc.print(aPrintOps())
        endif
    EndIf
end sub

Question: is this the same problem as Bug 40482?