{
Btapp=new BarTender. Application ();
Btformat=btapp. Formats. Open (@ "D: \ tools \ test1. BTW, false," ");
Btformat. PrintSetup. NumberSerializedLabels=2;//set copies
Btformat. SetNamedSubStringValue (" PO ", this. The texPO. Text. The Trim ());//pass template variables to the bartender
Btformat. SetNamedSubStringValue (" Description ", this.com Description. Text. The Trim ());
Btformat. PrintOut (true, false);//the second parameter Settings are out of print properties;
BtFormat. Close (BarTender. BtSaveOptions. BtDoNotSaveChanges);//exits whether save the tag
Btapp. Quit (BarTender. BtSaveOptions. BtSaveChanges);//exits synchronous exit the bartender process
}
CodePudding user response:
Why use BT, use is easy to use printing software, more convenientCodePudding user response:
Printing, the screen will show a dynamic icon (printers, paper a flying), the dynamic use animation icon, you can use the system to print, take a look at the show, very lovely,