HylaFAX The world's most advanced open source fax server

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

Bug in sendfax (Option -n not processed correctly)



Hello Everybody,

I think, I found a bug in sendfax.

I'm using HylaFAX 4.0 PL1 on Solaris 2.5.1, compiled with Sun's CC 4.1.

[MischaMaisky: pfuetz/frame] {4} % sendfax -d 399 -D -R -m -n -v -v Haro2.ps
Trying faxserver (192.67.205.162) at port 4559...
Connected to mischamaisky.
220 mischamaisky server (HylaFAX (tm) Version 4.0pl1) ready.
-> USER pfuetz
230 User pfuetz logged in.
match against (..., 512)
rule: offset 0 string = "%!" -- success (result postscript, rule "")
Apply DisplayNumber rules to "399"
--> return result "399"
COVER SHEET "/usr/local/bin/faxcover -f 'Matthias Pfuetzner' -n '399' -s 'default' -p '1'"
-> TYPE I
200 Type set to Image.
SEND compressed data, 73374 bytes
-> PORT 192,67,205,162,132,193
200 PORT command successful.
-> MODE Z
200 Mode set to ZIP.
-> STOT
150 FILE: /tmp/doc47.ps (Opening new data connection).
SEND 24701 bytes transmitted (3.0x compression)
226 Transfer complete (FILE: /tmp/doc47.ps).
-> JNEW
200 New job created: jobid: 25 groupid: 25.
-> JPARM FROMUSER "Matthias Pfuetzner"
213 FROMUSER set to "Matthias Pfuetzner".
-> JPARM LASTTIME 000259
213 LASTTIME set to 000259.
-> JPARM MAXDIALS 12
213 MAXDIALS set to 12.
-> JPARM MAXTRIES 3
213 MAXTRIES set to 3.
-> JPARM SCHEDPRI 127
213 SCHEDPRI set to 127.
-> JPARM DIALSTRING "399"
213 DIALSTRING set to "399".
-> JPARM NOTIFYADDR "pfuetz@mischamaisky"
213 NOTIFYADDR set to "pfuetz@mischamaisky".
-> JPARM VRES 196
213 VRES set to 196.
-> JPARM PAGEWIDTH 209
213 PAGEWIDTH set to 209.
-> JPARM PAGELENGTH 296
213 PAGELENGTH set to 296.
-> JPARM NOTIFY "none"
213 NOTIFY set to "none".
-> JPARM PAGECHOP "default"
213 PAGECHOP set to "default".
-> JPARM CHOPTHRESHOLD 3
213 CHOPTHRESHOLD set to 3.
SEND compressed data, 75173 bytes
-> PORT 192,67,205,162,132,194
200 PORT command successful.
-> STOT
150 FILE: /tmp/doc48.ps (Opening new data connection).
SEND 24976 bytes transmitted (3.0x compression)
226 Transfer complete (FILE: /tmp/doc48.ps).
-> JPARM COVER /tmp/doc48.ps
200 Added cover page document /tmp/doc48.ps as docq/doc25.cover.
-> JPARM DOCUMENT /tmp/doc47.ps
200 Added document /tmp/doc47.ps as docq/doc47.ps.25.
-> JSUBM
200 Job 25 submitted.
request id is 25 (group id 25) for host faxserver (1 file)


[MischaMaisky: pfuetz/frame] {6} % sendfax -n -d 399 -D -R -m -v -v Haro2.ps
Trying faxserver (192.67.205.162) at port 4559...
Connected to mischamaisky.
220 mischamaisky server (HylaFAX (tm) Version 4.0pl1) ready.
-> USER pfuetz
230 User pfuetz logged in.
match against (..., 512)
rule: offset 0 string = "%!" -- success (result postscript, rule "")
Apply DisplayNumber rules to "399"
--> return result "399"
-> TYPE I
200 Type set to Image.
SEND compressed data, 73374 bytes
-> PORT 192,67,205,162,132,196
200 PORT command successful.
-> MODE Z
200 Mode set to ZIP.
-> STOT
150 FILE: /tmp/doc49.ps (Opening new data connection).
SEND 24701 bytes transmitted (3.0x compression)
226 Transfer complete (FILE: /tmp/doc49.ps).
-> JNEW
200 New job created: jobid: 26 groupid: 26.
-> JPARM FROMUSER "Matthias Pfuetzner"
213 FROMUSER set to "Matthias Pfuetzner".
-> JPARM LASTTIME 000259
213 LASTTIME set to 000259.
-> JPARM MAXDIALS 12
213 MAXDIALS set to 12.
-> JPARM MAXTRIES 3
213 MAXTRIES set to 3.
-> JPARM SCHEDPRI 127
213 SCHEDPRI set to 127.
-> JPARM DIALSTRING "399"
213 DIALSTRING set to "399".
-> JPARM NOTIFYADDR "pfuetz@mischamaisky"
213 NOTIFYADDR set to "pfuetz@mischamaisky".
-> JPARM VRES 196
213 VRES set to 196.
-> JPARM PAGEWIDTH 209
213 PAGEWIDTH set to 209.
-> JPARM PAGELENGTH 296
213 PAGELENGTH set to 296.
-> JPARM NOTIFY "none"
213 NOTIFY set to "none".
-> JPARM PAGECHOP "default"
213 PAGECHOP set to "default".
-> JPARM CHOPTHRESHOLD 3
213 CHOPTHRESHOLD set to 3.
-> JPARM DOCUMENT /tmp/doc49.ps
200 Added document /tmp/doc49.ps as docq/doc49.ps.26.
-> JSUBM
200 Job 26 submitted.
request id is 26 (group id 26) for host faxserver (1 file)


If "-n" is NOT at the beginning of the command line, a FAXCOVER page IS
generated!

This, I'd call a bug!

I don't know, where this comes from, but I guess, someone has to look at it...

Sincerly,
        Matthias
-- 
     Matthias Pftzner     | pfuetzner@igd.fhg.de  | Es gibt Sachen, die sind
  @work:  +49 6151 155-312 | @home: +49 6151 75717 | so falsch, da nicht
FhG-IGD, Wilhelminenstr. 7 | Lichtenbergstrae 73  | einmal das Gegenteil wahr
    64283 Darmstadt, FRG   | 64289 Darmstadt, FRG  | ist.          Karl Kraus




Project hosted by iFAX Solutions