2004-02-08 Gernot Hillier <gernot@hillier.de>
* scripts/capisuitefax.in: also accept PDF files git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@227 4ebea2bb-67d4-0310-8558-a5799e421b66
This commit is contained in:
parent
a67f0e5b9f
commit
ca4f537803
|
@ -14,6 +14,7 @@
|
||||||
* src/modules/faxsend.{cpp,h} (mainLoop): Likewise.
|
* src/modules/faxsend.{cpp,h} (mainLoop): Likewise.
|
||||||
* src/backend/connection.cpp (data_b3_conf): fix behaviour when
|
* src/backend/connection.cpp (data_b3_conf): fix behaviour when
|
||||||
DATA_B3_CONF comes immediately after DATA_B3_REQ
|
DATA_B3_CONF comes immediately after DATA_B3_REQ
|
||||||
|
* scripts/capisuitefax.in: also accept PDF files
|
||||||
|
|
||||||
2004-01-18 Gernot Hillier <gernot@hillier.de>
|
2004-01-18 Gernot Hillier <gernot@hillier.de>
|
||||||
* scripts/cs_helpers.pyin (sendMIMEMail): remove space in sox call
|
* scripts/cs_helpers.pyin (sendMIMEMail): remove space in sox call
|
||||||
|
|
3
NEWS
3
NEWS
|
@ -1,6 +1,9 @@
|
||||||
0.5 (CVS nn):
|
0.5 (CVS nn):
|
||||||
=============
|
=============
|
||||||
|
|
||||||
|
* scripts: capisuitefax now also accepts PDF files (thx to Jochen Meyer
|
||||||
|
and Eckhard Rüggeberg for reporting)
|
||||||
|
|
||||||
* core: fixed a bug which could lead to a crash when some unexpected
|
* core: fixed a bug which could lead to a crash when some unexpected
|
||||||
CAPI messages arrived (thx to Karsten Keil for analyzing)
|
CAPI messages arrived (thx to Karsten Keil for analyzing)
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# ---------------------------------------------------
|
# ---------------------------------------------------
|
||||||
# copyright : (C) 2002 by Gernot Hillier
|
# copyright : (C) 2002 by Gernot Hillier
|
||||||
# email : gernot@hillier.de
|
# email : gernot@hillier.de
|
||||||
# version : $Revision: 1.6 $
|
# version : $Revision: 1.7 $
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# This program is free software; you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
@ -49,7 +49,7 @@ other options:
|
||||||
-h, --help print this usage information
|
-h, --help print this usage information
|
||||||
-l, --list print jobs in the send queue
|
-l, --list print jobs in the send queue
|
||||||
|
|
||||||
The given files must be in Adobe PostScript format"""
|
The given files must be in Adobe PostScript or PDF format"""
|
||||||
if (error!=""):
|
if (error!=""):
|
||||||
print
|
print
|
||||||
print "ERROR:",error
|
print "ERROR:",error
|
||||||
|
@ -186,8 +186,9 @@ for i in args:
|
||||||
filetype=t.read()
|
filetype=t.read()
|
||||||
if (t.close()):
|
if (t.close()):
|
||||||
usage("can't execute \"file\"")
|
usage("can't execute \"file\"")
|
||||||
if (not re.search("application/postscript",filetype)):
|
if (not re.search("application/postscript",filetype) \
|
||||||
sys.stderr.write(i+" is not a PostScript file\n")
|
and not re.search("application/pdf",filetype)):
|
||||||
|
sys.stderr.write(i+" is not a PostScript/PDF file\n")
|
||||||
continue
|
continue
|
||||||
|
|
||||||
newname=cs_helpers.uniqueName(sendq,"fax","sff")
|
newname=cs_helpers.uniqueName(sendq,"fax","sff")
|
||||||
|
|
Loading…
Reference in New Issue