HylaFAX The world's most advanced open source fax server

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

Re: Letterhead, stdin->sendfax



Walter Feddern wrote:
    
    A couple of questions:
    
    1. Is there a way to create a 'letterhead' effect (ie. each page has a
    logo inserted at the top). I
    have seen reference to this in past posts, but no answers.

Not with HylaFAX directly. You should use some other text formatting
software or imaging software to do this job.
    
    2. Is there a way for sendfax to accept its data file from stdin instead
    of on the command line?

sendfax(1) accepts data from stdin, e.g. type

$ sendfax -d 123456789 <<EOF
Hello World
EOF

	matthias
    
    I have an application that will send out a print job as an ascii text
    stream. What I would like
    is to be able to take this text stream, and in one command line, send it
    out as a fax (the phone
    number can be passed as a variable). What would be really nice is to be
    able to have the option
    of adding the letterhead along the way. We previously used a product
    called "FaxFX", and the
    above was accomplished by the following: "> ljprint -feeder papername
    -fax |sendfax $PHONE".
    I left out some parameters, but ljprint takes the text, merges it with
    the virtual paper 
    'papername', sends out a temp. file name, which sendfax takes as input,
    and sends out as a fax.
    
    Any suggestions would be appreciated.
    
    Walter Feddern.




Project hosted by iFAX Solutions