New To All This Need Some Guidence フォローする

0
Avatar
Legacy Poster

Hello Everyone,
I am new to Bartender and new to this forum. I have done some searching. But I am kind of stabbing in the dark.
 
I have a lable that I have put together, I need to (at print time) tell bartender how many packages there are for an order say '3'
 
I need the lable to pull the information from the DB just like it is now. But with the additional field of 1 of 3 on the first label, 2 of 3, 3 of 3.

 

all the lable information will be the same for each lable with the exception of this field.

 

It would also be nice, but not necessary, if I could also have this number of packages control the number of copies BT prints out.


 
I know that everyone has seen this. But I am at a loss as to what to "call" this. Counting? Serialization? Not sure what to look for!
 
Also, our copy of Bartender is really old I guess. Its V9.10 so I am not even sure if its capable of doing this.
 
Any and all help i will greatly appreciate...and so will my boss!
 
thanks!
Bill McFarland

6 コメント

0
Avatar
Legacy Poster
コメントアクション Permalink

0
Avatar
Domingo Rodriguez
モデレータ
コメントアクション Permalink

If you're wishing to datasource the number of serial numbers to print for each database record, you will access the "File > Print" dialog and now click on the "Options..." button which is on the same line as the number of serialized copies for your labels. Now, you will need to set the serial copies to get the quantity from data source, choose the "Data Source" tab and now create a "Prompt" via the "Data Source > More Options..." dialog. At print time, this will be the number of serialized copies to be printed per database record.

 

In your VBScript (for creating your X of Y number), the Y number will be the total number of serialized copies, which in terms of VBScripting is as follows:

 

value = Format.NumberSerializedLabels 

0
Avatar
Legacy Poster
コメントアクション Permalink

I got you up until this point. Now I am not afraid of the VB stuff. I am a old time GW-Basic programmer from back in the 80's! That being said, I have not work at all with VB. I believe I can figure it out/.

 

Is there a repository of sample scripts that may have an example of this?

 

The actual creating of the y of x ???

 

Thanks for your help I do appreciate it. 

Bill 

 

In your VBScript (for creating your X of Y number), the Y number will be the total number of serialized copies, which in terms of VBScripting is as follows:

 

 

value = Format.NumberSerializedLabels 

0
Avatar
Legacy Poster
コメントアクション Permalink

Hello Domingo, 

I did some more searching now I had a frame of reference and have found the sample code that comes with bartender.

 

I followed your initial instructions, I get a prompt at printing for the total number of packages just like I want. But I can not make it actually "print" the 1 of 3, 2 of 3 etc... all I get is the sample text.

 

What did I miss??

 

any help or pointers as always greatly appreciated...

thanks

bill12780

0
Avatar
Legacy Poster
コメントアクション Permalink

Hello again, 

 

Thanks for your help...your nudge in the right direction got me going...I figured it out. I don't want to say that I understand how I did it. But its working...So I am not gonna mess with it!  :)

 

thanks again..

Bill12780

0
Avatar
Domingo Rodriguez
モデレータ
コメントアクション Permalink

Hello Bill,

 

Good to know that you got it working. If you wish to be 100% sure if what you did is correct, perhaps attach your BarTender document and sample database file by using the "More Reply Options" button in your reply.

ログインしてコメントを残してください。