使用cups+mysql打印工作统计?
我想设置一台连接到物理打印机的服务器。该服务器托管一个站点,允许用户远程登录并从其系统发送打印作业,或者首先将其上传到服务器,然后服务器在本地打印它,主机是linux机器,使用cups进行打印。该网站需要以下功能: -
显示每个用户的打印统计信息和打印的页数(可能使用 mysql)
与cups交互以处理打印作业
我有php、mysql的基本知识,但对cups一无所知。
我该如何去做以及我应该寻找哪些关键字。现有的解决方案(例如 papercut 或 pykota)对于我的简单要求来说要么昂贵要么太复杂。
I want to set up a server connected to a physical printer.This server hosts a site to allow users to login and send print jobs from their system either remotely or by first uploading it to the server and the server printing it locally , the host is linux machine , uses cups to print. the website needs following features : -
display the printing stats for each user and amount of pages printed(maybe use mysql)
interact with cups for handling print jobs
I have basic knowledge of php,mysql but no idea about cups.
How do i go about it and what are the keywords i should be looking for . Existing solutions like papercut or pykota are either expensive or too complicated for my simple requirements.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
已经有一个成熟的 CUPS 工作统计软件:PyKota:用 Python 编写,在 GPL 下获得许可,其后端有相当多受支持的数据库应用程序(其中包括 MySQL,尽管他们建议使用 Postgres)。
There is a fully-fledged CUPS job accounting software already: PyKota: written in Python, licensed under GPL, with quite a few supported database apps in its backend (MySQL amongst them, though they recommend to use Postgres).