CUPS printing and faxing problem (resend-2)
Stephen Liu
satimis at icare.com.hk
Sat May 17 12:59:01 CEST 2003
Hi Michael
Thanks for your advice. All tests hereunder described are done as ROOT
On Fri, 2003-05-16 at 20:04, Michael Goffioul wrote:
- snip -
> Select the "Print through external program" plugin, an edit widget
> the appears in the print dialog, named "Print command". Enter the
> print command in that field. Be sure to select the PS_printer
> item as printer to enable that edit field.
Start "Print - Konqueror
- select Name "PS_Print"
- select Print system currently used: "Print through an external
program (generic)"
- enter Print command "print"
- click Print
"Catastrophe! - KNotify" window popup
A print error occurred. Error message received from system
Print '/root/.kde/tmp-localhost.localdomain/kdeprint_sBVVb7c': execution
failed with message:
/bin/bash: line 1:print:command not found
> Could you try first with a PostScript file, to avoid the internal
> conversion to PS (and the use of "anytops")?
Start Konqueror and Open a document
Start "Print - Konqueror"
Name: select "Print To File (PostScript)"
Print system currently used: select "Print through an external program
(generic)"
Output file : "home/satimis/printps
KStart -> Extras -> Accessories -> Send a Fax
Add File select "/home/satimis/printps
Enter fax_number
Click 'Send Fax'
Not sent
View log;
Sending to fax using: /usr/bin/fax NAME='root' DEV='ttyS1' PAGE=a4
FROM='' send '25907886' '/home/satimis/printps'
/home/satimis/printps.nnn is up-to-date/usr/bin/efax: Sat May 17
11:43:19 2003 efax v 0.9 Copyright 1999 Ed Casas
efax: 43:19 opened /dev/ttyS1efax: 43:25 sync: dropping DTRefax: 43:30
sync: sending escapesefax: 43:35 Error: sync: modem not responding
efax: 43:35 failed -> /home/satimis/printps.001
efax: 43:35 done, returning 4 (no response from modem) There were
errors (see T25907886.log).
# cat /home/satimis/T25907886.log
/usr/bin/efax: Fri May 9 11:06:17 2003 efax v 0.9 Copyright 1999 Ed
Casas
efax: 06:17 compiled Aug 7 2002 02:38:18
efax: 06:17 TIFF version 4.2 file (little-endian)
efax: 06:17 TIFF directory at 8 with 20 tags, last image.
efax: 06:17 page 1 : /tmp/kde-satimis/kprinter_1359.001 + 338 :
1728x2156 @ 204x196 dpi TIFF/FAX
efax: 06:17 argv[0]=/usr/bin/efax
efax: 06:17 argv[1]=-v
efax: 06:17 argv[2]=ewin
efax: 06:17 argv[3]=-v
efax: 06:17 argv[4]=chewmainrxtf
efax: 06:17 argv[5]=-d/dev/modem
efax: 06:17 argv[6]=-x
efax: 06:17 argv[7]=/var/lock/LCK..modem
efax: 06:17 argv[8]=-iZ
efax: 06:17 argv[9]=-i&FE&D2S7=120
efax: 06:17 argv[10]=-i&C0
efax: 06:17 argv[11]=-iM1L0
efax: 06:17 argv[12]=-l
efax: 06:17 argv[13]=
efax: 06:17 argv[14]=-kZ
efax: 06:17 argv[15]=-h
efax: 06:17 argv[16]=2003/05/09 11:06 Stephen p. %d/%d
efax: 06:17 argv[17]=-t
efax: 06:17 argv[18]=T25907886
efax: 06:17 argv[19]=/tmp/kde-satimis/kprinter_1359.001
efax: 06:17 Error: can't open pre-lock file /var/lock/TMP..01479:
Permission denied
efax: 06:17 failed -> /tmp/kde-satimis/kprinter_1359.001
efax: 06:17 done, returning 2 (unrecoverable error)
# ls -l /var/lock/
No such a file "TMP..01479" found
Test kppp
No problem. ISP connected
B.Regards
Stephen
More information about the kde-print
mailing list