a2ps
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Warningtext on the screen...


From: Akim Demaille
Subject: Re: Warningtext on the screen...
Date: 13 Oct 2000 14:47:25 +0200
User-agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands)

>>>>> "Paula" == Paula Nicander <address@hidden> writes:

Paula> Is it possible to get 'a2ps' to return a kind of warningtext on
Paula> the screen instead of sending the job to the printer?

Paula> Maybe I'm just stupied, but I couldn't find anything about it,
Paula> when looking around the source files. What I'm wanting to do is
Paula> to get a2ps to print a warningtext either on the screen or on a
Paula> paper from the printer: For example: "This is a swedish text
Paula> use the option --print-anyway " "This is a gif, use xv" "This
Paula> is a Microsoft Word document ... "

Paula> Is this possible to do?

I guess so, though it's bit hacky.

Let's take the example of your "This is a gif, use xv", then be sure
that sheets.map is able to recognize gif files (use a2ps --guess
foo.gif to check it works), then settle a gif:ps delegation:


~/.a2ps/a2psrc, or /etc/a2ps.cfg:

  Delegation: Warning gif:ps\
          echo '$f is a GIF file, use xv' >&2; exit 1


But frankly, I don't see the point, but for M$ worst documents :)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]