Nordic Star Products 4.3A manual Scheduled transmissions, ID of the fax in the queue, Script xfax

Page 14

Sending a fax

This sends the file news.txt to the recipients who are shown in the file customer- fax.

If this method is used then only one copy of the fax file is saved, plus a small control file per recipient, which means that a minimum of hard disk space is taken up.

4.4 Scheduled transmissions

A particular time for transmission can be given by using the parameter -t with the time as an argument. E.g.:

# faxsend -t 12:18 7586535 letter

which means that the file letter is put in the queue for transmission at 18 minutes past 12.

Naturally it is possible to combine the above functions so that e.g.:

# cat newsletter faxsend -l customerlist -t 0:30 -

puts newsletter in a queue for transmission to all customers whose fax number is in the customerlist file. However the actual transmission does not begin before

12.30at night, perhaps to minimize telephone costs.

4.5The ID of the fax in the queue

Each fax is given its own unique identity number before being placed in its respective queue. When being transmitted, the fax’s ID can be shown on the screen, after the fax has been placed in the queue, by giving the parameter -id to faxsend. It can look like this:

#faxsend -id 7586535 letter Converting files...OK Placing fax in queue...OK 1136

The above fax received the ID 1136.

4.6 Printing a fax before sending

By using the parameter -d, the fax can be printed out on a printer.

# faxsend -d laser 7586535 letter

prints out the fax on the laser printer before it is placed in the queue. Normally the UNIX command 1p is used for the printouts as well as the standard printer in the operating system. In order to change this the keywords LP, LP_PRINT- OPTION and DEFAULT_PRINTER in the configuration file are used.

4.7 The script xfax

Accompanying the XFAX distribution is a small command script known as xfax, which can be found under BINDIR. This command is for sending a fax, together

XFAX - User’s Guide 4.3a

14

Image 14
Contents Xfax Contents Characterset Defaultfont DefaultmarginDialprefix Defaultprinter Dialtimeout Httpenable Waitfortone Bindir OverviewEtcdir SpooldirXfaxdir Installation Environment variables Configuring the softwareKeywords Adding actions Xfax and multiple fax devicesConfiguring the software Xfax User’s Guide 4.3a Sending a fax FaxsendAttaching a note to a fax One fax to several recipients group transmissionPrinting a fax before sending Scheduled transmissionsID of the fax in the queue Script xfaxScript faxadm Document codesTelephone cost file ETCDIR/cost ChargeperminuteAreacodes 08LOCAL 031AREA 3 009ABROAD 0091USA LocalzoneLOCALZONE=LOCALLY Areacodes Receiving faxes Automatic printing of incoming faxesHandling faxes Fax queuesScheduling a fax Canceling of a faxReschedule a fax IntrListing faxes in a particular directory Routine maintenancePrinting a fax Cleaning the statistics file Using the client Using the address book in XfaxInstallation Xfax in a Windows environmentXfax in a Windows environment Cover sheets the old way Using overlay files as forms and cover pagesOverlay files and cover sheets Time MessageDate Overlay files and cover sheets Xfax and e-mail SendmailScript faxmail Xfax and e-mail Installing Ghostscript and the Xfax driver Troubleshooting Integrated Http server Integrated Smtp server Modems and flow control Command reference CommandsFaxmime FaxmailFaxmaster From FaxprintFaxq SubjectFaxrm Faxsend1234 7586535 faxfile Faxwho FaxsrFaxstat Exit codes General keywords AccesshttpKeyword reference FaxlineAcceptusers AccesssmtpAdministrator AlertuserBrokenselect CharactersetDefaultprinter DefaultfontDefaultmargin DialtimeoutExecuteafterreceive DomainExecworkdir ExecuteaftersendFaildir ExecutebeforesendExitstring FailfaxnoHttpenable Jetfaxcopy InitstringJetfaxbusytries JetfaxpagetimeLocalprefix LockingstyleMailonsuccess MailonerrorLpprintoption Partialpages NoerrorsaveNostatistics PrintrectoleftReversestats ResolutionReceiveonly RoundrobinSmtpserver SmtpenableSmtpsender 15.1.82 T30RTC Symbolset15.1.81 T30ECM 15.1.83 T30PAGELENGTHWaitfordialtone WaitfortoneXonxoff Troubleshooting Troubleshooting Technical specifications Typefaces in Xfax Index