HylaFAX The world's most advanced open source fax server

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

Re: Faxcover Comments



Hi,

For 4.1 ( or 4.0 with a patch from http://www.hylafax.org/patches/) allows 
you to specify lines of comments thus:
         $ sendfax -c "This is line 1\n This is line 2\nThis is line 3" -d 
12345678 myfax.ps

For 4.1 in the faxcover.ps file itself you need some postscript code to 
display the comments, this can be done 2 ways:

1) Use BreakIntoLines
Some postscript code like:
/Helvetica-Bold-SHOWISO findfont 24 scalefont setfont  <---set the font for 
the comments
/linewidth 300 def <----use to set width of line in points
/lineheight 29 def  <----use to set height of line in points
/y 189 def /x 141.336 def <----set the initial coordinates
linewidth lineheight x y comments BreakIntoLines <-call proc


2) Use CommentsX parameters
Some code like the following:
/Helvetica-Bold-SHOWISO findfont 24 scalefont setfont  <---set the font for 
the comments
9 comments BreakIntoCommentsX  <-----break comments into Comment1..Comment9
100 125 moveto Comment1 show  <----draw first comment line on screen at 
(100,125)
100 100 moveto Comment2 show  <----draw second comment line on screen at 
(100,100)
....

- Robert


At 07:27 AM 9/1/99 -0500, Tom Tilque wrote:
>Is there any way to control how your comments print on the cover page. For
>example can I have 2 lines of comments and break them up where I want
>them.  I really don't know PCL and looked at faxcover.ps and have not clue
>how to pass the comments so that they will break where I want.
>
>Thanks for any help.
>
>Tom
>
>
>Tom Tilque
>Senior Programmer/Analyst
>Green Bay Packaging Inc.
>1700 N. Webster Ct
>Green Bay, WI  54302-1196
>
>ttilque@gbp.com




Project hosted by iFAX Solutions