?? 961-964.html
字號:
<HTML>
<HEAD>
<TITLE>Linux Unleashed, Third Edition:HylaFAX</TITLE>
<SCRIPT>
<!--
function displayWindow(url, width, height) {
var Win = window.open(url,"displayWindow",'width=' + width +
',height=' + height + ',resizable=1,scrollbars=yes');
}
//-->
</SCRIPT>
</HEAD>
-->
<!--ISBN=0672313723//-->
<!--TITLE=Linux Unleashed, Third Edition//-->
<!--AUTHOR=Tim Parker//-->
<!--PUBLISHER=Macmillan Computer Publishing//-->
<!--IMPRINT=Sams//-->
<!--CHAPTER=60//-->
<!--PAGES=961-964//-->
<!--UNASSIGNED1//-->
<!--UNASSIGNED2//-->
<CENTER>
<TABLE BORDER>
<TR>
<TD><A HREF="958-960.html">Previous</A></TD>
<TD><A HREF="../ewtoc.html">Table of Contents</A></TD>
<TD><A HREF="../ch61/965-968.html">Next</A></TD>
</TR>
</TABLE>
</CENTER>
<P><BR></P>
<H3><A NAME="Heading5"></A><FONT COLOR="#000077">Sending a Fax</FONT></H3>
<P>To send a fax using HylaFAX, use the <TT>sendfax</TT> command. Usually you will send a Postscript (or Ghostscript) file or a TIFF document using the <TT>sendfax</TT> command. Some other file formats (such as ASCII and troff) are converted automatically by <TT>sendfax</TT> before being sent. Check the documentation that accompanies your version of HylaFAX to find out which file formats are supported.</P>
<H4 ALIGN="LEFT"><A NAME="Heading6"></A><FONT COLOR="#000077">The sendfax Options</FONT></H4>
<P>There are a lot of options possible with <TT>sendfax</TT>, as Table 60.1 shows. These options can be combined in any order in a complete command.</P>
<TABLE WIDTH="100%"><CAPTION ALIGN=LEFT><B>Table 60.1.</B> HylaFAX <TT>sendfax</TT> command options.
<TR>
<TH COLSPAN="2"><HR>
<TR>
<TH WIDTH="30%" ALIGN="LEFT">HylaFAX option
<TH WIDTH="70%" ALIGN="LEFT">What it does
<TR>
<TH COLSPAN="2"><HR>
<TR>
<TD><TT>-c</TT>
<TD>For comments
<TR>
<TD><TT>-d</TT>
<TD>Specifies destination
<TR>
<TD><TT>-f</TT>
<TD>From
<TR>
<TD><TT>-h</TT>
<TD>Host name
<TR>
<TD><TT>-i</TT>
<TD>Identifier to place on fax
<TR>
<TD><TT>-k</TT>
<TD>Gives the kill time
<TR>
<TD><TT>-l</TT>
<TD>Low resolution mode
<TR>
<TD><TT>-m</TT>
<TD>Medium resolution mode
<TR>
<TD><TT>-n</TT>
<TD>Suppresses cover page
<TR>
<TD><TT>-p</TT>
<TD>Specify page count to include on cover and pages
<TR>
<TD><TT>-r</TT>
<TD>Regarding text
<TR>
<TD><TT>-s</TT>
<TD>Specifies the page size name (default size is 8.5x11)
<TR>
<TD><TT>-t</TT>
<TD>Number of tries to use
<TR>
<TD><TT>-v</TT>
<TD>Echoes status messages to screen
<TR>
<TD><TT>-x</TT>
<TD>Company name to send to
<TR>
<TD><TT>-y</TT>
<TD>Location to send to
<TR>
<TD><TT>-D</TT>
<TD>Notify sender by e-mail when fax sent
<TR>
<TD><TT>-R</TT>
<TD>Notify sender by e-mail if fax must be requeued
<TR>
<TD COLSPAN="2"><HR>
</TABLE>
<P>A cover page is generated by default by HylaFAX whenever you send a fax. The information on the cover page is taken from command line arguments to the <TT>sendfax</TT> command. Low resolution mode (98 lines per inch) is used by default unless you override it with fine resolution (196 lines per inch), called medium resolution by HylaFAX. HylaFAX will retry sending a fax until it connects within 24 hours of the <TT>sendfax</TT> command. To override this retry time, use the <TT>-k</TT> option.</P>
<H4 ALIGN="LEFT"><A NAME="Heading7"></A><FONT COLOR="#000077">Cover Pages</FONT></H4>
<P>If you want to override the default HylaFAX cover page, you can use the <TT>faxcover</TT> command to specify the desired contents. The <TT>faxcover</TT> command creates a Postscript sheet for the cover that is attached to the front of each of your outgoing faxes.</P>
<P>There are several options supported by faxcover, as shown in Table 60.2. These options can be combined in any order.</P>
<TABLE WIDTH="100%"><CAPTION ALIGN=LEFT><B>Table 60.2.</B> The <TT>faxcover</TT> command options.
<TR>
<TH COLSPAN="2"><HR>
<TR>
<TH WIDTH="40%" ALIGN="LEFT">Faxcover option
<TH WIDTH="60%" ALIGN="LEFT">What it does
<TR>
<TH COLSPAN="2"><HR>
<TR>
<TD><TT>-c</TT>
<TD>Comment
<TR>
<TD><TT>-C</TT>
<TD>Specify a template file
<TR>
<TD><TT>-f</TT>
<TD>From
<TR>
<TD><TT>-l</TT>
<TD>The destination location
<TR>
<TD><TT>-n</TT>
<TD>Sender’s fax number
<TR>
<TD><TT>-p</TT>
<TD>Page count
<TR>
<TD><TT>-r</TT>
<TD>Regarding (Re) comment
<TR>
<TD><TT>-s</TT>
<TD>Pagesize name
<TR>
<TD><TT>-t</TT>
<TD>Recipient
<TR>
<TD><TT>-v</TT>
<TD>Destination voice line number
<TR>
<TD><TT>-x</TT>
<TD>Destination company name
<TR>
<TD COLSPAN="2"><HR>
</TABLE>
<H3><A NAME="Heading8"></A><FONT COLOR="#000077">Receiving a Fax</FONT></H3>
<P>If you allow HylaFAX to receive faxes, they are placed in the subdirectory <TT>recvq</TT> under the HylaFAX directory. All incoming faxes are saved as TIFF files. Access to the fax receiver directory can be controlled by the system administrator.</P>
<P>When a fax is received, HylaFAX sends a fax to a user login set by the variable <TT>FaxMaster</TT>. Alternatively, you can write a shell script that checks for the user the fax is destined for and sends email to them, or spools the incoming fax automatically to a printer.</P>
<P>HylaFAX uses a server process called <TT>faxrcvd</TT> to receive faxes. The daemon is clever enough to try to determine whether the incoming call is a fax call or a voice call. This allows the same modem to be used for incoming faxes and data calls, which are answered by UUCP or a getty process.</P>
<H3><A NAME="Heading9"></A><FONT COLOR="#000077">Summary</FONT></H3>
<P>In this chapter you’ve seen how to configure and use HylaFAX, probably the most powerful and effective fax application available for Linux that doesn’t require you to shell out money. From here, there are a number of other chapters that you may want to read:
</P>
<DL>
<DD>To learn about Ghostscript, which is useful for viewing and producing PostScript files, see Chapter 24, “Ghostscript and Ghostview.”
<DD>To learn about setting up modems on your system, see Chapter 33, “Devices.”
<DD>To learn about backing up your system so you don’t have to reconfigure HylaFAX, read Chapter 45, “Backups.”
</DL>
<P><BR></P>
<CENTER>
<TABLE BORDER>
<TR>
<TD><A HREF="958-960.html">Previous</A></TD>
<TD><A HREF="../ewtoc.html">Table of Contents</A></TD>
<TD><A HREF="../ch61/965-968.html">Next</A></TD>
</TR>
</TABLE>
</CENTER>
</td>
</tr>
</table>
<!-- begin footer information -->
</body></html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -