Label Printing prints some pages one upon the other

  • When I print 142 labels (3 x 8 pieces on one sheet) it has to be 6 pages (2 labels left). But in preview and on paper only 4 pages are produced - and the 2nd and the 3rd page are used 2 times.

    Is this a mistake of me ??!

    This is my code:


    I could show you the result of this code as a pdf-file, but I don't know how to upload this to you.

  • I found my error:
    In my code:

    RT_TLabel.FastAppendText(RT_TLabelWork,False,[wpCreateNewPage]);

    I have to set the 2nd parameter "AsNewSection" to False - then it works. Otherwise the switching to the new page doesn't work properly.