Re: FVWM: Emacs does not print when started from FVWM-Buttons

From: Andrew J Cosgriff <Andrew.Cosgriff_at_cc.monash.edu.au>
Date: Wed, 14 May 1997 11:37:39 +1000

"holeboy" == holeboy <holeboy_at_lackluster.net> writes:

holeboy> On Tue, 13 May 1997, Andreas Schumann wrote:
>> in order to print from a C-Shell or a program started from a
>> C-Shell. However, this setting is obviously not available for
>> programs started from the button bar?
>>

holeboy> Create a shell script to run when you click the button rather
holeboy> than just running emacs. Using sh, you could do something
holeboy> such as:

holeboy> #!/bin/sh
holeboy> export PRINTER=hp300
holeboy> /usr/local/bin/emacs -display :0.0
holeboy> exit

Alternatively, you could add a

(setenv "PRINTER" "hp300")

to your .emacs

Enjoy,
 Andrew.
-- 
 - Andrew J. Cosgriff -                  ajc_at_bing.wattle.id.au    (PGP/MIME ok)
 +61 3 9905 1165 (bh) 9905 4746 (fax)    http://www-personal.monash.edu.au/~ajc
     "It's not the bullet that kills you, it's the hole" (Laurie Anderson)
--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Tue May 13 1997 - 20:43:10 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:38:00 BST