using a "webfax" via kprinter?
Goffioul Michael
goffioul at imec.be
Wed Jan 14 12:06:31 CET 2004
Hi,
What you describe below is the kind of extension that should
be completely doable using KDEPrint pseudo-printer mechanism
(like it is done for instance for PDF generation).
What you need is 2 things:
- an executable that performs the wanted operation, including:
. converting the input format to TIFF
. use a mail client to send the mail
you can implement this in a script, and make it configurable
such that it can read various parameters from the command
line, such as the fax number and the domain name
- an XML file describing the pseudo-printer, as well as the
command option for the fax number and the domain name (those
options will be accessible in the printer properties dialog)
for an example, see $KDEDIR/share/apps/kdeprint/filters/ps2pdf.xml
Such an XMl file can be constructed with the GUI provided by
KDEPrint, look in the KDEPrint Settings dialog -> "Filter"
section
Note finally that when defining your pseudo-printer, you can
could application/x-tiff (or whatever the correct mimetype is)
as input format. Doing this, you would partially leave the
TIFF conversion to KDEPrint. Indeed, you then only need to
provide a PS->TIFF conversion tool and integrate it as a new
filter: KDEPrint will compute automatically the any->PS filter
for you.
Michael.
> -----Original Message-----
> From: [mailto:b_a_b_a at excite.com]
> Sent: Monday, January 12, 2004 18:18
> To: kde-print at kde.org
> Subject: using a "webfax" via kprinter?
[snip]
> so the structure would be:
> apllication ->
> print ->
> kprinter ->
> print to "webfax"
> -> enter faxnumber
> -> convert ps to tiff (g3-compatible)
> -> use mailapplication to send (in background) the fax
> -> use the faxnumer given above as the "left part" of the
> receiver-emailaddress (faxnumerofreceiver at fax.provider.de)
> -> this "right part" (subdomain.domain) should be saved in
> the preferences
More information about the kde-print
mailing list