Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Bartender for Smartform

Former Member
0 Likes
1,196

Hi All,

Can you please share your knowledge on this :

BARTENDER for Smartform for DATAMAX printer label printout.

Best Regards,

Koushik,

3 REPLIES 3
Read only

Former Member
0 Likes
644
Read only

rosenberg_eitan
Active Contributor
0 Likes
644

Hi,

I have recently develop a program that integrate with BarTender.

In my case the design of the label needs to be done by the end user.

The solution was to implement the "Commander" which is part of the Automation Edition of BarTender.

From the BarTender help:

"Commander is a software utility, available with the Automation Edition of BarTender,
that enables you to perform automatic printing using BarTender in situations where using
command line or ActiveX automation is either not possible or not cost-effective.
Commander can run as an application or as a Windows service."

The commander is running a task that intercept new files created in a given folder.

The abap program write two files:

- A trigger file that contain instruction for the BarTender:

Sample:

%BTW% /AF="\\<your_lable_path><lable_name>.btw"

/PRN="xxxx" /PD /D="\\<your_data_path>\<data_file_name>" /DD /Close

- A data file that contain data for the BarTender:

This is a tab separator file with the first line contain a label.

Sample:

Copies  Delivery material_number material_description bar_code_1
   5    11111111 xxxxxxxxxxxxxxX vvvvvvvvvvvvvvvvvvvv bbbbbbbbbb
  
Each time the abap program write those files the file name is different,

In my case it is delivery and label code.

Bar_0187133023_700830_data.txt
Bar_0187133023_700830_trig.txt

In this sample the <data_file_name> in the trigger file is Bar_0187133023_700830_data.txt.

Regards.
  
  

Read only

Former Member
0 Likes
644

Thanks guys for the replies..