计算机科学与应用

Vol.5 No.9 (September 2015)

一种基于CUPS的打印控制和管理方法
A Print Control and Manage Method Based on CUPS

 

作者:

万波 , 王义峰 , 刘刚 , 王泉 :西安电子科技大学计算机学院,陕西 西安

 

关键词:

CUPS虚拟打印机打印控制和管理CUPS Virtual Printer Print Control and Manage

 

摘要:

本文给出了一种基于CUPS (Common Unix Printing System,通用Unix打印系统)的打印控制和管理方法。该方法首先设计并安装一个基于CUPS架构的虚拟打印机驱动,并通过CUPS配置虚拟打印机和物理打印机的访问控制,使得用户只能访问虚拟打印机。当用户从虚拟打印机发起打印请求时,在虚拟打印机驱动内产生打印记录并将管理信息嵌入到作业的每个页面。最后将嵌入管理信息后的打印内容发送给用户指定的物理打印机完成输出。该方法通过对物理打印机的访问控制实现打印控制,并通过存储打印记录和在打印页面上嵌入管理信息实现打印管理。由于该方法建立在CUPS架构上,因此适用于所有使用CUPS架构的操作系统,包括Unix系统、Linux操作系统、国产操作系统以及Mac OS X操作系统。

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.

文章引用:

万波 , 王义峰 , 刘刚 , 王泉 (2015) 一种基于CUPS的打印控制和管理方法。 计算机科学与应用, 5, 313-321. doi: 10.12677/CSA.2015.59039

 

参考文献

分享
Top