Date: prev next · Thread: first prev next last
2018 Archives by date, by thread · List index


Hallo Thomas,

mit einem Makro könntest Du die zu druckenden Etiketten auswählen,
d.h. die "Drucken" Option in den Eigenschaften der einzelnen Rahmen
aktiveren bzw. deaktivieren.
In der Druckvorschau siehst Du dann das Ergebnis.

REM  *****  BASIC  *****
OPTION EXPLICIT

Sub Test()
        ' Drucke Etikett 1 bis einschließlich 8
        Call Auswahl(1,8)
End Sub

Sub Auswahl(ByVal nStart as Integer, ByVal nStop as Integer)
        Dim oDoc as Object
        Dim oFrame as Object
        Dim i as Integer
        Dim nCount as Integer
        
        oDoc = ThisComponent
        nCount = oDoc.TextFrames.getCount()

        For i = 0 To nCount -1
                oFrame = oDoc.TextFrames.getByIndex(i)
                If i+1 >= nStart and i+1 <= nStop Then
                        oFrame.Print = True
                Else
                        oFrame.Print = False
                EndIf
        Next i
End Sub


Gruß
Oliver


--
Liste abmelden mit E-Mail an: users+unsubscribe@de.libreoffice.org
Probleme? https://de.libreoffice.org/hilfe-kontakt/mailing-listen/abmeldung-liste/
Tipps zu Listenmails: https://wiki.documentfoundation.org/Netiquette/de
Listenarchiv: https://listarchives.libreoffice.org/de/users/
Datenschutzerklärung: https://www.documentfoundation.org/privacy

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.