HylaFAX The world's most advanced open source fax server

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

Re: [hylafax-users] faxcover.ps working for sendfax but not Cyphe us



Dear Alan, dear Curtis,

this is what Cypheus adds to the cover page:

>>

%!PS-Adobe-2.0 EPSF-2.0
%%Creator: Cypheus
%%Title: Cypheus Cover Sheet for HylaFAX
%%Creation Date: 15.05.01 20:10:30
%%Origin: 0 0
%%BoundingBox: 0 0 592 839
%%Pages: 1 ,1
%%EndComments
%%Begin Prolog
100 dict begin
/to (To-Name) def
/to-company (To-Company) def
/to-location (To-City) def
/to-voice-number (To-Phone Number) def
/to-fax-number (971790) def
/pageWidth 0 def
/from (Testname) def
/from-fax-number (02054/971791) def
/from-voice-number (02054/971790) def
/from-company (Testcompany) def
/from-location (City) def
/page-count (-) def
/todays-date (15.05.01 20:10:30) def
/regarding (Regarding) def
/comments(This is a comment!) def

...

%%EndProlog
%%Page 1 +1
/wordbreak ( ) def
/BreakIntoLines
{ /proc exch def
  /linewidth exch def
  /textstring exch def
  /breakwidth wordbreak stringwidth pop def
  /curwidth 0 def
  /lastwordbreak 0 def
  /startchar 0 def
  /restoftext textstring def
  { restoftext wordbreak search		<< the error occurs here!
{ /nextword exch def pop
  /restoftext exch def
  /wordwidth nextword stringwidth pop def
  curwidth wordwidth add linewidth gt
  { textstring startchar
lastwordbreak startchar sub
getinterval proc
/startchar lastwordbreak def
/curwidth wordwidth breakwidth add def }
  { /curwidth curwidth wordwidth add
breakwidth add def
 } ifelse
  /lastwordbreak lastwordbreak
  nextword length add 1 add def
}
{ pop exit }
ifelse
  } loop
  /lastchar textstring length def
  textstring startchar lastchar startchar sub
  getinterval proc
} def

<<

I compared "BreakIntoLines" with the default HylaFAX cover page and
could not find any error.


Best Regards
Bodo

--
___________________________________________
Bodo Noering Consulting
Zur Alten Faehre 23 · D-45219 Essen
Phone +49-2054-971790 · Fax +49-2054-971791
bn@urania.com · http://www.urania.com
___________________________________________



____________________ HylaFAX(tm) Users Mailing List _______________________
 To unsub: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null




Project hosted by iFAX Solutions