How to conditionally print an object on the last label Follow
How to conditionally print an object on the last page, based on an 1 of X serial number.
Find below a really simple example which demonstrates how you can do this in BarTender.
Basically I've created a new Data Source called "PrintCondition" which uses the following VBScript code:
If CInt (Format.NamedSubStrings("myserialnumber").Value) = CInt (Format.NumberSerializedLabels) Then
value = "Yes"
Else value = "No"
With regards to the "Last Label Printed" Text object, it will conditionally print based on the named data source "PrintCondition", as you can see below: