‎2013 Jul 03 3:12 PM
Hi All,
Can you please share your knowledge on this :
BARTENDER for Smartform for DATAMAX printer label printout.
Best Regards,
Koushik,
‎2013 Jul 04 3:14 AM
Hi WM,
I haven't worked on such requirement, found below links. Might be of some help to you.
http://scn.sap.com/thread/1438359
http://www.erpgreat.com/sapscripts/sample-sapscripts-label-printing-program.htm
http://scn.sap.com/thread/575959
http://scn.sap.com/thread/1412877
Regards,
DN
‎2013 Jul 04 6:44 AM
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.
‎2013 Jul 04 1:18 PM