首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > i-v-p-cups

i-v-p-cups

  • 资源大小:2.83 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签:

资 源 简 介

CUPS backends are known to be a good way to add functionality to printer dialogues. An example is CUPS-PDF backend that allows a user to print to pdf file from any application. The problem is that CUPS does not allow its backends to be interactive. So it is difficult to ask user where to save the output pdf file. This project is an attempt to solve the problem. The approach is as follows: new CUPS backend (ps-vprinter) prints to a ps file and place a semaphore file with the name of the ps file in a directory. A daemon which is run by a user regularly checks the semaphore file (located in tmpfs so it does not disturb hard disk) and invoke interactive virtual printers for further post-processing driven by user through dialogues. Four virtual printers can be defined in cups: interactive printer spooler gtklp and pseudo-printers for printing to pdf, djvu, and ps files. For pdf and djvu pseudo-printers when choosing an existing file for saving, it is possible to add conve
VIP VIP
0.189027s