Next Previous Contents

# IFHP-HOWTO

## Patrick Powell `papowell@astart.com`

24 Oct 1999 (For ifhp-3.3.10)

The `ifhp` software is an enhanced, extended, highly configurable, and portable implementation of a print filter for use with the `ifhp` Print spooler software. It supports network, serial, and parallel printers, does page accounting and job recovery, and allows an extremely high level of configuration and tuning. The `ifhp` filter gets its flexibility by using a configuration file to set its operational characteristics. The configuration file can contain multiple separate printer configurations, and the desired one can be selected by a simple mechanism. The filter can support vintage text, PostScript, PCL, and PJL printers, and can be configured to handle a wide range of printer quirks and mis-implementations.

## 1. Introduction

- 1.1 Copyright
- 1.2 Disclaimer
- 1.3 Commercial Support
- 1.4 Web Site
- 1.5 FTP Sites
- 1.6 Mailing List
- 1.7 PGP Public Key

## 2. Installation and Express Configuration

- 2.1 Configure and Compilation
- 2.2 Configuring IFHP and Model Information
- 2.3 Printcap Information
- 2.4 PS, PCL, PJL Printer with Network Connection
- 2.5 PS, PCL, PJL Printer with Parallel Port Connection
- 2.6 PS, PCL, PJL Printer with Serial Port
- 2.7 PostScript Only Printer
- 2.8 PostScript Only Printer Text Conversion
- 2.9 Tektronics Phaser and QMS Printers with Network Connections
- 2.10 IFHP Filter and Timeout Problems

## 3. Configuration Tutorial

- 3.1 Configuration Files and Testsupport Directory
- 3.2 Output Device Specification
- 3.3 Output to a File
- 3.4 Default ifhp.conf File and Simple CRLF Filter
- 3.5 HP JetDirect or Compatible Network Interface
- 3.6 Serial Port
- 3.7 Parallel Port
- 3.8 Fine Tuning A Configuration and Printcap Entries
- 3.9 ifhp.conf Defaults
- 3.10 Adding and Overriding Configuration Entries
- 3.11 Extending ifhp Capabilities
- 3.12 PCL and PostScript End of Job Sequences

## 4. Filter Operation Details

- 4.1 Options, Initialization and Setup
- 4.2 Model Selection
- 4.3 Statusfile, Statusfile_max, Statusfile_min
- 4.4 Operation Configuration Options
- 4.5 Synchronization and Pagecounts
- 4.6 PJL Initialization
- 4.7 File Conversion Support
- 4.8 Language Specific Initialization
- 4.9 File Transfer and Error Status Monitoring
- 4.10 End of Job
- 4.11 Tektronix Phaser, QMS and AppSocket Support

## 5. Banners and OF Mode Operations

## 6. Predefined Options

## 7. Configuration Files

- 7.1 Configuration Selection
- 7.2 Option Use
- 7.3 Recursive List Expansion
- 7.4 String Expansion
- 7.5 Language Context

## 8. Font Download Support

- 8.1 PCL Font Downloading
- 8.2 PS Font Downloading
- 8.3 PJL File Downloading

## 9. Banner Printing

- 9.1 Banner Printing with LPRng
- 9.2 Stand Alone Banner Program

## 10. Accounting

- 10.1 Page Accounting Algorithm
- 10.2 You Used 2000 Pages, Out of Quota
- 10.3 Bad Jobs - Who Do We Bill?
- 10.4 How Do We Update The Database
- 10.5 Accounting Shell Script
- 10.6 Pagecounter Values

## 11. Monitoring Printer Operation

## 12. HP JetDirect Card Support

- 12.1 TCP/IP Network Address
- 12.2 BOOTP Information
- 12.3 Timeouts

Next Previous Contents