Preventing a Print Job from Exceeding a Maximum Serial Number Value – CODESOFT Instructions
Target Audience: Advanced User, IT Manager
Article #: 12119
Summary
This instruction article will guide you through the steps of preventing a print job from exceeding the maximum serial number desired in CODESOFT. This is handled using the @ValidforPrint control variable.
Preparation
To begin, open the desired label design file in CODESOFT.
Instructions
- Create Qty as a When Printed field.

- Add Max value as an Advanced Data Source

- Set up the Counter using the new Max value as Maximum.

- Add the @ValidforPrint formula to Test to see if Adding Qty to the counter value will exceed the max value.

- Test the label to confirm that it will not print a label exceeding the maximum serial number.
Author
Related Articles
- Loftware Redirect Print to PDF action using multiple printer seats
- License is failed – TEKLYNX CENTRAL Error Message
- Loftware Web Designer vs Desktop Designer
- Loftware Workday API Splitting Print Jobs
- Planning a BarTender Server Migration and Upgrade – BarTender Instructions Article
- Deciding on an In-Place Upgrade, Test Server, or Migration – BarTender Reference Article