创建 PDF 文档

  原文在这里,但需要代理才能访问。简单记录下过程备用。

  1.安装 cups-pdf:

  sudo apt-get install cups-pdf

  2.编辑/etc/cups/cupsd.conf:

  将 RunAsUser Yes 更改为 RunAsUser No

  3.重启 cupsys:

  sudo /etc/init.d/cupsys restart

  4.添加新的打印机:

  到 System->Administration->Printing,新建打印机,第一步选择“Local Printer”和“PDF Printer”选项,第二步选择“Generic”,并在下面选择“Postscript Color Printer”。

  最后,简单执行 sudo chmod +s /usr/lib/cups/backend/cups-pdf 即可。

  至此,你可以通过打印来创建 PDF 文档了。

  注:生成的文件在用户主目录的 PDF 文件夹中。完美支持中文!

Read More:

  • » No related posts

2 Comments

  1. 1 Semson Commented @ 2006-08-01 23:29Reply to this comment

    方法在CUPS 1.2后有變動了, 看看原文的14. Simon的回應

  2. 2 Toy Commented @ 2006-08-02 7:53Reply to this comment

    谢谢 Semson 的指正!