Do Not Print One Item Based On A Radial Selection
Currently when creating a label I have three shelf life options. One of them is indefinite. What I would like to do is when the radial button for indefinite is selected then the "expiration or retest date:" field would be not print. I still need the date to be included in the barcode for reasons that it is required by the database. I know there is a checkbox for do not print object but I do not see a way of controlling that selection, especially through a radial button of a different text object. Any help on this would be greatly appreciated.
0
-
There are mainly two ways of getting this done:
1. When the "indefinite" option is selected the "expiration or retest date" object will be emptied (set to "") through a VB Script. Note that when a BarTender object doesn't contain information it will not be printed.
2. You can control the visiblity of an object through a document level VB Script. You can access this option from the "File>BarTender Document Options..." option under the "VB Scripting" tab. Note that in order to access this option you'll need the "Automation" edition at least (previously called "Enterprise).
The visibility of an object can be set through the [i]Format.Objects(«object name or index»).PrintVisibility[/i] property.0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
1 Kommentar