fax-problems

Carsten Borchardt (carsten@bor.north.de)
Fri, 15 Dec 1995 07:50:42 +0100


   I need to know how (exactly!) you generated the fax G3 files, what the
   pages on the receiving end look like, and what kind of fax machine was at
   the receiving end.

   > i have problems sending faxes with mgetty 0.98 and my 
   > zyxel U1496E V 6.12 M.
   > 
   > i get "ERROR:RTN: badpage - retrain requested" for each and every page
   > i try to send with sendfax. 
   > has anybody experienced the same or do somebody know the reason? i
   > have no idea what to do...

ok, i generate a4-paper-size sheets with LaTeX (dinbrief), convert
them to DVI format and feed the DVI-file into 'faxspool'. 'faxspool'
adds its header (2 lines). the resulting page has 1728x2386 pixels.

i sent the fax to several fax-mashines with the same 'BAD PAGE'
result. one of it was a elsa faxmodem controled by elsa's windows
program. the received page contained only the first few rows,
fax header. but the g3-fax-file i sent seems to be
ok because i can view it with 'g3view' without any problems.

here is a part of the Faxlogfile i got, i hope you can help me with
this additional informations.

12/14 09:15:02  sending fax to 3008176
12/14 09:15:03  checking f1.g3
12/14 09:15:03  makelock(ttyS1) called
12/14 09:15:03  do_makelock: lock='/usr/spool/uucp/LCK..ttyS1'
12/14 09:15:03  lock made
12/14 09:15:03  tss: set speed to 38400 (017)
12/14 09:15:03  tio_set_flow_control( HARD )
12/14 09:15:03 yS1  fax_open_device succeeded, ttyS1 -> 4
12/14 09:15:03 yS1  reading specific data for port 'ttyS1'
12/14 09:15:03 yS1  conf lib: read: 'verbose y'
12/14 09:15:03 yS1  conf lib: read: 'debug 5'
12/14 09:15:03 yS1  conf lib: read: 'fax-devices ttyS1'
12/14 09:15:03 yS1  conf lib: read: 'fax-id +49 441 86137'
12/14 09:15:03 yS1  conf lib: read: 'max-tries 2'
12/14 09:15:03 yS1  conf lib: read: 'max-tries-continue y'
12/14 09:15:03 yS1  conf lib: read: 'port ttyS1'
12/14 09:15:03 yS1  section: port ttyS1, **found**
12/14 09:15:03 yS1  conf lib: read: 'modem-handshake AT&H3'
12/14 09:15:03 yS1  key: 'fax-devices', type=1, flags=4, data=(ignored)
12/14 09:15:03 yS1  key: 'modem-init', type=1, flags=0, data=(empty)
12/14 09:15:03 yS1  key: 'modem-handshake', type=1, flags=3, data=AT&H3
12/14 09:15:03 yS1  key: 'modem-type', type=1, flags=1, data=auto
12/14 09:15:03 yS1  key: 'max-tries', type=0, flags=3, data=2
12/14 09:15:03 yS1  key: 'max-tries-continue', type=3, flags=3, data=TRUE
12/14 09:15:03 yS1  key: 'speed', type=0, flags=1, data=38400
12/14 09:15:03 yS1  key: 'switchbd', type=0, flags=1, data=0
12/14 09:15:03 yS1  key: 'dial-prefix', type=1, flags=1, data=ATD
12/14 09:15:03 yS1  key: 'fax-id', type=1, flags=3, data=+49 441 86137
12/14 09:15:03 yS1  key: 'poll-dir', type=1, flags=1, data=.
12/14 09:15:03 yS1  key: 'normal-res', type=3, flags=1, data=FALSE
12/14 09:15:03 yS1  key: 'debug', type=0, flags=3, data=5
12/14 09:15:03 yS1  key: 'verbose', type=3, flags=2, data=TRUE
12/14 09:15:03 yS1  key: '', type=3, flags=1, data=FALSE
12/14 09:15:03 yS1  key: 'page-header', type=1, flags=0, data=(empty)
12/14 09:15:03 yS1  key: '', type=3, flags=1, data=FALSE
12/14 09:15:03 yS1  fax_send: 'ATV1Q0'
12/14 09:15:03 yS1  fax_wait_for(OK)
12/14 09:15:03 yS1  fax_wait_for: string 'ATV1Q0'
12/14 09:15:03 yS1  fax_wait_for: string 'OK'** found **
12/14 09:15:03 yS1  fax_send: 'AT+FCLASS=2.0'
12/14 09:15:03 yS1  mdm_command: string 'AT+FCLASS=2.0'
12/14 09:15:03 yS1  mdm_command: string 'OK' -> OK
12/14 09:15:03 yS1  fax_send: 'AT+FLI="+49 441 86137"'
12/14 09:15:03 yS1  mdm_command: string 'AT+FLI="+49 441 86137"'
12/14 09:15:03 yS1  mdm_command: string 'OK' -> OK
12/14 09:15:03 yS1  fax_send: 'AT+FCC=1,5,0,2,0,0,0,0'
12/14 09:15:03 yS1  mdm_command: string 'AT+FCC=1,5,0,2,0,0,0,0'
12/14 09:15:03 yS1  mdm_command: string 'OK' -> OK
12/14 09:15:03 yS1  fax_send: 'AT+FBO=0'
12/14 09:15:03 yS1  mdm_command: string 'AT+FBO=0'
12/14 09:15:03 yS1  mdm_command: string 'OK' -> OK
12/14 09:15:03 yS1  fax_send: 'AT+FNR=1,1,1,0'
12/14 09:15:03 yS1  mdm_command: string 'AT+FNR=1,1,1,0'
12/14 09:15:03 yS1  mdm_command: string 'OK' -> OK
12/14 09:15:03 yS1  fax_send: 'AT+FLO=2'
12/14 09:15:03 yS1  mdm_command: string 'AT+FLO=2'
12/14 09:15:03 yS1  mdm_command: string 'OK' -> OK
12/14 09:15:03 yS1  fax_send: 'AT&H3'
12/14 09:15:03 yS1  mdm_command: string 'AT&H3'
12/14 09:15:03 yS1  mdm_command: string 'OK' -> OK
12/14 09:15:03 yS1  fax_send: 'ATD3008176'
12/14 09:15:03 yS1  fax_wait_for(OK)
12/14 09:15:03 yS1  fax_wait_for: string 'ATD3008176'
12/14 09:15:48 yS1  fax_wait_for: string '+FCO'
12/14 09:15:48 yS1  fax_wait_for: string '+FCI:04413008176          '
12/14 09:15:48 yS1  fax_id: '+FCI:04413008176          '
12/14 09:15:48 yS1  fax_wait_for: string '+FIS:1,5,0,2,0,0,0,0'
12/14 09:15:48 yS1  fax_wait_for: string 'OK'** found **
12/14 09:15:48 yS1  fax_send_page("f1.g3") started...
12/14 09:15:48 yS1  tio_set_flow_control( HARD )
12/14 09:15:48 yS1  fax_send: 'AT+FDT'
12/14 09:15:48 yS1  fax_wait_for(CONNECT)
12/14 09:15:48 yS1  fax_wait_for: string 'AT+FDT'
12/14 09:15:55 yS1  fax_wait_for: string '+FCS:1,5,0,2,0,0,0,0'
12/14 09:15:55 yS1  transmission par.: '+FCS:1,5,0,2,0,0,0,0'
12/14 09:15:55 yS1  fax_wait_for: string 'CONNECT'** found **
12/14 09:15:55 yS1  tio_set_flow_control( HARD XON_OUT )
12/14 09:15:55 yS1  sending f1.g3...
12/14 09:16:07 yS1  page complete, 28187 bytes sent
12/14 09:16:07 yS1  sending DLE '.'
12/14 09:16:15 yS1  got response: 'ERROR'
12/14 09:16:15 yS1  fax_send_page("f1.g3") started...
12/14 09:16:15 yS1  tio_set_flow_control( HARD )
12/14 09:16:15 yS1  fax_send: 'AT+FDT'
12/14 09:16:15 yS1  fax_wait_for(CONNECT)
12/14 09:16:15 yS1  fax_wait_for: string 'AT+FDT'
12/14 09:16:22 yS1  fax_wait_for: string '+FCS:1,5,0,2,0,0,0,0'
12/14 09:16:22 yS1  transmission par.: '+FCS:1,5,0,2,0,0,0,0'
12/14 09:16:22 yS1  fax_wait_for: string 'CONNECT'** found **
12/14 09:16:22 yS1  tio_set_flow_control( HARD XON_OUT )
12/14 09:16:22 yS1  sending f1.g3...
12/14 09:16:34 yS1  page complete, 28187 bytes sent
12/14 09:16:34 yS1  sending DLE '.'
12/14 09:16:42 yS1  got response: 'ERROR'
12/14 09:16:42 yS1  max. tries (2) reached, going on
12/14 09:16:42 yS1  fax_send: 'AT+FCLASS=0'
12/14 09:16:42 yS1  removing lock file
12/14 09:16:42 ##### success, phone="3008176", time=99s




-- 
___/ Carsten Borchardt, Donnerschweer Str. 54, 26123 Oldenburg, Germany \___
   \ Tel.: +49 441 86137                    email: carsten@bor.north.de /