HylaFAX The world's most advanced open source fax server

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

[hylafax-users] a simple way to reproduce formfeed problem. How to fix ?



Hi all,

It's me again. The followings are the simple steps to reproduce my problem
with formfeed.

1. I use vi to create a file test.txt  with 60 empty lines ( just pressing
Enter 60 times ).

2. At line 57, add Control-L, then save this file

3. Create the output postscript psfile from test.txt
# /usr/sbin/textfmt -B -f Courier-Bold -Ml=0.4 -p 11 -s default > psfile <
test.txt

( the parameters -B -f -Ml -p -s here are what Hylafax calls textfmt with ).

4. Go to X, and run
# gs psfile
It will display the first blank page. Press Enter it will display the 2nd
balank page, press Enter it will output the error as I paste below.

If I change control-L to some other line, or if I change the -p 11 to some
other value, I won't get this error. But in the common case, the fax I need
to send may produce ^L at any line therefore I can not simple just change -p
value.

I need to make this Hylafax run, and get stuck here. I appreciate any of
your advice.

Thanks,

Vu
--------------------------------------------------------------------
[vu@gamma vu]$ gs psfile
GNU Ghostscript 7.05 (2002-04-22)
Copyright (C) 2002 artofcode LLC, Benicia, CA. All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Loading NimbusRomNo9L-Regu font from
/usr/share/fonts/default/Type1/n021003l.pfb... 2410668 1053956 1642520
347466 0 done.
Loading NimbusSanL-Regu font from
/usr/share/fonts/default/Type1/n019003l.pfb... 2785628 1379834 1662616
358654 0 done.
Using NimbusSansL-Regu font for NimbusSanL-Regu.
Loading NimbusMonL-Bold font from
/usr/share/fonts/default/Type1/n022004l.pfb... 3156532 1673048 1702808
372887 1 done.
>>showpage, press <return> to continue<<
>>showpage, press <return> to continue<<
Error: /dictstackunderflow in --end--
Operand stack:
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2
%stopped_push --nostringval-- --nostringval-- --nostringval-- false 1
%stopped_push 1 3 %oparray_pop 1 3 %oparray_pop 1 3
%oparray_pop .runexec2 --nostringval-- --nostringval-- --nostringval--
2 %stopped_push --nostringval-- --nostringval-- --nostringval--
Dictionary stack:
--dict:1049/1123(ro)(G)-- --dict:0/20(G)-- --dict:89/200(L)--
Current allocation mode is local
Current file position is 6009
GNU Ghostscript 7.05: Unrecoverable error, exit code 1
[vu@gamma vu]$


____________________ HylaFAX(tm) Users Mailing List _______________________
  To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
 On UNIX: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null
  *To learn about commercial HylaFAX(tm) support, mail sales@hylafax.org.*




Project hosted by iFAX Solutions