1. Home
  2. Labeling Software
  3. CODESOFT
  4. CODESOFT Instructions
  5. Use Control Variable @validforprint to Prevent CODESOFT from Printing Labels – CODESOFT Instructional Article

Use Control Variable @validforprint to Prevent CODESOFT from Printing Labels – CODESOFT Instructional Article

Summary

This Instruction Article explains how to use the @validforprint function to prevent CODESOFT from printing labels.

Instructions

When creating a CODESOFT label template that allows user to manually enter data before printing, there will be time where you want to make sure that the data that user entered is valid. For example – expiration date should be after manufacturing date, item quantity needs to be in certain range etc. In this case, you would not want the system to print labels with invalid data.

CODESOFT has a mechanism for template designer to control label’s validity – a control variable @validforprint. Setting the value of @validforprint to 0 using a variable in a formula embedded in the label design will not allow the user to execute the print job.  If the value 0 appears within a print run of other valid labels, CODESOFT will not allow the print job to be created for that specific label and provide a warning message.

Outside Sources and Helpful Links

For full listing of control variables, please see: http://support.efficientbi.com/knowledge-base/control-variables-sentinel-codesoft-reference-article/

How to set control variables:  http://support.efficientbi.com/knowledge-base/set-control-variables-codesoft-instructional-article/

 

Updated on October 29, 2017

Was this article helpful?

Need Support?
Can’t find the answer you’re looking for? Don’t worry we’re here to help!
Contact Support