For regular printing there are two variables that can be customized.
This should be set to a command that takes standard input and sends it to a printer. Something like:
(setq lpr-command "lp")
This should be set to a list that contains whatever the print command requires to do its job. Something like:
(setq lpr-switches '("-depson"))
For postscript printing there are three analogous variables to customize.
This should be set to a command that takes postscript on standard input and directs it to a postscript printer.
This should be set to a list of switches required for
ps-lpr-command to do its job.
This boolean variable should be set
t if printing will be done in
color, otherwise it should be set to
NOTE: It is an undocumented limitation in SXEmacs that postscript
Pretty Print Buffer menu item) requires a
window system environment. It cannot be used outside of X11.