Only the top 5 cm of a fax is received.

Niels Basjes (Dont@mail.me.nl)
Sun, 30 Jan 2000 17:12:00 +0100


Hi,

My setup:
- 486-DX2-66 with SuSE 6.1
- mgetty+sendfax 1.1.21
- External USRobotics Sportster Flash.
- Mgetty windows client version 1.5

I tried to send a fax to a friend of mine and it turns out that the fax is
not received correctly: Only the top 3-5 cm of each page of the fax is
received. When I send two pages he only gets the top of both pages.

I checked the two files (f1.g3 and f2.g3) that were still on my machine in
the queue (labeled as done) and both are 1728x2157x1 bpp bitmaps that look
fine in an image viewer (I converted them to BMP and did that in NT).

The modem has been configured for dailout using pppd (works), answering
machine using vgetty (works) and dailout using sendfax (my problem).

Can anyone give me a hint what I'm doing wrong ?

If the information below here is not enough please tell me what else is
needed.

NOTE: I changed the faxnumbers for privacy reasons.
=======
--
01/30 13:26:36  sendfax: experimental test release 1.1.21-Jul24
01/30 13:26:36   sendfax.c compiled at Sep  4 1999, 10:14:16
01/30 13:26:36  sending fax to 873xxxx
01/30 13:26:36  checking f1.g3
01/30 13:26:36  checking f2.g3
01/30 13:26:36   makelock(modem) called
01/30 13:26:36   do_makelock: lock='/var/lock/LCK..modem'
01/30 13:26:36   lock made
01/30 13:26:36   tss: set speed to 38400 (017)
01/30 13:26:36   tio_set_flow_control( HARD )
01/30 13:26:36 dem   fax_open_device succeeded, modem -> 4
01/30 13:26:36 dem   reading specific data for port 'modem'
01/30 13:26:36 dem   reading
/usr/local/etc/mgetty+sendfax/sendfax.config...
01/30 13:26:36 dem   conf lib: read: 'verbose y'
01/30 13:26:36 dem   conf lib: read: 'debug 5'
01/30 13:26:36 dem   conf lib: read: 'fax-devices modem'
01/30 13:26:36 dem   conf lib: read: 'fax-id 3120611xxxx'
01/30 13:26:36 dem   conf lib: read: 'max-tries 3'
01/30 13:26:36 dem   conf lib: read: 'max-tries-continue y'
01/30 13:26:36 dem   key: 'fax-devices', type=1, flags=4, data=(ignored)
01/30 13:26:36 dem   key: 'modem-init', type=1, flags=0, data=(empty)
01/30 13:26:36 dem   key: 'modem-handshake', type=1, flags=0, data=(empty)
01/30 13:26:36 dem   key: 'modem-type', type=1, flags=1, data=auto
01/30 13:26:36 dem   key: 'modem-quirks', type=0, flags=0, data=(empty)
01/30 13:26:36 dem   key: 'fax-send-flow', type=4, flags=1, data=7
01/30 13:26:36 dem   key: 'fax-rec-flow', type=4, flags=1, data=7
01/30 13:26:36 dem   key: 'max-tries', type=0, flags=3, data=3
01/30 13:26:36 dem   key: 'max-tries-continue', type=3, flags=3, data=TRUE
01/30 13:26:36 dem   key: 'speed', type=0, flags=1, data=38400
01/30 13:26:36 dem   key: 'switchbd', type=0, flags=1, data=0
01/30 13:26:36 dem   key: 'open-delay', type=0, flags=0, data=(empty)
01/30 13:26:36 dem   key: 'ignore-carrier', type=3, flags=1, data=TRUE
01/30 13:26:36 dem   key: 'dial-prefix', type=1, flags=1, data=ATD
01/30 13:26:36 dem   key: 'fax-id', type=1, flags=3, data=3120611xxxx
01/30 13:26:36 dem   key: 'poll-dir', type=1, flags=1, data=.
01/30 13:26:36 dem   key: 'normal-res', type=3, flags=1, data=FALSE
01/30 13:26:36 dem   key: 'fax-min-speed', type=0, flags=1, data=0
01/30 13:26:36 dem   key: 'fax-max-speed', type=0, flags=1, data=14400
01/30 13:26:36 dem   key: 'debug', type=0, flags=3, data=5
01/30 13:26:36 dem   key: 'verbose', type=3, flags=2, data=TRUE
01/30 13:26:36 dem   key: '', type=3, flags=1, data=FALSE
01/30 13:26:36 dem   key: 'page-header', type=1, flags=0, data=(empty)
01/30 13:26:36 dem   key: '', type=3, flags=1, data=FALSE
01/30 13:26:36 dem   key: '', type=3, flags=1, data=FALSE
01/30 13:26:36 dem   key: '', type=1, flags=1, data=
01/30 13:26:36 dem   tss: set speed to 38400 (017)
01/30 13:26:36 dem  mdm_send: 'ATV1Q0'
01/30 13:26:36 dem   mdm_command: string 'OK' -> OK
01/30 13:26:36 dem  mdm_send: 'ATI'
01/30 13:26:36 dem   mdm_gis: string 1: '5601'
01/30 13:26:36 dem   mdm_identify: string '5601'
01/30 13:26:36 dem  USR Courier/Sportster 56k detected
01/30 13:26:36 dem  mdm_send: 'ATI3'
01/30 13:26:36 dem   mdm_gis: string 1: 'U.S. Robotics 56K Voice EXT Rev.
12.1.0'
01/30 13:26:36 dem  additional info: 'U.S. Robotics 56K Voice EXT Rev.
12.1.0'
01/30 13:26:37 dem  mdm_send: 'AT+FCLASS=2.0'
01/30 13:26:37 dem   mdm_command: string 'OK' -> OK
01/30 13:26:37 dem  mdm_send: 'AT+FLI="3120611xxxx"'
01/30 13:26:37 dem   mdm_command: string 'OK' -> OK
01/30 13:26:37 dem  mdm_send: 'AT+FCC=1,5,0,2,0,0,0,0'
01/30 13:26:37 dem   mdm_command: string 'OK' -> OK
01/30 13:26:37 dem  mdm_send: 'AT+FBO=0'
01/30 13:26:37 dem   mdm_command: string 'OK' -> OK
01/30 13:26:37 dem  mdm_send: 'AT+FNR=1,1,1,0'
01/30 13:26:37 dem   mdm_command: string 'OK' -> OK
01/30 13:26:38 dem  mdm_send: 'AT+FLO=2'
01/30 13:26:38 dem   mdm_command: string 'OK' -> OK
01/30 13:26:38 dem  fax_send: 'ATD873xxxx'
01/30 13:26:38 dem  fax_wait_for(OK)
01/30 13:26:49 dem   fax_wait_for: string '+FCO'
01/30 13:26:51 dem   fax_wait_for: string '+FCI:"                    "'
01/30 13:26:51 dem  fax_id: '+FCI:"                    "'
01/30 13:26:51 dem   fax_wait_for: string '+FIS:1,5,0,2,1,0,0,0'
01/30 13:26:51 dem   fax_wait_for: string 'OK'** found **
01/30 13:26:51 dem  sendfax: IGNORE DCD (carrier) status
01/30 13:26:51 dem   fax_send_page("f1.g3") started...
01/30 13:26:51 dem   tio_set_flow_control( HARD )
01/30 13:26:51 dem  fax_send: 'AT+FDT'
01/30 13:26:51 dem  fax_wait_for(CONNECT)
01/30 13:26:51 dem   fax_wait_for: string '+FCS:1,5,0,2,0,0,0,0'
01/30 13:26:51 dem  transmission par.: '+FCS:1,5,0,2,0,0,0,0'
01/30 13:26:59 dem   fax_wait_for: string '+FCI:"                    "'
01/30 13:26:59 dem  fax_id: '+FCI:"                    "'
01/30 13:26:59 dem   fax_wait_for: string '+FIS:1,3,0,2,1,0,0,0'
01/30 13:26:59 dem   fax_wait_for: string '+FCS:1,3,0,2,0,0,0,0'
01/30 13:26:59 dem  transmission par.: '+FCS:1,3,0,2,0,0,0,0'
01/30 13:27:04 dem   fax_wait_for: string 'CONNECT'** found **
01/30 13:27:04 dem   tio_set_flow_control( HARD XON_OUT )
01/30 13:27:04 dem  sending f1.g3...
01/30 13:27:07 dem  page complete, 9599 bytes sent
01/30 13:27:07 dem  sending DLE ','
01/30 13:27:15 dem  got response: 'OK'
01/30 13:27:15 dem   fax_send_page("f2.g3") started...
01/30 13:27:15 dem   tio_set_flow_control( HARD )
01/30 13:27:15 dem  fax_send: 'AT+FDT'
01/30 13:27:15 dem  fax_wait_for(CONNECT)
01/30 13:27:15 dem   fax_wait_for: string '+FCS:1,3,0,2,0,0,0,0'
01/30 13:27:15 dem  transmission par.: '+FCS:1,3,0,2,0,0,0,0'
01/30 13:27:19 dem   fax_wait_for: string 'CONNECT'** found **
01/30 13:27:19 dem   tio_set_flow_control( HARD XON_OUT )
01/30 13:27:19 dem  sending f2.g3...
01/30 13:27:19 dem   input: got [0a]
01/30 13:27:33 dem  page complete, 23122 bytes sent
01/30 13:27:33 dem  sending DLE '.'
01/30 13:27:42 dem  connection hangup: '+FHS:00'
01/30 13:27:42 dem   (Normal and proper end of connection)
01/30 13:27:43 dem  got response: 'OK'
01/30 13:27:43 dem  fax_send: 'AT+FCLASS=0'
01/30 13:27:43 dem   removing lock file
01/30 13:27:43 ##### success, phone="873xxxx", dev=modem, time=65s,
pages=2(+0), bytes=32721, acct=""

=======

Skynet:/var/spool/fax/outgoing/F000005 # ls -la
total 37
drwxr-xr-x   2 lp       lp           1024 Jan 30 13:27 .
drwxrwxrwt   6 root     root         1024 Jan 30 13:27 ..
-rw-r--r--   1 lp       lp            117 Jan 30 13:27 JOB.done
-rw-r--r--   1 lp       lp           9575 Jan 30 13:26 f1.g3
-rw-r--r--   1 lp       lp          22917 Jan 30 13:26 f2.g3

=======



Niels.

--
ir. Niels Basjes -- ICQ# 9012768 -- PGP Key ID=0xE7BBF6B9
mailto:`echo 'Niels Basjes'|awk '{print$1"@"$2".nl"}'`
http://www.wirehub.nl/~basjesn 
"If Microsoft-Windows is the solution; can we please have the problem back ?"