如何使emacs生成的postscript文本变暗

时间:2012-07-01 18:28:01

标签: emacs postscript

我正在使用emacs命令ps-spool-buffer-with-faces命令来制作我正在处理的代码的一些postscript文件。问题是字体颜色似乎是浅灰色而不是黑色。我戳了一下postscript文件&谷歌搜索了一下,但没有找到任何解决方案。有谁知道如何将我的灰色字体变成黑色?

1 个答案:

答案 0 :(得分:1)

假设您只想打印黑白,请尝试:

(setq ps-print-color-p nil)

否则,您可以查看ps-print-color-p的其他值:

ps-print-color-p is a variable defined in `ps-print.el'.
Its value is t

Documentation:
Specify how buffer's text color is printed.

Valid values are:

   nil        Do not print colors.

   t      Print colors.

   black-white    Print colors on black/white printer.
      See also `ps-black-white-faces'.

Any other value is treated as t.

You can customize this variable.

您可以使用 Mx 自定义变量 RET ps-print-color-p 进行自定义RET