Remove the #'s as I ripped this from one of my xpos.  In the label we
have controls that match the names below like STCompany. Hope this
helps.


#void clicked()
                #{
                #
                #    Com comBTApp;
                #    Com comBTFormat;
                #    Com comBTFormats;
                #    com comBTSubString;
                #    int i;

  // Start the Bar Tender application
                #    comBTApp = new Com("BarTender.Application");
                #    comBTFormats = comBTApp.Formats();
                #    //Open the Demo.btw format file
                #    comBTFormat =
comBTFormats.Open(FileName.text(),true,"");
                #    comBTSubString =
comBTFormat.NamedSubStrings("STCompany");
                #    comBTSubString.value(STCompany.text());
                #    comBTSubString =
comBTFormat.NamedSubStrings("STAddr1");
                #    comBTSubString.value(STAddr1.text());
                #    comBTSubString =
comBTFormat.NamedSubStrings("STAddr2");
                #    comBTSubString.value(STAddr2.text());
                #    comBTSubString =
comBTFormat.NamedSubStrings("STCity");
                #    comBTSubString.value(STCity.text());
                #    comBTSubString =
comBTFormat.NamedSubStrings("STState");
                #    comBTSubString.value(STState.text());
                #    comBTSubString =
comBTFormat.NamedSubStrings("STZip");
                #    comBTSubString.value(STZip.text());
                #
                #    comBTSubString =
comBTFormat.NamedSubStrings("Supplier");
                #    comBTSubString.value(Supplier.text());
                #    comBTSubString =
comBTFormat.NamedSubStrings("CustPO");
                #    comBTSubString.value(CustPo.text());
                #    comBTSubString =
comBTFormat.NamedSubStrings("Release");
                #    comBTSubString.value(Release.text());
                #    comBTSubString =
comBTFormat.NamedSubStrings("RevLevel");
                #    comBTSubString.value(RevLevel.text());
                #
                #    comBTSubString =
comBTFormat.NamedSubStrings("PartNbr");
                #    comBTSubString.value(PartNbr.text());
                #    comBTSubString =
comBTFormat.NamedSubStrings("PartDesc");
                #    comBTSubString.value(PartDesc.text());
                #    comBTSubString =
comBTFormat.NamedSubStrings("Quantity");
                #
comBTSubString.value(int2str(str2int(Quantity.text())));
                #    comBTSubString =
comBTFormat.NamedSubStrings("PkgId");
                #    comBTSubString.value(PkgId.text());
                #    comBTSubString =
comBTFormat.NamedSubStrings("CustPartNbr");
                #    comBTSubString.value(CustPartNbr.text());
                #
                #
                #     //'Print the label
                #     for(i=1;i<=NumLabels.value(); i++)
                #         comBTFormat.PrintOut(false,false);
                #
                #
                #
                #     comBTApp.Quit(1);   // Quit, Don't save changes
                #
                #
                #}
-----Original Message-----
From: akash malohatra [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 08, 2004 1:30 AM
To: [EMAIL PROTECTED]
Subject: [development-axapta] label printing

Hi all,

Is there anyone used Bartender software for label
printing.

Can this will be integrated to Axapta through COM..

I will appriciate for any Info/examples.. on this...

thanks in Advance
Akash....


     
     
           
____________________________________________________________
Yahoo! Messenger - Communicate instantly..."Ping"
your friends today! Download Messenger Now
http://uk.messenger.yahoo.com/download/index.html





Yahoo! Groups Links







Yahoo! Groups Sponsor
ADVERTISEMENT
click here


Yahoo! Groups Links

Reply via email to