HylaFAX The world's most advanced open source fax server

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

Re: Making cover pages



Hoo hoo. You will have fun with this!

I enclose my faxcover for you to look at. This is what I did.

The first thing you should do is get some patches for the faxcover
program and maybe even sendfax from
http://www.hylafax.org/patches/index.php. The patches are
faxcover.patch and sendfax.patch

At the top of the file you will see where I have defined the sending
company name and address:-

%!PS-Adobe-2.0 EPSF-2.0
%%EndComments
/orig-line1 (Cisco Systems Australia) def
/orig-line2 (Level 17, 99 Walker Street) def
/orig-line3 (North Sydney 2060) def
/orig-line4 (NSW Australia) def
/orig-line5 () def
/orig-line6 () def
/orig-line7 (Tel: +61 2 9935 4100) def
/orig-line8 (Fax: +61 2 9957 4077) def
/orig-line9 () def
/orig-line10 () def
%%EndProlog

Change this to suite your needs.

Then use a program that will convert a GIF file to an embedded
postscript (EPS) - xv will do nicely - to create an EPS version of your
logo. You will have to play with the size and positioning of the image
so that it appears in the right place (top right of page). Then look
near the top of faxcover.ps for the lines:-

%!PS-Adobe-2.0 EPSF-2.0
%%Title: /home/damian/logos/logo.ps
%%Creator: XV Version 3.10a  Rev: 12/29/94  -  by John Bradley
%%BoundingBox: 48 649 253 755

Delete from here to:-

% stop using temporary dictionary
end

% restore original state
origstate restore

%%Trailer

(the image itself is a bunch of hexadecimal digits)

and replace it with your EPS image. Then to see what it looks like run:-

faxcover -C `pwd`/faxcover.ps -f from-name -n faxno > /tmp/faxout.ps

Then use ghostview to view this file, or send it to a postscript
printer. Note that "from-name" and "faxno" are just there to keep
faxcover happy - they will appear as literals in the output. You can add
more stuff if you want (see the man page for faxcover).

It would be quite possible to put all the above into a script, to make
this easier to do. Maybe if I get time...

I hope this helps.

Damian 



Keith G. Murphy wrote:
> 
> I've seen this asked but never answered:
> 
> Is there a simple (non-PostScript-guru) way to incorporate graphics
> and/or text into faxcover.ps in place of the default (Silicon Graphics)
> stuff, while leaving the rest of the form alone?
> 
> Most specifically, how would you get there from a graphics file such as
> a GIF which contains a logo?
> 
> Of course, if going the other way (incorporating the form into the logo)
> is easier, that's fine too.
> 
> I emphasize, I'm extremely PostScript-ignorant.
> 
> TIA.

-- 
 ______________________________________________________________________
* Damian Ivereigh     *      ||        ||      * Cisco Systems, Inc.   *
* MIS Printer Admin   *    .||||.    .||||.    * Sydney, Australia     *
* Linux Bigot         * ..:||||||:..:||||||:.. * +61 2 8448 7344       *
* damian@cisco.com    *   cisco Systems, Inc.  * Fax: +61 2 8448 7228  *
*______________________________________________________________________*
Attachment Converted: "C:\PROGRAM FILES\EUDORA\Attach\faxcover.ps"




Project hosted by iFAX Solutions