Re: "notify" and converted tiff availability
Lee Howard <[email protected]>
| Newsgroups | gmane.comp.telephony.fax.hylafax.devel |
|---|---|
| Message-ID | <[email protected]> |
[email protected] wrote: > Hello, > when I send a fax, I'd like to be able to confirm not only that it has > been sent > successfully but also what exactly has been sent. There seem to > be no easy way to do this with > current hylafax, unless I'm missing > something. > My understanding is that, when a fax is queued, > hylafax converts it to > tiff and adds "fax:" lines in the qfile pointing to the generated tiff > > files. After successfully sending the fax (that is, the generated > TIFFs are transmitted), notify is > called with reason "done", but at > that point the "fax:" lines have already been removed, together > with > the generated TIFFs. > So there is no way to see what exactly has been sent It's a multi-step process. The document is provided to the server, and the server uses tiff2fax, pdf2fax, or ps2fax to convert it into "fax" format data that faxsend will accept. This "fax" format is actually TIFF with MH, MR, or MMR data in it. faxsend, in turn, takes that data and it may do a on-the-fly conversion with it in-memory between MH, MR, and MMR formats (or even JBIG). Also at that time faxsend images the tagline on-top of the page (again, in-memory). So even the file on-disk never is the exact data that was transmitted. In FaxNotify you can use RETURNFILETYPE to get notify to return to you the documents that you submitted. Obviously, they're not exactly what was transmitted... but for now that's about as good as it gets. If this is a critical feature to develop, then in HylaFAX+ there is a "SaveRawImage" feature that you could look for. That only saves the last page sent. But you could expand this feature to save the data in a multi-page TIFF file, etc. Thanks, Lee. ____________________ HylaFAX(tm) Developers Mailing List ____________________ To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi On UNIX: mail -s unsubscribe [email protected] < /dev/null