Creating A Separator Label S’abonner

0
Avatar
Legacy Poster

I would like to create a separator label that prints every X labels.  For example, when printing 1,000 labels a separator label prints after every 100 labels.  This will allow me to easily break the 1,000 labels into 10 groups of 100. 

 

I know I can create a second template and activate it with the VB Scripting function, but I do not know the VB code.  I'm hoping this is fairly basic for someone that knows VB and I can simply cut and paste the code.

 

I am using version 10.0.

4 commentaires

0
Avatar
Legacy Poster
Actions pour les commentaires Permalien

Are your labels sequential or otherwise variable? Or are they all the same label? This changes the "easiest" way to do this in 10.0 I think,

0
Avatar
Legacy Poster
Actions pour les commentaires Permalien

Each label in a print job contains the same information.  There are variable fields in the label template, so job to job the information changes.

0
Avatar
Ian Cummings
Modérateur
Actions pour les commentaires Permalien

How is the value X derived for when you want the separator label to print?

 

Note that a VB script expression where you make a Modulus calculation of X on the number of labels printed, to check if equals to zero, will help you evaluate if the interval has been reached.

 

In BarTender v10.1 you could create a non-printing data source that changes value at the interval you want.  If there is one label per page then you could use the "Print Job Field>Page Number" for this.  Then in the "Page Setup" dialog under the "Templates" tab you would create an a template that prints when the non-printing data source has changed to indicate a separator label.

0
Avatar
Legacy Poster
Actions pour les commentaires Permalien

I have Bartender v10.0, so I'm not sure if what you stated applies to me.  The value X will vary from job to job.  I deally there is a field to enter the value.  Otherwise I can go into the code and change the value.

 

Someone else has offered e possible solution based on your modulus calculation suggestion.  I will check to see if it works.

 

Thanks for your help.  

Vous devez vous connecter pour laisser un commentaire.