使用cups+mysql打印工作统计?

发布于 2024-10-08 06:28:56 字数 323 浏览 0 评论 0原文

我想设置一台连接到物理打印机的服务器。该服务器托管一个站点,允许用户远程登录并从其系统发送打印作业,或者首先将其上传到服务器,然后服务器在本地打印它,主机是linux机器,使用cups进行打印。该网站需要以下功能: -

  1. 显示每个用户的打印统计信息和打印的页数(可能使用 mysql)

  2. 与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 : -

  1. display the printing stats for each user and amount of pages printed(maybe use mysql)

  2. 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

等你爱我 2024-10-15 06:28:56

已经有一个成熟的 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).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文