HylaFAX The world's most advanced open source fax server

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

Re: break lines and sender's info in cover page



On Thu, Jun 25, 1998 at 05:24:22PM +0200, Andrea Gabellini wrote:

> Hi,
> 
> I'm using hylafax pl2 on Solaris 2.5. Two questions:
> 
> 1) I tried to use the new faxcover's feature to break lines with "\n". If I
> use:
> 
>    faxcover -c "line 1 \n line2" ...
> 
>    the result is:
> 
>    "line 1 \n line2", i.e. faxcover writes the characters "\" and "n".

faxcover(1) sets your comment correctly into the defines. Have a
look at the resulting PostScipt file; it should contain:
...
/comments (line 1 \\n line2) def
/comments1 (line 1 ) def
/comments2 (line2) def
/comments3 () def
/comments4 () def
/comments5 () def
...
for your example. What is printed or sent depends on your PostScipt
template (e.g. the usage of the "comments1" macros....).


> 2) The faxcover template accept some parameters like "from-voice-number"
> and "from-fax-number", i.e. the sender's info. I made my own cover template
> and used this with WHFC by Uli successfully. When I tried to use the same
> cover directly on the server, I didn't find any parameter for faxcover to
> do the same thing.

One must add it to the code of faxcover.c++.

	matthias




Project hosted by iFAX Solutions