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

Bug#175239: efax no longer understands dvi2fax' output



reassign 175239 efax
retitle 175239 efax don't understand group 3 fax data from gs -sDEVICE=dfax(high|low)
thanks

On 08.04.04 Hilmar Preusse (hille42@web.de) wrote:
> On 08.04.04 Frank Küster (frank@debian.org) wrote:

Hi,

> > This efax is strange. Here it always complains about not finding
> > /dev/modem, irrespective of what I put into /etc/efaxrc. 
> > 
> Seems to depend on the order of the options:
> 
> drachi:[~/efax] #strace efax -t 0123456789 truc-new.fax 2>&1 | grep format
> write(2, "efax: 46:49 Error: can\'t get for"..., 52efax: 46:49 Error: can't get
> format of truc-new.fax
> 
> drachi:[~/efax] #strace efax truc-new.fax -t 0123456789 2>&1 | grep modem
> open("/dev/modem", O_RDWR|O_NONBLOCK|O_NOCTTY) = -1 ENOENT (No such file or directory)
> write(2, "efax: 47:15 Error: can\'t open se"..., 80efax: 47:15 Error:
> can't open serial port /dev/modem: No such file or directory
> 
He tries to receive a fax, hence don't even touches the fax-file.

> drachi:[~/efax] #strace efax -t 0123456789 truc-new.fax 2>&1 | grep efax.r
> drachi:[~/efax] #strace efax truc-new.fax -t 0123456789 2>&1 | grep efax.r
> drachi:[~/efax] #
> 
efax.rc is parsed by the helper script /usr/bin/fax..

> After creating /dev/modem:
> 
> drachi:[~/efax] #efax truc-new.fax -t 061575546
> efax: Thu Apr  8 19:02:10 2004 efax v 0.9a-001114 Copyright 1999 Ed Casas
> efax: Thu Apr  8 19:02:10 2004 efax v 0.9a-001114 Copyright 1999 Ed Casas
> efax: 02:10 compiled Apr  8 2004 18:39:30
> efax: 02:10 opened /dev/modem
> efax: 02:12 using Version 1.10 / 19.07.1999 "ELSA AG, Aachen
> (Germany)" "MicroLink 56k basic" "Version 1.10 / 19.07.1999" in class 2.0
> efax: 02:17 Warning: can't get modem capabilities, set to default
> 
> Even with the new .fax I created. The simple solution could be: man
> page bug. efax(1)
> 
Well, didn't work either, he tries to receive a fax...

>        -t num [file...]
>                 dial  telephone number num and send the fax image
>                 files file....
> is wrong.
> 
Seems to be OK.

Summary:
The only difference between the new and the old dvi2fax script seems
to be, that the device name in the gs call was changed from faxg3 to
dfaxhigh. It is IMHO a bug of efax, that files of the form

drachi:[~/efax] #file truc-new.fax
truc-new.fax: group 3 fax data, fine resolution (204x196 DPI)

are not understood by it, meanwhile

drachi:[~/efax] #file truc-old.fax
truc-old.fax: raw G3 data

are. So I'm swapping over that bug to efax. Filippo, if you think
this is not your fault, please reassign that bug to ghostscript.
Seb, if you want to send faxes using efax you can use the helper
Skript /usr/bin/fax. Just feed your created Postscript file to it and
leave the conversion to the efax-suite. This is confirmed to work.

Thanks to all contributors,
  Hilmar 
-- 
sigmentation fault



Reply to: