Hylafax Mailing List Archives

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

[hylafax-users] Enhancement to sambafax = sambamultifax



Hi to all.

I have made an enhancement to the sambafax cups backend to perform the 
following:

Make possible to send multiple faxes in one document (very usefull for 
mailings)

with this enhancement you can print to the sambafax printer one document os 
several sheets, the script will break the ps into pages, determines the 
composition of pages of every fax, compose several documents (regarding the 
number of faxes to be sent) and call sendfax for every one of this documents.

you mark the begin of each fax with the tag: BeginHylaFax : 9999999999 (where 
999999999 are the destination number) 

and mark the end of each fax with the tag EndHylaFax



example:

you compose a document of 4 sheets

First page

BeginHylaFax : 999999999

hi this is a 1 page fax

EndHylaFax

Second Page

BeginHylaFax : 888888888

hi this is a 3 page fax

Third Page

this is the second page of this fax

Fourth Page

This is the last page of this Fax

EndHylaFax


when you print this document

the sambamultifax:

1 creates a dir in /tmp with the process number
2 creates in this directory the .ps and the .pdf of this document
3 creates one directory for the burst in pages of the ps and another for the 
final documents to send
4 burst the original pdf in pages using pdftk (great tool)
5 detects the composition of the faxes by scaning the pages and composes the 
final documents in the final directory
6 call sendfax for each document in the final folder
7 delete the /tmp/Processnumber directory

i have make several tests and is working fine.

anywhere to upload this script?

Greetings


 
-- 

Un Saludo.

Carlos Lorenzo Matés

Attachment: pgp00008.pgp
Description: PGP signature



Home
Report any problems to webmaster@hylafax.org

HylaFAX is a trademark of Silicon Graphics Corporation.
Internet connectivity for hylafax.org is provided by:
VirtuALL Private Host Services