[13685] in Athena Bugs

home help back first fref pref prev next nref lref last post

sun4 7.7R: lpr -p

daemon@ATHENA.MIT.EDU (Mike Barker)
Tue Jul 25 10:34:33 1995

From: Mike Barker <mbarker@MIT.EDU>
To: bugs@MIT.EDU
Cc: mbarker@MIT.EDU
Date: Tue, 25 Jul 1995 10:33:59 EDT

System name:		gulch
Type and version:	SPARC/Classic 7.7R (1 update(s) to same version)
Display type:		cgthree

What were you trying to do?
	print a mail message from emacs19 mh-rmail

What's wrong:
	apparently "lpr -p" is not working on suns.
	if you setenv LPROPT "-z" the zephyr report shows an error.
	you can do
	athena% lpr -p file
	and it will also fail.

What should have happened:
	message should have printed	

Please describe any relevant documentation references:
	man lpr shows that -p should cause pr to be used to format
	the file.

	temporary workaround: in .emacs, do
	(defvar mh-lpr-command-format "lpr -J '%s'")
	this removes the -p
	you can also do 
	(defvar mh-lpr-command-format "enscript -J'%s'")
	which uses enscript to do the formatting


home help back first fref pref prev next nref lref last post