c#获取打印机当前打印状态完整源码

上传者: yangjueye | 上传时间: 2019-12-21 22:08:39 | 文件大小: 284KB | 文件类型: zip
公司业务需要,编写的可以获取当前打印机状态程序,例如缺纸,缺墨,暂停等,vs2103开发,首先获取本机所有打印机,然后指定特定打印机获取状态。

文件下载

资源详情

[{"title":"( 47 个子文件 284KB ) c#获取打印机当前打印状态完整源码","children":[{"title":"ClassLibrary5","children":[{"title":"ClassLibrary5","children":[{"title":"ClassLibrary5.csproj <span style='color:#111;'> 4.68KB </span>","children":null,"spread":false},{"title":"ClassLibrary5.csproj.user <span style='color:#111;'> 453B </span>","children":null,"spread":false},{"title":"app.config <span style='color:#111;'> 161B </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"Release","children":[{"title":"TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"ClassLibrary5.exe <span style='color:#111;'> 9.50KB </span>","children":null,"spread":false},{"title":"ClassLibrary5.exe.manifest <span style='color:#111;'> 3.37KB </span>","children":null,"spread":false},{"title":"ClassLibrary5.csprojResolveAssemblyReference.cache <span style='color:#111;'> 3.10KB </span>","children":null,"spread":false},{"title":"ClassLibrary5.application <span style='color:#111;'> 1.81KB </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 6.67KB </span>","children":null,"spread":false},{"title":"ClassLibrary5.csproj.FileListAbsolute.txt <span style='color:#111;'> 964B </span>","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false},{"title":"ClassLibrary5.pdb <span style='color:#111;'> 15.50KB </span>","children":null,"spread":false},{"title":"TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":false},{"title":"Debug","children":[{"title":"TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"ClassLibrary5.exe <span style='color:#111;'> 9.50KB </span>","children":null,"spread":false},{"title":"ClassLibrary5.csprojResolveAssemblyReference.cache <span style='color:#111;'> 1.86KB </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 6.54KB </span>","children":null,"spread":false},{"title":"ClassLibrary5.csproj.FileListAbsolute.txt <span style='color:#111;'> 562B </span>","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false},{"title":"ClassLibrary5.pdb <span style='color:#111;'> 15.50KB </span>","children":null,"spread":false},{"title":"TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"bin","children":[{"title":"Release","children":[{"title":"ClassLibrary5.exe <span style='color:#111;'> 9.50KB </span>","children":null,"spread":false},{"title":"ClassLibrary5.exe.manifest <span style='color:#111;'> 3.37KB </span>","children":null,"spread":false},{"title":"ClassLibrary5.application <span style='color:#111;'> 1.81KB </span>","children":null,"spread":false},{"title":"ClassLibrary5.vshost.exe.manifest <span style='color:#111;'> 490B </span>","children":null,"spread":false},{"title":"ClassLibrary5.vshost.exe <span style='color:#111;'> 23.65KB </span>","children":null,"spread":false},{"title":"app.publish","children":[{"title":"publish.htm <span style='color:#111;'> 8.94KB </span>","children":null,"spread":false},{"title":"setup.exe <span style='color:#111;'> 424.99KB </span>","children":null,"spread":false},{"title":"Application Files","children":[{"title":"ClassLibrary5_1_0_0_0","children":[{"title":"ClassLibrary5.exe.manifest <span style='color:#111;'> 7.07KB </span>","children":null,"spread":false},{"title":"ClassLibrary5.exe.deploy <span style='color:#111;'> 9.50KB </span>","children":null,"spread":false},{"title":"ClassLibrary5.exe.config.deploy <span style='color:#111;'> 161B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"ClassLibrary5.application <span style='color:#111;'> 5.58KB </span>","children":null,"spread":false}],"spread":true},{"title":"ClassLibrary5.vshost.exe.config <span style='color:#111;'> 161B </span>","children":null,"spread":false},{"title":"ClassLibrary5.pdb <span style='color:#111;'> 15.50KB </span>","children":null,"spread":false},{"title":"ClassLibrary5.exe.config <span style='color:#111;'> 161B </span>","children":null,"spread":false}],"spread":true},{"title":"Debug","children":[{"title":"ClassLibrary5.exe <span style='color:#111;'> 9.50KB </span>","children":null,"spread":false},{"title":"ClassLibrary5.vshost.exe.manifest <span style='color:#111;'> 490B </span>","children":null,"spread":false},{"title":"ClassLibrary5.vshost.exe <span style='color:#111;'> 22.17KB </span>","children":null,"spread":false},{"title":"ClassLibrary5.vshost.exe.config <span style='color:#111;'> 134B </span>","children":null,"spread":false},{"title":"ClassLibrary5.pdb <span style='color:#111;'> 15.50KB </span>","children":null,"spread":false},{"title":"ClassLibrary5.exe.config <span style='color:#111;'> 134B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"ClassLibrary5_TemporaryKey.pfx <span style='color:#111;'> 1.68KB </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.32KB </span>","children":null,"spread":false}],"spread":true},{"title":"PrinterHelper.cs <span style='color:#111;'> 9.13KB </span>","children":null,"spread":false}],"spread":true},{"title":"ClassLibrary5.sln <span style='color:#111;'> 1008B </span>","children":null,"spread":false},{"title":"ClassLibrary5.v12.suo <span style='color:#111;'> 26.50KB </span>","children":null,"spread":false},{"title":"PrinterHelper.cs <span style='color:#111;'> 73B </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

  • 秋水锁钥 :
    楼主,这个程序每次运行,获得的打印结果都是准备就绪阿,我就是想知道缺纸这类的情况,我测试的时候,还是一直准备就绪,,是不是可能是打印机的问题,不符合你的代码
    2019-10-25
  • wangke4176 :
    不好,下载的文件不能使用。
    2019-06-13

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明