• 大小: 0.13M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2020-12-14
  • 语言: C#
  • 标签:

资源简介

实现实时监听局域网里面的打印机状态

资源截图

代码片段和文件信息

using App.Monitor;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Printing;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace App.Printer.Monitor.Solution
{
    public partial class MainForm : Form
    {
        PrintQueueMonitor pqm = null;
        public MainForm()
        {
            InitializeComponent();
        }
        /// 
        /// 窗口加载
        /// 

        /// 
        /// 
        private void MainForm_Load(object sender EventArgs e)
        {
            PrintServer ps = new PrintServer();
            foreach (PrintQ

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件        187  2019-03-12 14:05  App.Printer.Monitor.Solution\App.Printer.Monitor.Solution\App.config

     文件       4152  2019-03-12 14:35  App.Printer.Monitor.Solution\App.Printer.Monitor.Solution\App.Printer.Monitor.Solution.csproj

     文件       9728  2019-03-12 14:23  App.Printer.Monitor.Solution\App.Printer.Monitor.Solution\bin\Debug\App.Printer.Monitor.Solution.exe

     文件        187  2019-03-12 14:05  App.Printer.Monitor.Solution\App.Printer.Monitor.Solution\bin\Debug\App.Printer.Monitor.Solution.exe.config

     文件      22016  2019-03-12 14:23  App.Printer.Monitor.Solution\App.Printer.Monitor.Solution\bin\Debug\App.Printer.Monitor.Solution.pdb

     文件        187  2019-03-12 14:05  App.Printer.Monitor.Solution\App.Printer.Monitor.Solution\bin\Debug\App.Printer.Monitor.Solution.vshost.exe.config

     文件        490  2013-03-18 17:00  App.Printer.Monitor.Solution\App.Printer.Monitor.Solution\bin\Debug\App.Printer.Monitor.Solution.vshost.exe.manifest

     文件      22016  2019-03-12 14:23  App.Printer.Monitor.Solution\App.Printer.Monitor.Solution\bin\Debug\App.PrintQueueMonitor.dll

     文件      22016  2019-03-12 14:23  App.Printer.Monitor.Solution\App.Printer.Monitor.Solution\bin\Debug\App.PrintQueueMonitor.pdb

     文件       3377  2019-03-12 16:23  App.Printer.Monitor.Solution\App.Printer.Monitor.Solution\MainForm.cs

     文件       5170  2019-03-12 14:33  App.Printer.Monitor.Solution\App.Printer.Monitor.Solution\MainForm.Designer.cs

     文件       5817  2019-03-12 14:33  App.Printer.Monitor.Solution\App.Printer.Monitor.Solution\MainForm.resx

     文件       1966  2019-03-12 16:36  App.Printer.Monitor.Solution\App.Printer.Monitor.Solution\obj\Debug\App.Printer.Monitor.Solution.csproj.FileListAbsolute.txt

     文件        980  2019-03-12 14:35  App.Printer.Monitor.Solution\App.Printer.Monitor.Solution\obj\Debug\App.Printer.Monitor.Solution.csproj.GenerateResource.Cache

     文件       6983  2019-03-12 16:30  App.Printer.Monitor.Solution\App.Printer.Monitor.Solution\obj\Debug\App.Printer.Monitor.Solution.csprojResolveAssemblyReference.cache

     文件      12288  2019-03-12 16:30  App.Printer.Monitor.Solution\App.Printer.Monitor.Solution\obj\Debug\App.Printer.Monitor.Solution.exe

     文件        180  2019-03-12 16:30  App.Printer.Monitor.Solution\App.Printer.Monitor.Solution\obj\Debug\App.Printer.Monitor.Solution.MainForm.resources

     文件      28160  2019-03-12 16:30  App.Printer.Monitor.Solution\App.Printer.Monitor.Solution\obj\Debug\App.Printer.Monitor.Solution.pdb

     文件        180  2019-03-12 16:30  App.Printer.Monitor.Solution\App.Printer.Monitor.Solution\obj\Debug\App.Printer.Monitor.Solution.Properties.Resources.resources

     文件       1417  2019-03-12 15:17  App.Printer.Monitor.Solution\App.Printer.Monitor.Solution\obj\Debug\DesignTimeResolveAssemblyReferences.cache

     文件       7304  2019-03-12 14:26  App.Printer.Monitor.Solution\App.Printer.Monitor.Solution\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache

     文件          0  2019-03-12 14:05  App.Printer.Monitor.Solution\App.Printer.Monitor.Solution\obj\Debug\TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs

     文件          0  2019-03-12 14:05  App.Printer.Monitor.Solution\App.Printer.Monitor.Solution\obj\Debug\TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs

     文件          0  2019-03-12 14:05  App.Printer.Monitor.Solution\App.Printer.Monitor.Solution\obj\Debug\TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs

     文件        543  2019-03-12 14:14  App.Printer.Monitor.Solution\App.Printer.Monitor.Solution\Program.cs

     文件       1398  2019-03-12 14:05  App.Printer.Monitor.Solution\App.Printer.Monitor.Solution\Properties\AssemblyInfo.cs

     文件       2908  2019-03-12 14:05  App.Printer.Monitor.Solution\App.Printer.Monitor.Solution\Properties\Resources.Designer.cs

     文件       5612  2019-03-12 14:05  App.Printer.Monitor.Solution\App.Printer.Monitor.Solution\Properties\Resources.resx

     文件       1115  2019-03-12 14:05  App.Printer.Monitor.Solution\App.Printer.Monitor.Solution\Properties\Settings.Designer.cs

     文件        249  2019-03-12 14:05  App.Printer.Monitor.Solution\App.Printer.Monitor.Solution\Properties\Settings.settings

............此处省略45个文件信息

评论

共有 条评论

相关资源