Exista un script numit faxrcvd care este rulat de fiecare data cind se primeste un fax. De regula se trimite faxul receptionat la o adresa de mail, dar poti sa faci ce vrei tu in el. Daca nu stii bash, nu ai decit sa faci scriptul in alt limbaj (perl, python..).
John Smith wrote:
cum se printeaza automat din hylafax cand se primeste un fax?
in HylaFAQ am gasit urmatorul post.... dar foarte confuz pentru mine:
TIFF/Class F is the format in which HylaFAX stores received facsimile. There is documentation on the faxrcvd script invoked by the fax server for each received facsimile. To print each received fax just modify the script according to your local needs. For example, you might use fax2ps (in the HylaFAX distribution) piped to ghostscript with the Laserjet driver.
/usr/local/bin/fax2ps $1 | gs -q -sDEVICE=ljet3 -dNOPAUSE -sOutputFile=- | lp
Another useful program to use when printing TIFF images is the tiff2ps program that is included in the TIFF software distribution.
If you are using cups-printing system, you may need to use:
lpr $1 -o natural-scaling=95 -o media=A4
ma poate ajuta cineva?
--
Pentru dezabonare, trimiteti mail la [EMAIL PROTECTED] cu subiectul 'unsubscribe rlug'.
REGULI, arhive si alte informatii: http://www.lug.ro/mlist/
