On Mon, Oct 14, 2002 at 10:13:15PM +0000, Gerard Robin wrote: > On Sat, Oct 12, 2002 at 07:34:27PM +1000, Rob Weir wrote: > > On Fri, Oct 11, 2002 at 01:31:47PM +0000, Gerard Robin wrote: > > > Hello, > > > I upgraded from xemacs21-nomule version 21.1.10-4 to version 21.1.4-8 and > > > evrything work fine except when I want to print a file: > > > > > > "File->Print file" doesn't work. I get: > > > > > > symbol's value as variable is void: coding-system-for-write > > > > > > However, > > > "File->Pretty-Print file" works fine and after that, > > > > > > "File->Print file" works fine too. > > > > > > What shoud I change in the file ~/.xemacs/init.el ? >
Did you check these from the Xemacs FAQ ? For regular printing there are two variables that can be customized. lpr-command This should be set to a command that takes standard input and sends it to a printer. Something like: (setq lpr-command "lp") lpr-switches 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. Pat -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]