Search code examples
emacspostscript

How to darken postscript text produced by emacs


I'm using emacs command ps-spool-buffer-with-faces command to make some postscript files of code I'm working on. The problem is that the font color seems to be light gray instead of black. I've poked around the postscript file & googled a bit, but have not found any solution. Does anyone know how to turn my gray font black?


Solution

  • Assuming you just want to print in black and white, try:

    (setq ps-print-color-p nil)
    

    Otherwise, you might take a look at other values for 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.
    

    You can customize using M-xcustomize-variableRETps-print-color-pRET