16.11. ifhp Filter

Source code: LPRng Distribution, ifhp-<em>version</em>.tgz

The ifhp filter supports a wide variety of smart printers, or to be more specific, printers which support PostScript, PCL or PJL languages. For details on using the ifhp filter see the ifhp filter documentation for details. The following is a quick set of examples of printcap entries:

    # network connection to jet direct box,
    #   no banners, HP compatible
    lp
      :lp=ipaddr%9100
      :filter=/usr/local/libexec/filters/ifhp
    #
    # banner added,  model information added
    #
    lp
      :lp=ipaddr%9100
      :ifhp=model=hp4
      :bp=/usr/local/libexec/filters/pclbanner
      :of=/usr/local/libexec/filters/ifhp
      :filter=/usr/local/libexec/filters/ifhp
    #
    # for a parallel port printer or when you want VERY fast
    #  throughput, no pagecounts, error messages, etc.  The
    #
    lp
      :lp=/dev/lp0
      :ifhp=model=hp4,status@
      :filter=/usr/local/libexec/filters/ifhp