HylaFAX The world's
most advanced open source fax server
|
|
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
[hylafax-users] Simple way to generate a cover page
With all this talk of f____g cover pages, I thought I'd share how we do
ours.
Here's a step-by-step to generate cover pages with Word, Pagemaker, etc in
Windows.
1. Install a new printer, the Linotronic 330
2. When you make the printer, click on properties, set the following:
Print to file
Download Fonts as Bit Maps
Resolution to lowest setting
PostScript for portablility
No Control-D's
Look around, you'll find all these settings!
3. Generate your cover page using whatever you want, print to a file.
4. Cut & Concatenate my whfc.template to the end of this postscript file
5. Edit your postscript according to the template
Here's the whfc.template. The double %%'s are comments in postscript
language, no worries.
%% whfc.template---------------------------START HERE
%%
%% Place this at the end of your postscript file, immediately above the
%% showpage operator.
%%
%% The initmatrix operator resets the way the text is placed. Without it
%% You may find your text upside down, sideways, or worse.
%%
%% The scale operator resets your scale to points (72 per inch)
%%
%% The garbage in front of the findfont operator is postscript's way of
%% describing a microsoft font. You can use any of the fonts on your
%% document, but it will be necessary to get the code first. Search for
%% the name of the font (exp. Arial). The description code will be
%% close by.
%%
%% The scalefont setfont lines set the point size for the font and tells
%% postscript to use that font for the following lines
%%
%% The moveto operator moves from the bottom left hand corner x number
%% of points to the right (the first number) and y number of points up
%% (the second number)
%%
%% The fields placed are described below and are printed with the show
%% command. This example uses 4 comment lines; your coverpage may have
%% more. I have not used all of the fields, additionally, I believe
%% that the pageLength and pageWidth operators are set by the original
%% postscript generator, so I didn't use them.
%%
%% Make sure to download all fonts when you print your coverpage to disk!
%%
%% I didn't have any luck figuring out the CommentsX crapola, (Bug 87??!!)
%% So I just used four lines in my comment section. If you're using WHFC,
%% this would correspond to the first four lines of the comments box
%% If you want more, just make them.
%%
%%
%%
%% to destination person
%% from sending person
%% to-company destination company
%% from-company sender's company
%% to-location destination geographic location
%% from-location sender geographic location
%% to-voice-number person's voice phone number
%% from-voice-number sender's voice phone number
%% to-fax-number destination fax phone number
%% from-fax-number sender's fax phone number
%% comments unbroken comment string
%% commentsX X'th line of comments
%% regarding Re: subject
%% page-count # pages other than cover page
%% pageWidth page width in millimeters
%% todays-date current date and time
%% pageLength page length in millimeters
%%
%%
%% initmatrix as per instructions above
%%
initmatrix
%%
%% initialize the scaling
%%
1 1 scale
%%
%% The following is an instruction to load a particular font
%%
/MSTT31c3aa findfont
%%
%%
%%
%% Now let's set the size
%%
14 scalefont setfont
%%
%%
%% Now move to where we're going to place it
%%
130 501 moveto
%%
%%
%% Now print the "to" field on the cover page
%%
to show
%%
%%
%%
%% Now the to-company field
%%
130 528 moveto
to-company show
%%
%%
%% The from line
%%
130 474 moveto
from show
%%
%%
%% Now change the font (Hey, why not?)
%% Of course if you can't find the "MSTT_Whatever" string in your postscript
%% Then naturally you can't use that font. Did I need to say that?
%%
/MSTT31c3c1 findfont
%%
%%
%% Scale the font again
%%
14 scalefont setfont
%%
%% Ok, You can figure out the rest
%%
%%
380 633 moveto
todays-date show
520 589 moveto
page-count show
/MSTT31c3aa findfont
18 scalefont setfont
220 98 moveto
%%regarding show
/MSTT31c3c1 findfont
14 scalefont setfont
130 420 moveto
comments1 show
130 393 moveto
comments2 show
130 366 moveto
comments3 show
130 339 moveto
comments4 show
%% whfc.template---------------------------END HERE
That's it. No makefaxcover, nothing else needed.
Good Luck!
____________________ HylaFAX(tm) Users Mailing List _______________________
To unsub: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null