> 喔喔,原來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執行檔的位置
>

相关文章:

  • 2021-10-12
  • 2021-12-12
  • 2021-06-12
  • 2022-12-23
  • 2022-12-23
  • 2021-08-31
  • 2021-06-07
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-10-12
  • 2021-10-18
  • 2022-12-23
相关资源
相似解决方案