Send to Fax problem (Former: CUPS printing and faxing problem)

Stephen Liu satimis at icare.com.hk
Wed May 21 02:22:32 CEST 2003


Hi all folks,

RH8.0
KDE 3.0.3.-8.3

Now I have made CUPS server running and printing is without problem

# /sbin/service cups status
cupsd (pid 1001) is running...

# /sbin/service lpd status
lpd is stopped

Removed LOCK from
/etc/ppp/options

# cat /etc/ppp/options
noauth

But still I could not fax.  I used a PostScript file for testing.

log file as follows;

/usr/bin/efax: Wed May 21 01:01:43 2003 efax v 0.9 Copyright 1999 Ed
Casas
efax: 01:43 compiled Aug  7 2002 02:38:18
efax: 01:43 TIFF version 4.2 file (little-endian)
efax: 01:43 TIFF directory at 8 with 20 tags, last image.
efax: 01:43 page 1 : /root/PS.ps.001 + 338 : 1728x2156 @ 204x196 dpi
TIFF/FAX
efax: 01:43 argv[0]=/usr/bin/efax
efax: 01:43 argv[1]=-v
efax: 01:43 argv[2]=ewin
efax: 01:43 argv[3]=-v
efax: 01:43 argv[4]=chewmainrxtf
efax: 01:43 argv[5]=-d/dev/modem
efax: 01:43 argv[6]=-x
efax: 01:43 argv[7]=/var/lock/LCK..modem
efax: 01:43 argv[8]=-iZ
efax: 01:43 argv[9]=-i&FE&D2S7=120
efax: 01:43 argv[10]=-i&C0
efax: 01:43 argv[11]=-iM1L0
efax: 01:43 argv[12]=-l
efax: 01:43 argv[13]=
efax: 01:43 argv[14]=-kZ
efax: 01:43 argv[15]=-h
efax: 01:43 argv[16]=2003/05/21 01:01  root p. %d/%d
efax: 01:43 argv[17]=-t
efax: 01:43 argv[18]=T24510350
efax: 01:43 argv[19]=/root/PS.ps.001
efax: 01:43 created text lock file /var/lock/LCK..modem
efax: 01:43 opened /dev/modem
efax: 01:43 command  "Q0V1"
efax: 01:43 waiting 2.0 s
efax: 01:44 .019 [ATQ0V1<CR><CR><LF>]
efax: 01:44 .019 [OK<CR><LF>]
efax: 01:44 response "OK"
efax: 01:44 command  "Z"
efax: 01:44 waiting 5.0 s
efax: 01:44 .200 [ATZ<CR><CR><LF>]
efax: 01:44 .200 [OK<CR><LF>]
efax: 01:44 response "OK"
efax: 01:44 command  "&FE&D2S7=120"
efax: 01:44 waiting 5.0 s
efax: 01:44 .347 [AT&FE&D2S7=120<CR><CR><LF>]
efax: 01:44 .347 [OK<CR><LF>]
efax: 01:44 response "OK"
efax: 01:44 command  "&C0"
efax: 01:44 waiting 5.0 s
efax: 01:44 .454 [<CR><LF>OK<CR><LF>]
efax: 01:44 response "OK"
efax: 01:44 command  "M1L0"
efax: 01:44 waiting 5.0 s
efax: 01:44 .562 [<CR><LF>OK<CR><LF>]
efax: 01:44 response "OK"
efax: 01:44 command  "E0"
efax: 01:44 waiting 5.0 s
efax: 01:44 .669 [<CR><LF>OK<CR><LF>]
efax: 01:44 response "OK"
efax: 01:44 command  "I3"
efax: 01:44 waiting 5.0 s
efax: 01:44 .777 [<CR><LF>LT V.92 Data+Fax Modem Version 8.26a<CR><LF>]
efax: 01:44 .777 [<CR><LF>OK<CR><LF>]
efax: 01:44 response "OK"
efax: 01:44 command  "+FCLASS=?"
efax: 01:44 waiting 5.0 s
efax: 01:44 .884 [<CR><LF>0,1<CR><LF>]
efax: 01:44 .884 [<CR><LF>OK<CR><LF>]
efax: 01:44 response "OK"
efax: 01:44 command  "+FCLASS=1"
efax: 01:44 waiting 5.0 s
efax: 01:44 .991 [<CR><LF>OK<CR><LF>]
efax: 01:44 response "OK"
efax: 01:44 using LT V.92 Data+Fax Modem Version 8.26a in class 1
efax: 01:45 command  "+FTM=?"
efax: 01:45 waiting 5.0 s
efax: 01:45 .099
[<CR><LF>3,24,48,72,73,74,96,97,98,121,122,145,146<CR><LF>]
efax: 01:45 .099 [<CR><LF>OK<CR><LF>]
efax: 01:45 response "OK"
efax: 01:45 dialing T24510350
efax: 01:45 command  "DT24510350"
efax: 01:45 waiting 120.0 s
efax: 01:58 .697 [<CR><LF>CONNECT<CR><LF>]
efax: 01:58 response "CONNECT"
efax: 01:58 connected
efax: 02:00 waiting 2.0 s
efax: 02:00 .283 [<CR><LF>OK<CR><LF>]
efax: 02:00 response "OK"
efax: 02:00 Warning: bit-reversed HDLC frame, reversing bit order
efax: 02:00 received 15 bytes:
efax: 02:00  ff c0 04 ad 00 74 ea 62 1a 5c ec 74 0c 99 81
efax: 02:00 received NSF - answering features
efax: 02:00 command  "+FRH=3"
efax: 02:00 waiting 35.0 s
efax: 02:00 .288 [<CR><LF>CONNECT<CR><LF>]
efax: 02:00 response "CONNECT"
efax: 02:01 waiting 2.0 s
efax: 02:01 .120 [<CR><LF>OK<CR><LF>]
efax: 02:01 response "OK"
efax: 02:01 received 25 bytes:
efax: 02:01  ff c0 02 76 86 16 c2 04 9e 36 36 96 42 04 04 04
efax: 02:01  04 04 04 04 04 04 04 5b f9
efax: 02:01 received CSI - answering ID
efax: 02:01 remote ID ->           Billy Chan
efax: 02:01 command  "+FRH=3"
efax: 02:01 waiting 35.0 s
efax: 02:01 .126 [<CR><LF>CONNECT<CR><LF>]
efax: 02:01 response "CONNECT"
efax: 02:01 waiting 2.0 s
efax: 02:01 .611 [<CR><LF>OK<CR><LF>]
efax: 02:01 response "OK"
efax: 02:01 received 12 bytes:
efax: 02:01  ff c8 01 00 77 1f 23 01 01 88 a9 e8
efax: 02:01 received DIS - answering capabilities
efax: 02:01 remote has no document(s) to send, and can receive
efax: 02:01 local   196lpi 14.4kbps 8.5"/215mm  any   1D    -     -  0ms
efax: 02:01 remote  196lpi 14.4kbps 8.5"/215mm  any   2D ECM-64   -  0ms
efax: 02:01 session 196lpi 14.4kbps 8.5"/215mm  any   1D    -     -  0ms
efax: 02:01 command  "+FTH=3"
efax: 02:01 waiting 3.1 s
efax: 02:02 .542 [<CR><LF>CONNECT<CR><LF>]
efax: 02:02 response "CONNECT"
efax: 02:02 sent 23 bytes:
efax: 02:02  ff c0 c2 04 04 04 04 04 04 04 04 04 04 04 04 04
efax: 02:02  04 04 04 04 04 04 04
efax: 02:02 sent TSI - caller ID
efax: 02:02 waiting 13.6 s
efax: 02:02 .548 [<CR><LF>CONNECT<CR><LF>]
efax: 02:02 response "CONNECT"
efax: 02:02 sent 6 bytes: ff c8 c1 00 46 1e
efax: 02:02 sent DCS - session format
efax: 02:02 waiting 13.6 s
efax: 02:03 .642 [<CR><LF>OK<CR><LF>]
efax: 02:03 response "OK"
efax: 02:03 command  "+FTS=8"
efax: 02:03 waiting 3.0 s
efax: 02:03 .728 [<CR><LF>OK<CR><LF>]
efax: 02:03 response "OK"
efax: 02:03 command  "+FTM=145"
efax: 02:03 waiting 3.1 s
efax: 02:03 .734 [<CR><LF>CONNECT<CR><LF>]
efax: 02:03 response "CONNECT"
efax: 02:03 waiting 30.0 s
efax: 02:11 .833 [<CR><LF>ERROR<CR><LF>]
efax: 02:11 response "ERROR"
efax: 02:11 Error: wrong response after waiting 
efax: 02:11 sent TCF - channel check of 2700 bytes
efax: 02:11 local   196lpi 14.4kbps 8.5"/215mm  any   1D    -     -  0ms
efax: 02:11 remote  196lpi 14.4kbps 8.5"/215mm  any   2D ECM-64   -  0ms
efax: 02:11 session 196lpi 14.4kbps 8.5"/215mm  any   1D    -     -  0ms
efax: 02:11 command  "+FTS=8"
efax: 02:11 waiting 3.0 s
efax: 02:11 .919 [<CR><LF>OK<CR><LF>]
efax: 02:11 response "OK"
efax: 02:11 local   196lpi 14.4kbps 8.5"/215mm  any   1D    -     -  0ms
efax: 02:11 remote  196lpi 14.4kbps 8.5"/215mm  any   2D ECM-64   -  0ms
efax: 02:11 session 196lpi 14.4kbps 8.5"/215mm  any   1D    -     -  0ms
efax: 02:11 command  "+FTS=8"
efax: 02:11 waiting 3.0 s
efax: 02:12 .005 [<CR><LF>OK<CR><LF>]
efax: 02:12 response "OK"
efax: 02:12 Error: no command/response from remote
efax: 02:12 command  "+FTH=3"
efax: 02:12 waiting 3.1 s
efax: 02:12 .863 [<CR><LF>CONNECT<CR><LF>]
efax: 02:12 response "CONNECT"
efax: 02:12 sent 3 bytes: ff c8 5f
efax: 02:12 sent DCN - disconnect
efax: 02:12 waiting 13.6 s
efax: 02:13 .187 [<CR><LF>OK<CR><LF>]
efax: 02:13 response "OK"
efax: 02:13 command  "H"
efax: 02:13 waiting 5.0 s
efax: 02:13 .273 [<CR><LF>OK<CR><LF>]
efax: 02:13 response "OK"
efax: 02:13 failed -> /root/PS.ps.001
efax: 02:13 command  "Q0V1"
efax: 02:13 waiting 2.0 s
efax: 02:13 .380 [<CR><LF>OK<CR><LF>]
efax: 02:13 response "OK"
efax: 02:13 command  "Z"
efax: 02:13 waiting 5.0 s
efax: 02:13 .564 [<CR><LF>OK<CR><LF>]
efax: 02:13 response "OK"
efax: 02:13 read HDB pid 3749 [      3749<LF>] from /var/lock/LCK..modem
(our pid)
efax: 02:13 removed lock file /var/lock/LCK..modem
efax: 02:13 done, returning 3 (invalid modem response)

*************************************************

Kindly advise what mistake I have committed.  Thanks in advance.

B.Regards
Stephen Liu






More information about the kde-print mailing list