You barely answered LZ's question. His project is built on version 2.0, so it's irrelevant to discuss version issue. It appears to me that you have no programming experience in real world and hence you've no idea as to how to deal with such problem.
我只会用DOS命令清除: echo off color a echo 快速清除打印?列 net stop spooler echo y|del %windir%\system32\spool\PRINTERS\*.* net start spooler pause把这段DOS命令编成一个bat文件,然后让C#调用不就好了吗?
You barely answered LZ's question. His project is built on version 2.0, so it's irrelevant to discuss version issue. It appears to me that you have no programming experience in real world and hence you've no idea as to how to deal with such problem.
echo off
color a
echo 快速清除打印?列
net stop spooler
echo y|del %windir%\system32\spool\PRINTERS\*.*
net start spooler
pause把这段DOS命令编成一个bat文件,然后让C#调用不就好了吗?