Hylafax Mailing List Archives
|
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
BreakIntoCommentX on v4.0pl2 and CVS
Hi,
While using both 4.0pl2 and a CVS from today I am having a problem with
BreakIntoCommentX not printing comment lines greater than 9. The ps routine
looks like so :-
/BreakIntoCommentX {
% <maxlines> <text> BreakIntoCommentX -
/cbuf (Comment ) def
0 exch
linebreak { search { 4 -1 roll 1 add 4 2 roll }{ exch 1 add exit } ifelse } loop
dup dup 2 add 1 roll
-1 1 { cbuf exch 7 exch 48 add put cbuf cvn exch def } for
1 add exch 1 exch { cbuf exch 7 exch 48 add put cbuf cvn () def } for
} def
And my offending Postscript looks like so :-
....
/Comment9 where {pop Comment9 SH} if
GR
0 13 RM
GS
0 SG
/Helvetica FF [10 0 0 -10 0 0] MS
/Comment10 where {pop Comment10 SH} if
GR
0 13 RM
GS
0 SG
/Helvetica FF [10 0 0 -10 0 0] MS
....
The Comment9 will print but not the Comment10 and above :-(
Does anybody know what I am doing wrong here ? I am confused
and can no longer see the wood for the trees. HELP
REGARDS
Paul
P.S. I fixed my CVS dowload by changing :-
1) faxcover/faxcover.c++ a typo ?
printf("%i comments BreakIntoCommentsX", maxcomments);
to
printf("%i comments BreakIntoCommentX\n", maxcomments);
2) hfaxd/HylaFAXServer.c++ - it wasnt happy with the seqf files ???
int fd = Sys::open(filename, O_CREAT|O_RDWR|O_ER?!?!?, 0600); # I forget :-)
to
int fd = Sys::open(filename, O_CREAT|O_RDWR, 0600);
Yes I know I'm no c++ programmer.