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

Bug#175239: efax no longer understands dvi2fax' output



Package: tetex-bin
Version: N/A; reported 2003-01-03
Severity: normal

I use 'efax' to send faxes with .fax files generated by 'dvi2fax'. The new
version of 'dvi2fax' outputs .fax files which are not understood by 'efax'.
I use Debian stable (Woody).

Here is an example:

sophie ~>cat truc.tex
\documentclass{article}
\begin{document}
Ce propos est sans objet.
\end{document}

sophie ~>latex truc.tex; dvi2fax truc.dvi

sophie ~>efax -t T0123456789 truc*.fax
efax: Fri Jan  3 20:47:19 2003 efax v 0.9a-001114 Copyright 1999 Ed Casas
efax: Fri Jan  3 20:47:19 2003 efax v 0.9a-001114 Copyright 1999 Ed Casas
efax: 47:19 compiled Feb 20 2002 15:22:34
efax: 47:19 Error: can't get format of truc-001.fax
efax: 47:19 done, returning 2 (unrecoverable error)

However, using an old version of dvi2fax solves the problem. Here is a diff:

sophie ~>diff /usr/bin/dvi2fax /old/bin/dvi2fax
24c24
< dvipsconf=dfaxhigh; gsdev=dfaxhigh
---
> dvipsconf=dfaxhigh; res=204x196
26,27c26,27
<   -hi) gsdev=dfaxhigh; shift;;
<   -lo) gsdev=dfaxlow; shift;;
---
>   -hi) dvipsconf=dfaxhigh; res=204x196; shift;;
>   -lo) dvipsconf=dfaxlo; res=204x98; shift;;
31,33c31,32
<   0) help >&2
<      exit 1
<      ;;
---
> 0)    help >&2
>       exit 1 ;;
38c37
<   gs -q -dSAFER -sDEVICE=$gsdev -sOutputFile=$NAME-%03d.fax -sNOPAUSE -
---
>   gs -q -dSAFER -sDEVICE=faxg3 -r$res -sOutputFile=$NAME-%03d.fax -sNOPAUSE -


'dvi2fax' comes with the package tetex-bin:

sophie ~>dpkg -S dvi2fax
tetex-bin: /usr/share/man/man1/dvi2fax.1.gz
tetex-bin: /usr/bin/dvi2fax

and 'efax' comes with the package efax.




Best regards and happy new year !

Sébastien Desreux.


-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux sophie 2.4.18 #20 Thu Jan 2 18:37:17 CET 2003 i686
Locale: LANG=C, LC_CTYPE=C





Reply to: