[Prev][Next][Index][Thread]
Re: Executor kudos and a question/suggestion
>>>>> "Donald" == Donald Burr <d_burr@ix.netcom.com> writes:
Donald> Now, on to my question. Is it possible to switch printing
Donald> modes "on the fly"? What I mean is this: Normally, I have
Donald> my Executor print directly to my PostScript printer. This
Donald> makes sense, since I when I choose "print" I usually mean
Donald> to print something. HOWEVER, sometimes I'd like to
Donald> generate a Postscript file -- for example, when I want to
Donald> FAX my resume to a prospective employer, I have to
Donald> generate a PostScript file which I can then send through
Donald> the Hylafax program (which expects PostScript files on
Donald> input). I have to do this by quitting Executor (thus
Donald> interrupting my work, etc.) and running it with the
Donald> "-printer" switch to tell it to print to a file. It would
Donald> be nice to be able to do this while running Executor,
Donald> either by a configuration option, a hot-key, or a holding
Donald> down a special key while choosing the "Print" command
Donald> (say, if you hold down Clover-LeftShift while choosing
Donald> Print, it'll print to a file).
Donald> I primarily need this feature in the Linux version fo
Donald> Executor, however it might be useful for the DOS folks
Donald> too(?).
Donald> Is this possible? If not, is it feasible enough to add
Donald> this feature? Please let me know. Thanks!
There's no built in way to do this. However, under Linux Executor
will pipe the printer output through a script called
"executor_filter". You could write your own executor_filter script
that either sends the output to a printer or to a file, depending on
something you can toggle while Executor is running, e.g. the presence
or absence of a magic "use_printer" file. It's a hack, I know, but it
should work.
-Mat
References: