Nordic Star Products 4.3A manual Printing a fax, Listing faxes in a particular directory

Page 21

Handling faxes

6.5 Printing a fax

Faxes that lie in a queue for outgoing faxes plus received faxes can be printed out on an HP Laserjet compatible printer. The command that is used is faxprint with the fax’s ID or a file name as an argument. The fax’s ID can be obtained by means of the command faxq.

For example:

# faxprint -d LASER 28

in order to print out a fax with ID 28 on the printer LASER, or

# faxprint -d hplj /usr/spool/fax/D.00023

in order to print out the fax file D.00023 on the printer hplj.

Normally, the UNIX command lp is used for printing and the standard printer in the operativing system. To change this the keywords LP, LP_PRINT_OPTION and DEFAULT_PRINTER in the configuration file can be used.

6.6 Listing faxes in a particular directory

Faxes that it has not been possible to transmit after the maximum number of attempts specified will be, if NO_ERROR_SAVE has not been defined, moved to the directory Fax under the home directory of the user who placed the fax in the queue. In order to list the faxes that are in this, or some other directory, the parameter -dis used to faxq. When this parameter is used alone, files in $HOME/Fax are shown. E.g.:

#faxq -d Directory /Fax

ID

Fax number

Sec Try Time

LC User

Pgs

14

55576861

2 3 11:01 19980601 BUSY stenor

2

The command searches for files which have a name beginning with S. and R. and which are recognized as XFAX files. The information that is listed includes the recipient’s fax number, the time when the fax was first placed in the queue plus the name of the user who placed the fax in the queue.

6.7 Routine maintenance

When XFAX is set up in accordance with requirements and started, the system requires very little maintenance. It can be worth keeping an eye on the size of the statistics file to see that there is no old data and control files remaining in SPOOLDIR. If you run mail integration, there is a debug trigger which creates log files under /tmp or ETCDIR. You will not want to have these files remaining if you run in production.

It is appropriate to set up a job for “cron” which is run each night or similar. Before clearing out the statistics files you can print out the data if you think you might have use for it.

XFAX - User’s Guide 4.3a

21

Image 21
Contents Xfax Contents Defaultfont Defaultmargin Dialprefix Defaultprinter DialtimeoutCharacterset Httpenable Waitfortone Etcdir OverviewBindir SpooldirXfaxdir Installation Configuring the software KeywordsEnvironment variables Xfax and multiple fax devices Adding actionsConfiguring the software Xfax User’s Guide 4.3a Faxsend Sending a faxOne fax to several recipients group transmission Attaching a note to a faxID of the fax in the queue Scheduled transmissionsPrinting a fax before sending Script xfaxDocument codes Script faxadmChargeperminute Telephone cost file ETCDIR/costLocalzone LOCALZONE=LOCALLY AreacodesAreacodes 08LOCAL 031AREA 3 009ABROAD 0091USA Automatic printing of incoming faxes Receiving faxesFax queues Handling faxesReschedule a fax Canceling of a faxScheduling a fax IntrRoutine maintenance Printing a faxListing faxes in a particular directory Cleaning the statistics file Installation Using the address book in XfaxUsing the client Xfax in a Windows environmentXfax in a Windows environment Using overlay files as forms and cover pages Overlay files and cover sheetsCover sheets the old way Message DateTime Overlay files and cover sheets Sendmail Xfax and e-mailScript faxmail Xfax and e-mail Installing Ghostscript and the Xfax driver Troubleshooting Integrated Http server Integrated Smtp server Modems and flow control Commands Command referenceFaxmail FaxmasterFaxmime Faxq FaxprintFrom SubjectFaxsend Faxrm1234 7586535 faxfile Faxsr FaxstatFaxwho Exit codes Keyword reference AccesshttpGeneral keywords FaxlineAdministrator AccesssmtpAcceptusers AlertuserCharacterset BrokenselectDefaultmargin DefaultfontDefaultprinter DialtimeoutExecworkdir DomainExecuteafterreceive ExecuteaftersendExitstring ExecutebeforesendFaildir FailfaxnoHttpenable Jetfaxbusytries InitstringJetfaxcopy JetfaxpagetimeLockingstyle LocalprefixMailonerror LpprintoptionMailonsuccess Nostatistics NoerrorsavePartialpages PrintrectoleftReceiveonly ResolutionReversestats RoundrobinSmtpenable SmtpsenderSmtpserver 15.1.81 T30ECM Symbolset15.1.82 T30RTC 15.1.83 T30PAGELENGTHWaitfortone XonxoffWaitfordialtone Troubleshooting Troubleshooting Technical specifications Typefaces in Xfax Index