Multiple Template help
Hello,
I am unable to figure out how to format a template to fit out needs
I am using a form to populate information on the template, and I need 3 versions of this template to print in the same batch. Currently, we are creating 3 different print jobs and re-entering all the same info (except for the one variable feild) but want to be able to accomplish this all in one go.
So all information will remain on every label but we need labels to change one piece of info at set intervals and labels must have number counter
- Labels 1-20 to say "Batch 1"
- Labels 21-30 say "Batch 2"
- Labels 31-35 say "Tester"
Hope that makes sense!
-
There are a couple of ways you could achieve this depending on whether the boundaries are fixed or flexible,
If they are fixed:
- If not already on the label add a sequential field onto the label that resets every print job. if this is not required to be shown, it must be present but you can drag it off to the side out of the printed area. Make this a Named Data Source and configure it to require a minimum of 2 characters, but switch off the warning. For my testing I called the field LBLCount
- Configure the batch text field to have 3 data strings, each saying either Batch 1, Batch 2 or Tester.
- For the Batch 1 string configure the Suppression so that string does not print if the LBLCount is greater and Batch 1 highest value. I made this to 6 and so set the field to Suppress if the LBLCount was great than or equal to 07 (see image below).
- Repeat this for Batch 2 but, assuming 10 to be the highest Batch 2 value I set the field to suppress if LBLCount is not between 07 and 10
- Again, repeat for Tester but setting the field to Suppress unless the LBLCount is less than 1 higher than the highest batch 2 (soo 1 in my example)
The result of this with 12 labels selected can be seen on the image at the bottom of the post in red
Where the boundaries are variable then the Batch string would need to be configured as a Visual Basic > Event Controlled > OnSerialise string. To configure this
- Add/amend the LBLCount field as per 1 above
- Add a field on the label, or probably off to the side of the label so that it does not print and make this a manual entry field asking the operators to enter the label Batch 1 value. Make this a Named field , I called mine BatchOne and also set it to expect a minimum of 2 characters padding automatically with a leading zero (warning unticked)
- Repeat 2 but this time for the Batch 2 value. Again name this field, and I used BatchTwo and again padded this to two characters
- Add the VB script field on to the label and set this as an Event Controlled Script and then press the edit button
- You could leave the AutoSelected as Value = "Sample Text" but I changed mine to Value = "Batches"
- Click on the OnSerialise option in the column on the left and in the entry box enter the VB as shown below. Please note, to create the links to the Named data sources (Format.NamedSu......etc) type in the Value = and then double click on the field name shown in the column on the right
- Once done click close to exit the VB screen.
NOTE: remove the text "VB" at the of each result string such as Value = "Batch 1 VB". I left mine in to show the difference between the two types again.
At print time you should get something like this with the VB field shown in Blue.
Fixed set to change at 6 and 10 whilst variable as shown in the two fields at the bottom of the labels, 4 and 9 in this instance
0
Please sign in to leave a comment.
Comments
1 comment