一种基于CUPS的打印控制和管理方法
A Print Control and Manage Method Based on CUPS
DOI: 10.12677/CSA.2015.59039, PDF, HTML, XML,  被引量 下载: 2,539  浏览: 7,063  科研立项经费支持
作者: 万波, 王义峰, 刘刚, 王泉:西安电子科技大学计算机学院,陕西 西安
关键词: CUPS虚拟打印机打印控制和管理CUPS Virtual Printer Print Control and Manage
摘要: 本文给出了一种基于CUPS (Common Unix Printing System,通用Unix打印系统)的打印控制和管理方法。该方法首先设计并安装一个基于CUPS架构的虚拟打印机驱动,并通过CUPS配置虚拟打印机和物理打印机的访问控制,使得用户只能访问虚拟打印机。当用户从虚拟打印机发起打印请求时,在虚拟打印机驱动内产生打印记录并将管理信息嵌入到作业的每个页面。最后将嵌入管理信息后的打印内容发送给用户指定的物理打印机完成输出。该方法通过对物理打印机的访问控制实现打印控制,并通过存储打印记录和在打印页面上嵌入管理信息实现打印管理。由于该方法建立在CUPS架构上,因此适用于所有使用CUPS架构的操作系统,包括Unix系统、Linux操作系统、国产操作系统以及Mac OS X操作系统。
Abstract: A print control and manage method based on CUPS (Common Unix Printing System) is presented in this paper. A virtual printer driver based on CUPS is designed and installed at first, and then the access control of physical printer and virtual printer is configured through CUPS, which makes the user can access the virtual printer only. When user executes print request from virtual printer, print record is generated and the management info is embedded into each page of print job. At last, the print job embedded management information is sent to the physical printer selected by user to complete the output. The presented method implements print control through configuring the access of physical printer and implements the print management through saving print record and embedding management information into each print page. As the method is based on CUPS, it is suitable for all operating systems which using CUPS such as UNIX, Linux, Domestic operating system and Mac OS X.
文章引用:万波, 王义峰, 刘刚, 王泉. 一种基于CUPS的打印控制和管理方法[J]. 计算机科学与应用, 2015, 5(9): 313-321. http://dx.doi.org/10.12677/CSA.2015.59039

参考文献

[1] 黎伶锋, 郝东白, 张诚, 黄皓 (2009) 打印监控审计技术研究. 计算机工程与设计, 2, 484-486.
[2] 刘慧 (2008) 内网监管系统中打印机监控模块的设计与实现. 硕士论文, 电子科技大学, 成都.
[3] 北京大学, 北大方正 (2012) 一种文档打印管控和文档溯源追踪方法和系统. 中国专利: CN102541482A.
[4] Sweet, M. (1999) A Bright New Future for Printing on Linux. Linux Today.
[5] CUPS 2.1. Apple Inc. http://www.cups.org
[6] PostScript Language Reference. 3rd Edition, Adobe Systems Incorporated, San Jose.
[7] Nevill-Manning, C.G., Reed, T. and Witten, I.H. (1998) Extracting Text from PostScript. Software: Practice and Experience, 28, 481-491.
http://dx.doi.org/10.1002/(sici)1097-024x(19980425)28:5<481::aid-spe163>3.0.co;2-p