HylaFAX The world's most advanced open source fax server

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

Sendfax - conversion error / not error ???




Q: Do I get error message from gs even it is sucessfully done?

This is what happened:

<-------
sendfax -n -d 2337266 /etc/passwd
------->

The command finish with no error reported.
However, I will receive email said

<-------
Your facsimile job to 2337266 was not sent because document conversion
to facsimile failed.  The output from the converter program was:
Error: /typecheck in --restore--
Operand stack:
    -savetype-  /Courier-Bold
Execution stack:
    %interp_exit  --nostringval--  --nostringval--  --nostringval--  false
--nostringval--  --nost
ringval--  --nostringval--
Dictionary stack:
    537/547  0/20  6/200
Ghostscript: Unrecoverable error, exit code 1


Check any PostScript documents for non-standard fonts and invalid
constructs.
------->

Up to this point, I think there is problem with the ghostscript.
Then I try the following :

<------
/usr/local/HylaFAX-v4.0/slib/textfmt -B -f Courier-Bold -p 11 -s default >
tmp < /etc/passwd

gs -q -sDEVICE=tiffg3 -dNOPAUSE -dSAFER=true -sPAPERSIZE=a4 -r204x98
-sOutputFile=out tmp

sendfax -n -d 2337266 out
------>

NOW, THE FAX WAS SUCCESSFULLY BEING SENT...

By the way, I shall mention that when I manually generate the out file
with gs command, I did get the error from gs as following. So, I think
this error stop the sendfax to go any futher.  But I also found that the
out file was generated and that is why I can send it out with the last
command.

Hmm.. Just wondering any body else encounter the same situation before.
And how shall I work around the problem?  

<------
Error: /typecheck in --restore--
Operand stack:
    -savetype-  /Courier
Execution stack:
    %interp_exit  --nostringval--  --nostringval--  --nostringval--  false
--nostringval--  --nostringval--  false  --nostringval--  --nostringval--
--nostringval--
Dictionary stack:
    537/547  0/20  6/200
Current file position is 7123
GS<2>quit
------->

Thankyou.


_/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/
   		 Database Administrator 
   Jeff So	 Intersoft System Ltd (Travelsurf)
   		 URL     : http://www.travelsurf.com
   		 Email   : jcs@travelsurf.com				
  	 	 Address : #555, 333, 11th Ave. S.W, Calgary, AB, Ca    
	 	 Tel     : (403)5430078	 Fax     : (403)2337266      
_/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/
  




Project hosted by iFAX Solutions