社区
其它技术问题
帖子详情
有没有办法获取网口打印机打印内容
rophie
2014-05-07 05:40:54
现在有个网口的打印机,怎么获取打印内容呢。
现在做的是用WinPcap拦截tcp和端口的数据,但是好像是二进制数据,不知道怎么分析啊
...全文
313
2
打赏
收藏
有没有办法获取网口打印机打印内容
现在有个网口的打印机,怎么获取打印内容呢。 现在做的是用WinPcap拦截tcp和端口的数据,但是好像是二进制数据,不知道怎么分析啊
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
2 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
rophie
2014-05-07
打赏
举报
回复
也可以在有打印机的电脑上装软件来监控的,有很多收费的监控软件,不知道是怎么实现的
赵4老师
2014-05-07
打赏
举报
回复
仅供参考 LocalMon: Sample Port Monitor Server DLL [This is preliminary documentation and subject to change.] SUMMARY A port monitor DLL is a user-mode DLL that is responsible for providing a communications path between the user-mode print spooler and the kernel-mode port drivers that access I/O port hardware. Please refer to the Windows® DDK documentation for further information about print monitors. This sample works on both x86 and Alpha platforms and the code is 64-bit compliant. BUILDING THE SAMPLE The code must be built using the build environment shipped with the DDK. Microsoft® Visual C® must be present on the machine for the sample to build properly, as build will use some header files. Also, the SDK and the DDK must be installed. To build the sample, run build from the src\print\monitors\localmon directory. The DLL will be placed in the appropriate platform directory (either i386 or Alpha). To install a port monitor, an INF file called Monitor.inf is needed. This INF file is based on Printmon.inf, the default INF file for installing port monitors. A functional Monitor.inf file is provided. However, in order to adapt it to the user's needs, it will be necessary to make changes in certain designated places tagged "User Changes." Examples of these changes are: changing the source media description or adding a help file to the monitor. Once built, the sample will produce four binaries: DDKLocalmon.dll, DDKLocalmon.lib (an export lib), DDKLocalmon.exp, and, if the sample is built in a checked environment, DDKLocalmon.pdb. Before installing this sample monitor, the user needs to build src\print\localui, because DDKLocalui.dll provides the UI for DDKLocalmon and they are installed together. CODE TOUR File Manifest File Description Config.c Handles spooler entry points for adding, deleting, and configuring localmon ports Dialogs.c Source module that implements dialog boxes Dialogs.h Header for DIALOGS.C Lmon.h Header that declares PORT_INFO_FF structure Irda.c IRDA printing support in localmon Irda.h Header for IRDA Local.h Header that declares debug functions Localmon.c Source module that contains the DLL entry point Localmon.def File that lists the exported functions Localmon.prf Resource file for the dialogs Localmon.h Header for global declarations and function prototypes Localmon.rc Resource file for the module Makefile Generic file for building the code sample Precomp.h Generic header Localmon.htm Documentation for this sample (this file) Resource.rcv Resource version file Resource.h Resource include file Setlink.c Utility to display or change the value of a symbolic link Sources Generic file for building the code sample Spltypes.h Header for Winspool.c Util.c Source module for support routines Winspool.c Implements the spooler supported APIs for printing Xcv.c Interface for calling print spooler's XcvData (transceive data) functions. This is the means by which a port monitor UI DLL communicates with its associated port monitor server DLL. Top of page © 1999 Microsoft Corporation
易语言源码服装箱包英语词汇通V2.7
易语言源码服装箱包英语词汇通 V2.7
2026年初中中考英语全真模拟试卷(全国通用·含答案解析) (2).doc
2026年初中中考英语全真模拟试卷(全国通用·含答案解析) (2).doc
交通银行交易流水(申请时间2026年06月08日20时52分04秒).zip
交通银行交易流水(申请时间2026年06月08日20时52分04秒).zip
高校技术转移办公室人员如何借助区域科技创新数智大脑提升成果转化效率?.docx
科易网基于40亿+科创知识图谱数据库,深度探索AI技术在技术转移、成果转化、技术经纪、知识产权、产业创新、科技招商等垂直领域的多样化应用场景,研究科技创新领域的AI+数智化解决方案,推动科技创新与产业创新智能化发展。
数据结构实验二题目单链表基本操作源程序
代码下载链接: https://pan.quark.cn/s/a4b39357ea24 Books-Management-System C语言期末大作业——图书信息管理系统(C语言,单链表) 题目
内容
========== 1.系统名称 ------- 六、图书信息管理程序 2.基本要求 ------- 使用链表保存图书信息,每个节点要求包含图书的编号、书名、作者、购买日期和价格信息; 可以对当前图书数据库进行增加、删除操作,并实现按图书编号进行查询; 系统完成后应实现类似下图所示界面; 完成
内容
========== 1.基本任务 ----------- 使用链表保存图书信息: 图书编号; 图书名; 图书作者; 图书库存数量; 图书价格; 可对链表进行CRUD操作: 有Shell界面 2.拓展任务 ----------- 使用Git管理代码; 推送到上开源: 将代码分模块开发; 查询功能扩展根据书名和作者查询 有一定的异常管理机制; 设计
内容
========== 1.代码结构设计 --------------- 2.系统模块设计 --------------- 3.数据结构设计 ---------------- 3.1.链表: 结构体标志:Node 结构体声明变量:Book 结构体成员列表: 结构体代码: 4.算法设计 ------------ 4.1.冒泡排序法: 时间复杂度:$$O\left( n^{2} \right)$$; 算法原理: 比较相邻的元素。 如果第一个比第二个大,就交换他们两个; 对每一对相邻元素做同样的工作,从开始第一对到结尾的最后一对。 在这一点,最后的元素应该会是最大的数; 针对所有的元素重复以上的步骤,除了最后一个; 持续每次对越来越少...
其它技术问题
3,881
社区成员
9,044
社区内容
发帖
与我相关
我的任务
其它技术问题
C/C++ 其它技术问题
复制链接
扫一扫
分享
社区描述
C/C++ 其它技术问题
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章