Design your label in bartender and use an ODBC connection to the tables you want to pull data from.
You can then send parameters through customization in vantage to bartender on launch. You can read the help and it will explain the parameters. Basically you setup a query promt in bartender and then pass the parameter from vantage. My query prompt is TagNumber in this case. You can hardcode a printer or input it based on user ID or machine if you would like. Our printers are setup as the userID
Here is an example:
Dim strPath As String = "C:\Progra~1\Seagull\BarTender\8.0\bartend.exe"
Dim TagNumber as String = UD01.dataview(UD01.Row)("Key1")
Dim Printer as String = UD01Form.Session.UserID
Dim strParam As String = "/F=V:\LGHV.btw /PRN= /P /X /?TagNumber="&TagNumber
Dim strParam2 As String = strParam.Insert(20,Printer)
Process.Start(strPath, strParam2)
You can then send parameters through customization in vantage to bartender on launch. You can read the help and it will explain the parameters. Basically you setup a query promt in bartender and then pass the parameter from vantage. My query prompt is TagNumber in this case. You can hardcode a printer or input it based on user ID or machine if you would like. Our printers are setup as the userID
Here is an example:
Dim strPath As String = "C:\Progra~1\Seagull\BarTender\8.0\bartend.exe"
Dim TagNumber as String = UD01.dataview(UD01.Row)("Key1")
Dim Printer as String = UD01Form.Session.UserID
Dim strParam As String = "/F=V:\LGHV.btw /PRN= /P /X /?TagNumber="&TagNumber
Dim strParam2 As String = strParam.Insert(20,Printer)
Process.Start(strPath, strParam2)
--- In vantage@yahoogroups.com, "CarlH" <carl.heeder@...> wrote:
>
> I'm a newbie to Bartender labels. We're on 8.03.409.
>
> I want to print finished goods labels either on releasing the FG job or on completion of the job. (We make to stock always). We can create the labels at the beginning of the job and keep them in the job traveler folder until the goods are produced or produce them once the job is completed.
>
> At first look, it seems as if I need a predefined Report Data Definition that I can copy and use. We already use MtlTags for printing crystal report tags for intermediate assemblies that are inventoried.
>
> I'll need info from the job, the part and the partlot to complete the label.
>
> First, I'm not sure about the RDD. Do I really need to copy and modify a pre-defined one?
>
> Second, I'm really not clear how I feed the data to Bartender so it prints on the label.
>
> What are your suggestions to build this label?
>