Adding a text banner to a tiff file.
Posted: 2006-12-04T04:05:52-07:00
Hi.
We receive faxes via a fax card (4 lines - around 1000 pages a day).
I currently have a script which takes the fax (which may contain multiple pages), splits them into individual pages, gives them a unique name based upon the date and time the fax was received and the page number for the day (so we have file names like 2006-12-04__09-53_30__Page-0021__xxxxxx.tif, where xxxxxx is a magic code which is typed by the users to match the work they do to a fax page.
As part of the script, an email is generated to the job manager account which sends the fax to the next available operator.
The operator receives a fax via an email. The email contains a http link to the fax. They open the fax, maybe add annotations, enter the data on the fax into the accounts, save, etc. Finally they tag the fax as entered. This removes the fax from their email box and triggers the next page.
A fax of 50 pages may be entered by 50 different operators as the pages are not connected in any way. Each page is a job performed by a mechanic and they send their work in batches.
So. Thats the working scenario.
Now the problem.
SOMETIMES, the software responsible for passing the jobs out to the operators fails. Not my software, and I am NOT in a position to do anything about it. The authors are always "looking into it" and I'm REALLY fed up with it.
As a fix, I add another step to my script to actually print the fax. This means we have our digital copy available on the server and a hard copy for them to enter the data from, but no mechanism to join them together.
What I want to be able to do is to take a single page TIFF file, increase the length of the file and add a line of text which is basically the filename.
All of this is being done in a combination of .BAT, some PHP and a few Cygwin tools on Windows.
Any suggestions? Can I do the writing to a tiff file using ImageMagick?
Thank you.
Richard Quadling.
We receive faxes via a fax card (4 lines - around 1000 pages a day).
I currently have a script which takes the fax (which may contain multiple pages), splits them into individual pages, gives them a unique name based upon the date and time the fax was received and the page number for the day (so we have file names like 2006-12-04__09-53_30__Page-0021__xxxxxx.tif, where xxxxxx is a magic code which is typed by the users to match the work they do to a fax page.
As part of the script, an email is generated to the job manager account which sends the fax to the next available operator.
The operator receives a fax via an email. The email contains a http link to the fax. They open the fax, maybe add annotations, enter the data on the fax into the accounts, save, etc. Finally they tag the fax as entered. This removes the fax from their email box and triggers the next page.
A fax of 50 pages may be entered by 50 different operators as the pages are not connected in any way. Each page is a job performed by a mechanic and they send their work in batches.
So. Thats the working scenario.
Now the problem.
SOMETIMES, the software responsible for passing the jobs out to the operators fails. Not my software, and I am NOT in a position to do anything about it. The authors are always "looking into it" and I'm REALLY fed up with it.
As a fix, I add another step to my script to actually print the fax. This means we have our digital copy available on the server and a hard copy for them to enter the data from, but no mechanism to join them together.
What I want to be able to do is to take a single page TIFF file, increase the length of the file and add a line of text which is basically the filename.
All of this is being done in a combination of .BAT, some PHP and a few Cygwin tools on Windows.
Any suggestions? Can I do the writing to a tiff file using ImageMagick?
Thank you.
Richard Quadling.