首页 | 本学科首页   官方微博 | 高级检索  
     

Windows NT环境下连续打印的研究与实现
引用本文:孙长成,李伟,张有光. Windows NT环境下连续打印的研究与实现[J]. 计算机工程与设计, 2006, 27(22): 4294-4296
作者姓名:孙长成  李伟  张有光
作者单位:北京航空航天大学,电子信息工程学院,北京,100083;北京航空航天大学,电子信息工程学院,北京,100083;北京航空航天大学,电子信息工程学院,北京,100083
摘    要:为解决在Windows NT环境下连续打印问题,通过分析TURBOC中biosprint函数代码、DOS操作系统中17H中断的代码得到DOS操作系统的打印处理流程以及打印机并口操作原理,进而用Windows NT驱动程序进行相应的移植,通过驱动实现控制打印机端口读写,并给出接口函数调用方法,从而解决了原有DOS打印程序的Windows操作系统移植问题以及连续打印问题,同时编译后的程序有良好的向下兼容性,能够精确模拟DOS17H的打印中断调用,为DOS环境下打印程序的Windows程序移植提供了基础。

关 键 词:Windows NT  DOS  连续打印  WDM驱动程序  并行端口
文章编号:1000-7024(2006)22-4294-03
收稿时间:2005-09-27
修稿时间:2005-09-27

Research and implementation of continuous print based on Windows NT environment
SUN Chang-cheng,LI Wei,ZHANG You-guang. Research and implementation of continuous print based on Windows NT environment[J]. Computer Engineering and Design, 2006, 27(22): 4294-4296
Authors:SUN Chang-cheng  LI Wei  ZHANG You-guang
Affiliation:Institute of Electronic Engineering, Beihang University, Beijing 100083, China
Abstract:By analyzing the assembly codes of "boisprint" in TURBO C and 17H interruption in DOS system,a way to transplant them into a Windows NT driver is found ont,consequently the problems is solved,which transplantation printing programs from DOS to Win-dows and continuous print.The published version has a good compatibility downside,which precisely emulates the DOS 17H interrupt invoking and lays a foundation about the transplantation from a DOS printing program to its Windows pattern.
Keywords:Windows NT  DOS
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号