> 喔喔,原來Bartender /f filename /P /X 可以列印喔!?
> 嗯嗯那我試試看先~謝謝~
>>給你段程式參考一下
>> Process p = new Process();
>> p.StartInfo.FileName = @'C:\Program Files\Seagull\BarTender UltraLite Plus\8.0\bartend.exe';
>> p.StartInfo.Arguments = '/F=' + '\'c:\123.btw\' + ' /P /X';
>> p.StartInfo.UseShellExecute = false;
>> p.StartInfo.RedirectStandardInput = true;
>> p.StartInfo.RedirectStandardOutput = true;
>> p.StartInfo.RedirectStandardError = true;
>> p.StartInfo.CreateNoWindow = true;
>> p.Start();
>>
>>我用的是8.0
>>但參數下法是一樣的
>>p.StartInfo.FileName 是設定Bartender執行檔的位置
>
posted on 2011-08-24 21:24  qqhfeng16  阅读(1282)  评论(0编辑  收藏  举报