serialized print

Hi all,

i am trying to build a serialized print, where a barcode i counted up for every print.

Example; if I print 100 copies the barcode contains 1,2,3....100

Has anyone done this before?

Thanks >

Comments

  • Hello!

    To print 100 labels/pages with unique barcodes ranging from 1 to 100, there are two simple ways:

    Use a data source with 100 rows (or set `DataBand.RowCount = 100` in a script without a table, using the system variable [Row#] as the barcode text: `Barcode1.Text = Row.ToString()`).

    Alternatively, in C# code, generate a single print job in a loop using the Prepare(append: true) mode:

    for (int i = 1; i <= 100; i++)
    {
    report.SetParameterValue(“SerialNo”, i);
    report.Prepare(append: i > 1);
    }
    report.PrintPrepared();
    
This discussion has been closed.