fax2ps.1.html 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252
  1. <!-- Creator : groff version 1.18.1 -->
  2. <!-- CreationDate: Sat Feb 24 18:37:18 2007 -->
  3. <html>
  4. <head>
  5. <meta name="generator" content="groff -Thtml, see www.gnu.org">
  6. <meta name="Content-Style" content="text/css">
  7. <title>FAX2PS</title>
  8. </head>
  9. <body>
  10. <h1 align=center>FAX2PS</h1>
  11. <a href="#NAME">NAME</a><br>
  12. <a href="#SYNOPSIS">SYNOPSIS</a><br>
  13. <a href="#DESCRIPTION">DESCRIPTION</a><br>
  14. <a href="#OPTIONS">OPTIONS</a><br>
  15. <a href="#DIAGNOSTICS">DIAGNOSTICS</a><br>
  16. <a href="#NOTES">NOTES</a><br>
  17. <a href="#BUGS">BUGS</a><br>
  18. <a href="#SEE ALSO">SEE ALSO</a><br>
  19. <hr>
  20. <a name="NAME"></a>
  21. <h2>NAME</h2>
  22. <!-- INDENTATION -->
  23. <table width="100%" border=0 rules="none" frame="void"
  24. cols="2" cellspacing="0" cellpadding="0">
  25. <tr valign="top" align="left">
  26. <td width="8%"></td>
  27. <td width="91%">
  28. <p>fax2ps &minus; convert a <small>TIFF</small> facsimile to
  29. compressed PostScript&trade;</p>
  30. </td>
  31. </table>
  32. <a name="SYNOPSIS"></a>
  33. <h2>SYNOPSIS</h2>
  34. <!-- INDENTATION -->
  35. <table width="100%" border=0 rules="none" frame="void"
  36. cols="2" cellspacing="0" cellpadding="0">
  37. <tr valign="top" align="left">
  38. <td width="8%"></td>
  39. <td width="91%">
  40. <p><b>fax2ps</b> [ <i>options</i> ] [ <i>file ...</i> ]</p>
  41. </td>
  42. </table>
  43. <a name="DESCRIPTION"></a>
  44. <h2>DESCRIPTION</h2>
  45. <!-- INDENTATION -->
  46. <table width="100%" border=0 rules="none" frame="void"
  47. cols="2" cellspacing="0" cellpadding="0">
  48. <tr valign="top" align="left">
  49. <td width="8%"></td>
  50. <td width="91%">
  51. <p><i>fax2ps</i> reads one or more <small>TIFF</small>
  52. facsimile image files and prints a compressed form of
  53. PostScript on the standard output that is suitable for
  54. printing.</p>
  55. <!-- INDENTATION -->
  56. <p>By default, each page is scaled to reflect the image
  57. dimensions and resolutions stored in the file. The
  58. <b>&minus;x</b> and <b>&minus;y</b> options can be used to
  59. specify the horizontal and vertical image resolutions
  60. (lines/inch), respectively. If the <b>&minus;S</b> option is
  61. specified, each page is scaled to fill an output page. The
  62. default output page is 8.5 by 11 inches. Alternate page
  63. dimensions can be specified in inches with the
  64. <b>&minus;W</b> and <b>&minus;H</b> options.</p>
  65. <!-- INDENTATION -->
  66. <p>By default <i>fax2ps</i> generates PostScript for all
  67. pages in the file. The <b>&minus;p</b> option can be used to
  68. select one or more pages from a multi-page document.</p>
  69. <!-- INDENTATION -->
  70. <p><i>fax2ps</i> generates a compressed form of PostScript
  71. that is optimized for sending pages of text to a PostScript
  72. printer attached to a host through a low-speed link (such as
  73. a serial line). Each output page is filled with white and
  74. then only the black areas are drawn. The PostScript
  75. specification of the black drawing operations is optimized
  76. by using a special font that encodes the move-draw
  77. operations required to fill the black regions on the page.
  78. This compression scheme typically results in a substantially
  79. reduced PostScript description, relative to the
  80. straightforward imaging of the page with a PostScript
  81. <i>image</i> operator. This algorithm can, however, be
  82. ineffective for continuous-tone and white-on-black images.
  83. For these images, it sometimes is more efficient to send the
  84. raster bitmap image directly; see <b>tiff2ps</b>(1).</p>
  85. </td>
  86. </table>
  87. <a name="OPTIONS"></a>
  88. <h2>OPTIONS</h2>
  89. <!-- TABS -->
  90. <table width="100%" border=0 rules="none" frame="void"
  91. cols="4" cellspacing="0" cellpadding="0">
  92. <tr valign="top" align="left">
  93. <td width="11%"></td>
  94. <td width="11%">
  95. <p><b>&minus;p</b> <i>number</i></p>
  96. </td>
  97. <td width="76%">
  98. <p>Print only the indicated page. Multiple pages may be
  99. printed by specifying this option more than once.</p>
  100. </td>
  101. <td width="0%">
  102. </td>
  103. </table>
  104. <!-- INDENTATION -->
  105. <table width="100%" border=0 rules="none" frame="void"
  106. cols="2" cellspacing="0" cellpadding="0">
  107. <tr valign="top" align="left">
  108. <td width="8%"></td>
  109. <td width="91%">
  110. <p><b>&minus;x</b> <i>resolution</i></p></td>
  111. </table>
  112. <!-- INDENTATION -->
  113. <table width="100%" border=0 rules="none" frame="void"
  114. cols="2" cellspacing="0" cellpadding="0">
  115. <tr valign="top" align="left">
  116. <td width="23%"></td>
  117. <td width="76%">
  118. <p>Use <i>resolution</i> as the horizontal resolution, in
  119. dots/inch, of the image data. By default this value is taken
  120. from the file.</p>
  121. </td>
  122. </table>
  123. <!-- INDENTATION -->
  124. <table width="100%" border=0 rules="none" frame="void"
  125. cols="2" cellspacing="0" cellpadding="0">
  126. <tr valign="top" align="left">
  127. <td width="8%"></td>
  128. <td width="91%">
  129. <p><b>&minus;y</b> <i>resolution</i></p></td>
  130. </table>
  131. <!-- INDENTATION -->
  132. <table width="100%" border=0 rules="none" frame="void"
  133. cols="2" cellspacing="0" cellpadding="0">
  134. <tr valign="top" align="left">
  135. <td width="23%"></td>
  136. <td width="76%">
  137. <p>Use <i>resolution</i> as the vertical resolution, in
  138. lines/inch, of the image data. By default this value is
  139. taken from the file.</p>
  140. </td>
  141. </table>
  142. <!-- TABS -->
  143. <table width="100%" border=0 rules="none" frame="void"
  144. cols="4" cellspacing="0" cellpadding="0">
  145. <tr valign="top" align="left">
  146. <td width="10%"></td>
  147. <td width="12%">
  148. <p><b>&minus;S</b></p>
  149. </td>
  150. <td width="76%">
  151. <p>Scale each page of image data to fill the output page
  152. dimensions. By default images are presented according to the
  153. dimension information recorded in the <small>TIFF</small>
  154. file.</p>
  155. </td>
  156. <td width="0%">
  157. </td>
  158. <tr valign="top" align="left">
  159. <td width="10%"></td>
  160. <td width="12%">
  161. <p><b>&minus;W</b> <i>width</i></p>
  162. </td>
  163. <td width="76%">
  164. <p>Use <i>width</i> as the width, in inches, of the output
  165. page.</p>
  166. </td>
  167. <td width="0%">
  168. </td>
  169. <tr valign="top" align="left">
  170. <td width="10%"></td>
  171. <td width="12%">
  172. <p><b>&minus;H</b> <i>height</i></p>
  173. </td>
  174. <td width="76%">
  175. <p>Use <i>height</i> as the height, in inches, of the
  176. output page.</p>
  177. </td>
  178. <td width="0%">
  179. </td>
  180. </table>
  181. <a name="DIAGNOSTICS"></a>
  182. <h2>DIAGNOSTICS</h2>
  183. <!-- INDENTATION -->
  184. <table width="100%" border=0 rules="none" frame="void"
  185. cols="2" cellspacing="0" cellpadding="0">
  186. <tr valign="top" align="left">
  187. <td width="8%"></td>
  188. <td width="91%">
  189. <p>Some messages about malformed <small>TIFF</small> images
  190. come from the <small>TIFF</small> library.</p>
  191. <!-- INDENTATION -->
  192. <p>Various messages about badly formatted facsimile images
  193. may be generated due to transmission errors in received
  194. facsimile. <i>fax2ps</i> attempts to recover from such data
  195. errors by resynchronizing decoding at the end of the current
  196. scanline. This can result in long horizontal black lines in
  197. the resultant PostScript image.</p>
  198. </td>
  199. </table>
  200. <a name="NOTES"></a>
  201. <h2>NOTES</h2>
  202. <!-- INDENTATION -->
  203. <table width="100%" border=0 rules="none" frame="void"
  204. cols="2" cellspacing="0" cellpadding="0">
  205. <tr valign="top" align="left">
  206. <td width="8%"></td>
  207. <td width="91%">
  208. <p>If the destination printer supports PostScript Level II
  209. then it is always faster to just send the encoded bitmap
  210. generated by the <b>tiff2ps</b>(1) program.</p>
  211. </td>
  212. </table>
  213. <a name="BUGS"></a>
  214. <h2>BUGS</h2>
  215. <!-- INDENTATION -->
  216. <table width="100%" border=0 rules="none" frame="void"
  217. cols="2" cellspacing="0" cellpadding="0">
  218. <tr valign="top" align="left">
  219. <td width="8%"></td>
  220. <td width="91%">
  221. <p><i>fax2ps</i> should probably figure out when it is doing
  222. a poor job of compressing the output and just generate
  223. PostScript to image the bitmap raster instead.</p>
  224. </td>
  225. </table>
  226. <a name="SEE ALSO"></a>
  227. <h2>SEE ALSO</h2>
  228. <!-- INDENTATION -->
  229. <table width="100%" border=0 rules="none" frame="void"
  230. cols="2" cellspacing="0" cellpadding="0">
  231. <tr valign="top" align="left">
  232. <td width="8%"></td>
  233. <td width="91%">
  234. <p><b>tiff2ps</b>(1), <b>libtiff</b>(3)</p>
  235. <!-- INDENTATION -->
  236. <p>Libtiff library home page:
  237. <b>http://www.simplesystems.org/libtiff/</b></p>
  238. </td>
  239. </table>
  240. <hr>
  241. </body>
  242. </html>