• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/LPRng/DOCS/LPRng-Reference-Multipart/
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
3<html>
4  <head>
5    <meta name="generator" content="HTML Tidy, see www.w3.org">
6    <title>ifhp Filter</title>
7    <meta name="GENERATOR" content=
8    "Modular DocBook HTML Stylesheet Version 1.7">
9    <link rel="HOME" title=" LPRng Reference Manual" href=
10    "index.htm">
11    <link rel="UP" title="Filters " href="filters.htm">
12    <link rel="PREVIOUS" title="lpf " href="lpf.htm">
13    <link rel="NEXT" title="Permissions and Authentication " href=
14    "permsref.htm">
15  </head>
16
17  <body class="SECT1" bgcolor="#FFFFFF" text="#000000" link=
18  "#0000FF" vlink="#840084" alink="#0000FF">
19    <div class="NAVHEADER">
20      <table summary="Header navigation table" width="100%" border=
21      "0" cellpadding="0" cellspacing="0">
22        <tr>
23          <th colspan="3" align="center">LPRng Reference Manual: 5
24          Sep 2003 (For LPRng-3.8.22)</th>
25        </tr>
26
27        <tr>
28          <td width="10%" align="left" valign="bottom"><a href=
29          "lpf.htm" accesskey="P">Prev</a></td>
30
31          <td width="80%" align="center" valign="bottom">Chapter
32          16. Filters</td>
33
34          <td width="10%" align="right" valign="bottom"><a href=
35          "permsref.htm" accesskey="N">Next</a></td>
36        </tr>
37      </table>
38      <hr align="LEFT" width="100%">
39    </div>
40
41    <div class="SECT1">
42      <h1 class="SECT1"><a name="IFHP">16.11. <b class=
43      "APPLICATION">ifhp</b> Filter</a></h1>
44
45      <p>Source code: <a href="secftp.htm"><b class=
46      "APPLICATION">LPRng</b> Distribution,
47      ifhp-&lt;em&gt;version&lt;/em&gt;.tgz</a></p>
48
49      <p>The <b class="APPLICATION">ifhp</b> filter supports a wide
50      variety of <span class="emphasis"><i class=
51      "EMPHASIS">smart</i></span> printers, or to be more specific,
52      printers which support PostScript, PCL or PJL languages. For
53      details on using the <b class="APPLICATION">ifhp</b> filter
54      see the <b class="APPLICATION">ifhp</b> filter documentation
55      for details. The following is a quick set of examples of
56      printcap entries:</p>
57
58      <div class="INFORMALEXAMPLE">
59        <a name="AEN8447"></a>
60<pre class="SCREEN">
61    # network connection to jet direct box,
62    #   no banners, HP compatible
63    lp
64      :lp=ipaddr%9100
65      :filter=/usr/local/libexec/filters/ifhp
66    #
67    # banner added,  model information added
68    #
69    lp
70      :lp=ipaddr%9100
71      :ifhp=model=hp4
72      :bp=/usr/local/libexec/filters/pclbanner
73      :of=/usr/local/libexec/filters/ifhp
74      :filter=/usr/local/libexec/filters/ifhp
75    #
76    # for a parallel port printer or when you want VERY fast
77    #  throughput, no pagecounts, error messages, etc.  The
78    #
79    lp
80      :lp=/dev/lp0
81      :ifhp=model=hp4,status@
82      :filter=/usr/local/libexec/filters/ifhp
83</pre>
84      </div>
85      <br>
86      <br>
87    </div>
88
89    <div class="NAVFOOTER">
90      <hr align="LEFT" width="100%">
91
92      <table summary="Footer navigation table" width="100%" border=
93      "0" cellpadding="0" cellspacing="0">
94        <tr>
95          <td width="33%" align="left" valign="top"><a href=
96          "lpf.htm" accesskey="P">Prev</a></td>
97
98          <td width="34%" align="center" valign="top"><a href=
99          "index.htm" accesskey="H">Home</a></td>
100
101          <td width="33%" align="right" valign="top"><a href=
102          "permsref.htm" accesskey="N">Next</a></td>
103        </tr>
104
105        <tr>
106          <td width="33%" align="left" valign="top">lpf</td>
107
108          <td width="34%" align="center" valign="top"><a href=
109          "filters.htm" accesskey="U">Up</a></td>
110
111          <td width="33%" align="right" valign="top">Permissions
112          and Authentication</td>
113        </tr>
114      </table>
115    </div>
116  </body>
117</html>
118
119