• 大小: 284KB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-05-16
  • 语言: C#
  • 标签: c#  打印机  状态  

资源简介

公司业务需要,编写的可以获取当前打印机状态程序,例如缺纸,缺墨,暂停等,vs2103开发,首先获取本机所有打印机,然后指定特定打印机获取状态。

资源截图

代码片段和文件信息

using System;

public class Class1
{
public Class1()
{
}
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2018-05-08 10:16  ClassLibrary5\
     目录           0  2018-05-08 15:26  ClassLibrary5\ClassLibrary5\
     文件        4797  2018-05-08 15:26  ClassLibrary5\ClassLibrary5\ClassLibrary5.csproj
     文件         453  2018-05-08 15:26  ClassLibrary5\ClassLibrary5\ClassLibrary5.csproj.user
     文件        1716  2018-05-08 15:26  ClassLibrary5\ClassLibrary5\ClassLibrary5_TemporaryKey.pfx
     文件        9346  2018-05-08 15:18  ClassLibrary5\ClassLibrary5\PrinterHelper.cs
     目录           0  2018-05-08 09:18  ClassLibrary5\ClassLibrary5\Properties\
     文件        1350  2018-05-08 09:18  ClassLibrary5\ClassLibrary5\Properties\AssemblyInfo.cs
     文件         161  2018-05-08 11:30  ClassLibrary5\ClassLibrary5\app.config
     目录           0  2018-05-08 10:17  ClassLibrary5\ClassLibrary5\bin\
     目录           0  2018-05-08 11:29  ClassLibrary5\ClassLibrary5\bin\Debug\
     文件        9728  2018-05-08 11:23  ClassLibrary5\ClassLibrary5\bin\Debug\ClassLibrary5.exe
     文件         134  2018-05-08 11:29  ClassLibrary5\ClassLibrary5\bin\Debug\ClassLibrary5.exe.config
     文件       15872  2018-05-08 11:23  ClassLibrary5\ClassLibrary5\bin\Debug\ClassLibrary5.pdb
     文件       22704  2018-05-08 11:29  ClassLibrary5\ClassLibrary5\bin\Debug\ClassLibrary5.vshost.exe
     文件         134  2018-05-08 11:29  ClassLibrary5\ClassLibrary5\bin\Debug\ClassLibrary5.vshost.exe.config
     文件         490  2017-09-29 21:43  ClassLibrary5\ClassLibrary5\bin\Debug\ClassLibrary5.vshost.exe.manifest
     目录           0  2018-05-08 15:26  ClassLibrary5\ClassLibrary5\bin\Release\
     文件        1849  2018-05-08 15:26  ClassLibrary5\ClassLibrary5\bin\Release\ClassLibrary5.application
     文件        9728  2018-05-08 15:26  ClassLibrary5\ClassLibrary5\bin\Release\ClassLibrary5.exe
     文件         161  2018-05-08 11:30  ClassLibrary5\ClassLibrary5\bin\Release\ClassLibrary5.exe.config
     文件        3452  2018-05-08 15:26  ClassLibrary5\ClassLibrary5\bin\Release\ClassLibrary5.exe.manifest
     文件       15872  2018-05-08 15:26  ClassLibrary5\ClassLibrary5\bin\Release\ClassLibrary5.pdb
     文件       24216  2018-05-08 15:20  ClassLibrary5\ClassLibrary5\bin\Release\ClassLibrary5.vshost.exe
     文件         161  2018-05-08 11:30  ClassLibrary5\ClassLibrary5\bin\Release\ClassLibrary5.vshost.exe.config
     文件         490  2017-09-29 21:43  ClassLibrary5\ClassLibrary5\bin\Release\ClassLibrary5.vshost.exe.manifest
     目录           0  2018-05-08 15:26  ClassLibrary5\ClassLibrary5\bin\Release\app.publish\
     目录           0  2018-05-08 15:26  ClassLibrary5\ClassLibrary5\bin\Release\app.publish\Application Files\
     目录           0  2018-05-08 15:26  ClassLibrary5\ClassLibrary5\bin\Release\app.publish\Application Files\ClassLibrary5_1_0_0_0\
     文件         161  2018-05-08 11:30  ClassLibrary5\ClassLibrary5\bin\Release\app.publish\Application Files\ClassLibrary5_1_0_0_0\ClassLibrary5.exe.config.deploy
     文件        9728  2018-05-08 15:26  ClassLibrary5\ClassLibrary5\bin\Release\app.publish\Application Files\ClassLibrary5_1_0_0_0\ClassLibrary5.exe.deploy
............此处省略30个文件信息

评论

共有 条评论