Hylafax Mailing List Archives

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

Re: Wrapping of Comments Field



> Is there any way to easily make the comments field in the faxcover program
> to not wrap at 35 characters, but at 60 or 80 instead? 

This is the tail of faxcover.ps in pl1:

/Helvetica-Bold-SHOWISO findfont 24 scalefont setfont
/rule (_______________________________) def
/y 189 def /x 141.336 def
y -29 73 { x exch M rule S } for
comments rule stringwidth pop { x y M S /y y 29 sub def } BreakIntoLines
grestore
grestore
showpage


The 24 after findfont is the point size of the comment.  The number of
_s in the /rule line define the width of the comment in _ character widths.
So to double the number of characters on a line, you should change the
24 to 12 and double the number of _s.  Note that the -29 on the line 
beginning y and the 29 in the following line represents the vertical 
spacing in points; to get more lines in, you should decrease both of these
together and no more than proportionately with the decrease in point size.

This is untested, and there may be other limits on the total size of the
comments.



Home
Report any problems to webmaster@hylafax.org

HylaFAX is a trademark of Silicon Graphics Corporation.
Internet connectivity for hylafax.org is provided by:
VirtuALL Private Host Services