LPRngLogo ifhp ifhp

IFHP Reference Manual

5 Oct 2004 (For ifhp-3.5.20)

Patrick A Powell


AStArt Technologies addr
6741 Convoy Court,
San Diego, CA 92111
Phone 858-874-6543
Fax 858-751-2435

The ifhp program is an enhanced, extended, highly configurable, and portable implementation of a print filter for use with the LPRng Print spooler package. ifhp supports network, serial, and parallel printers, does page accounting and job recovery, and allows an extremely high level of configuration and tuning. ifhp gets its flexibility by using a configuration file to set its operational characteristics. The configuration file can contain multiple separate printer configurations and the configuration selection is done by a very simple command line option. The filter supports text, PostScript, PCL, and PJL printers, and can be configured to handle a wide range of printer quirks and mis-implementations.

Important: THIS DOCUMENTATION AND THE DESCRIBED SOFTWARE IS PROVIDED BY THE AUTHORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS DOCUMENTATION, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.


Table of Contents
Preface
1. Introduction
2. Acknowledgements
3. Shell Prompts
4. Typographic Conventions
5. Notes, warnings, and examples
1. Introduction
1.1. Copyright and Disclaimer
1.2. Commercial Support
1.3. Web Site
1.4. FTP Sites
1.5. Mailing List
1.6. PGP Public Key
2. Software Installation and Configuration
2.1. Additional Recommended Software
2.2. Installation
2.3. Printer Models Supported
3. Recommended -Z options for Users
3.1. Input Tray Selection
3.2. Output Bin Selection
3.3. Media Size (Paper) Selection
3.4. Media Type Selection
3.5. Duplex and Simplex
3.6. Copies
4. Printer Capabilities, Configurations, and Printcaps
4.1. Printer Configurations
4.2. Network Communication Protocols
4.3. RFC1179 (BSD or TCP/IP) Job Transfer Printcap Entry
4.4. Socket Protocol (TCP/IP) Operation Printcap Entry
4.5. Appsocket Protocol (TCP/IP) Operation
4.6. Using SNMP For Status Information
4.7. Common Print Server Boxes Configuration Information
4.8. Timeout Problems Sending A Job
4.9. Printers With Lockup Problems
4.10. PS, PCL, PJL Printer with TPC/IP Network Interface
4.11. PS, PCL, PJL Printer with Parallel Port Connection
4.12. PS, PCL, PJL Printer with Serial Port
4.13. PostScript Only Printer
4.14. GhostScript
4.15. Tektronics Phaser, QMS, and Appsocket Protocol
5. Options and Arguments
5.1. Command Line Options
5.2. General Configuration Options - config, trace, debug
5.3. Status Messages
5.4. Printer Status Available - status
5.5. Monitoring Options - sync, waitend, pagecount
5.6. User -Z Option Support
5.7. Adding User Options
5.8. Initialization and Setup Control
6. Configuration File
6.1. Configuration File Entries
6.2. Comments
6.3. Option Setting
6.4. Option Use
6.5. List Expansion
6.6. String Escape Sequences
6.7. Language Context and Value Expansion
6.7.1. PJL Language
6.7.2. PCL Language
6.7.3. PostScript Language
6.8. Printer Entries
6.9. Include Facility
6.10. tc Entry Inclusion Facility
7. Filter Operation Details
7.1. Filter Pseudo-Code
7.2. Options, Initialization and Setup
7.3. Languages Supported- pjl, pcl, ps, and text
7.3.1. pjl_job FLAG
7.3.2. pjl_enter FLAG
7.3.3. remove_pjl_at_start FLAG
7.3.4. nullpad STRING
7.3.5. pjl_console FLAG
7.3.6. remove_ctrl STRING
7.3.7. tbcp FLAG
7.4. Synchronization and Pagecounts
7.5. PJL Initialization
7.6. File Conversion Support
7.6.1. File Type Detection
7.6.2. Conversion
7.6.3. LF to CR/LF Conversion
7.6.4. Text Treated Like PCL
7.6.5. Default to Passthrough
7.7. GhostScript Printer
7.8. Language Specific Initialization
7.9. File Transfer and Error Status Monitoring
7.10. End of Job
7.11. Tektronix Phaser, QMS and AppSocket Support
8. Banners and OF Mode Operation
8.1. No Banner
8.2. Banner Printing and No OF Filter
8.3. Banner Printing With OF Filter
8.4. LPRng Options Controlling Banner Printing
8.5. of_options option
9. Font Download Support
9.1. PCL Font Downloading
9.2. PS Font Downloading
9.3. PJL File Downloading
10. Debugging and Problem Solving
A. Index to Options
B. HP JetDirect Card Support
B.1. MicroSoft JetDirect Support
B.2. TCP/IP Address
B.3. Web Server Configuration
B.4. Telnet Configuration
B.5. BOOTP Information
B.6. Timeouts
List of Tables
2-1. Configure File Location Variables
2-2. Executable and Configuration File Locations
2-3. ifhp.conf Configuration Entries
4-1. Network Print Servers
A-1. ifhp.conf - ifhp Options

Preface

1. Introduction

The ifhp Print Filter is the primary print filter for the LPRng Print Spooler. This document is designed to be the single basic reference for the ifhp software; the LPRng software is distributed separately and has additional documentation.


2. Acknowledgements

I would like to thank all of the LPRng users who so relentlessly tried the incredible number of permutations and combinations of printers and software, and whose requests for just one more feature led to the development of the software.


3. Shell Prompts

The following table shows the default system prompt and superuser prompt. The examples will use this prompt to indicate which user you should be running the example as.

User Prompt
Normal user %
root #

4. Typographic Conventions

The following table describes the typographic conventions used in this book.

Meaning Examples
The name of commands, files, and directories. On screen computer output.

Edit your .login file.

Use ls -a to list all files.

    You have mail.


What you type, when contrasted with on-screen computer output.
    % su
    Password:
Manual page references. Use su(1) to change user names.
User and group names Only root can do this.
Emphasis You must do this.
Command line variables; replace with the real name or variable. To delete a file, type rm filename
Environment variables $HOME is your home directory.

5. Notes, warnings, and examples

Within the text appear notes, warnings, and examples.

Note: Notes are represented like this, and contain information that you should take note of, as it may affect what you do.

WarningWarnings are represented like this, and contain information warning you about possible damage if you do not follow the instructions. This damage may be physical, to your hardware or to you, or it may be non-physical, such as the inadvertant deletion of important files.

Examples are represented like this, and typically contain examples you should walk through, or show you what the results of a particular action should be.


Chapter 1. Introduction

The ifhp print filter is the latest in a long evolutionary path of print filters for the LPRng print spooler system. It unifies the low level printer communication facilities and provide a common code base for future development.

This document is the complete set of references and installation guide for the ifhp print filter. It covers compilation, installation, initial testing, details of system configuration, and configuration options that would be needed by the system administrator. Previous releases of ifhp had a large selection of README files which are now incorporated into the IFHP Reference Manual.

Information about LPRng and ifhp can be found on the LPRng web page http://www.lprng.com.

There is mailing list for ifhp and LPRng at . In order to reduce the amount of unsolicited spam mail posted to the list you must subscribe to the list before posting to it. To subscribe, send email message to lprng-request@lprng.com, with the single word subscribe in the body.

Several presentations of LPRng and print spooling software have been made at the Large Scale Installation Administrator (LISA) conferences and are in the ifhp distribution and available on web sites. The slides for the LISA 97 tutorial on t266">PS, PCL, PJL Printer with Parallel Port Connection

4.12. PS, PCL, PJL Printer with Serial Port
4.13. PostScript Only Printer
4.14. GhostScript
4.15. Tektronics Phaser, QMS, and Appsocket Protocol
5. Options and Arguments
5.1. Command Line Options
5.2. General Configuration Options - config, trace, debug
5.3. Status Messages
5.4. Printer Status Available - status
5.5. Monitoring Options - sync, waitend, pagecount
5.6. User -Z Option Support
5.7. Adding User Options
5.8. Initialization and Setup Control
6. Configuration File
6.1. Configuration File Entries
6.2. Comments
6.3. Option Setting
6.4. Option Use
6.5. List Expansion
6.6. String Escape Sequences
6.7. Language Context and Value Expansion
6.7.1. PJL Language
6.7.2. PCL Language
6.7.3. PostScript Language
6.8. Printer Entries
6.9. Include Facility
6.10. tc Entry Inclusion Facility
7. Filter Operation Details
7.1. Filter Pseudo-Code
7.2. Options, Initialization and Setup
7.3. Languages Supported- pjl, pcl, ps, and text
7.3.1. pjl_job FLAG
7.3.2. pjl_enter FLAG
7.3.3. remove_pjl_at_start FLAG
7.3.4. nullpad STRING
7.3.5. pjl_console FLAG
7.3.6. remove_ctrl STRING
7.3.7. tbcp FLAG
7.4. Synchronization and Pagecounts
7.5. PJL Initialization
7.6. File Conversion Support
7.6.1. File Type Detection
7.6.2. Conversion
7.6.3. LF to CR/LF Conversion
7.6.4. Text Treated Like PCL
7.6.5. Default to Passthrough
7.7. GhostScript Printer
7.8. Language Specific Initialization
7.9. File Transfer and Error Status Monitoring
7.10. End of Job
7.11. Tektronix Phaser, QMS and AppSocket Support
8. Banners and OF Mode Operation
8.1. No Banner
8.2. Banner Printing and No OF Filter
8.3. Banner Printing With OF Filter
8.4. LPRng Options Controlling Banner Printing
8.5. of_options option
9. Font Download Support
9.1. PCL Font Downloading
9.2. PS Font Downloading
9.3. PJL File Downloading
10. Debugging and Problem Solving
A. Index to Options
B. HP JetDirect Card Support
B.1. MicroSoft JetDirect Support
B.2. TCP/IP Address
B.3. Web Server Configuration
B.4. Telnet Configuration
B.5. BOOTP Information
B.6. Timeouts
List of Tables
2-1. Configure File Location Variables
2-2. Executable and Configuration File Locations
2-3. ifhp.conf Configuration Entries
4-1. Network Print Servers
A-1. ifhp.conf - ifhp Options

Preface

1. Introduction

The ifhp Print Filter is the primary print filter for the LPRng Print Spooler. This document is designed to be the single basic reference for the ifhp software; the LPRng software is distributed separately and has additional documentation.


2. Acknowledgements

I would like to thank all of the LPRng users who so relentlessly tried the incredible number of permutations and combinations of printers and software, and whose requests for just one more feature led to the development of the software.


3. Shell Prompts

The following table shows the default system prompt and superuser prompt. The examples will use this prompt to indicate which user you should be running the example as.

User Prompt
Normal user %
root #

4. Typographic Conventions

The following table describes the typographic conventions used in this book.

Meaning Examples
The name of commands, files, and directories. On screen computer output.

Edit your .login file.

Use ls -a to list all files.

    You have mail.


What you type, when contrasted with on-screen computer output.
    % su
    Password:
Manual page references. Use su(1) to change user names.
User and group names Only root can do this.
Emphasis You must do this.
Command line variables; replace with the real name or variable. To delete a file, type rm filename
Environment variables $HOME is your home directory.

5. Notes, warnings, and examples

Within the text appear notes, warnings, and examples.

Note: Notes are represented like this, and contain information that you should take note of, as it may affect what you do.

WarningWarnings are represented like this, and contain information warning you about possible damage if you do not follow the instructions. This damage may be physical, to your hardware or to you, or it may be non-physical, such as the inadvertant deletion of important files.

Examples are represented like this, and typically contain examples you should walk through, or show you what the results of a particular action should be.


Chapter 1. Introduction

The ifhp print filter is the latest in a long evolutionary path of print filters for the LPRng print spooler system. It unifies the low level printer communication facilities and provide a common code base for future development.

This document is the complete set of references and installation guide for the ifhp print filter. It covers compilation, installation, initial testing, details of system configuration, and configuration options that would be needed by the system administrator. Previous releases of ifhp had a large selection of README files which are now incorporated into the IFHP Reference Manual.

Information about LPRng and ifhp can be found on the LPRng web page http://www.lprng.com.

There is mailing list for ifhp and LPRng at . In order to reduce the amount of unsolicited spam mail posted to the list you must subscribe to the list before posting to it. To subscribe, send email message to lprng-request@lprng.com, with the single word subscribe in the body.

Several presentations of LPRng and print spooling software have been made at the Large Scale Installation Administrator (LISA) conferences and are in the ifhp distribution and available on web sites. The slides for the LISA 97 tutorial on t266">PS, PCL, PJL Printer with Parallel Port Connection

4.12. PS, PCL, PJL Printer with Serial Port
4.13. PostScript Only Printer
4.14. GhostScript
4.15. Tektronics Phaser, QMS, and Appsocket Protocol
5. Options and Arguments
5.1. Command Line Options
5.2. General Configuration Options - config, trace, debug
5.3. Status Messages
5.4. Printer Status Available - status
5.5. Monitoring Options - sync, waitend, pagecount
5.6. User -Z Option Support
5.7. Adding User Options
5.8. Initialization and Setup Control
6. Configuration File
6.1. Configuration File Entries
6.2. Comments
6.3. Option Setting
6.4. Option Use
6.5. List Expansion
6.6. String Escape Sequences
6.7. Language Context and Value Expansion
6.7.1. PJL Language
6.7.2. PCL Language
6.7.3. PostScript Language
6.8. Printer Entries
6.9. Include Facility
6.10. tc Entry Inclusion Facility
7. Filter Operation Details
7.1. Filter Pseudo-Code
7.2. Options, Initialization and Setup
7.3. Languages Supported- pjl, pcl, ps, and text
7.3.1. pjl_job FLAG
7.3.2. pjl_enter FLAG
7.3.3. remove_pjl_at_start FLAG
7.3.4. nullpad STRING
7.3.5. pjl_console FLAG
7.3.6. remove_ctrl STRING
7.3.7. tbcp FLAG
7.4. Synchronization and Pagecounts
7.5. PJL Initialization
7.6. File Conversion Support
7.6.1. File Type Detection
7.6.2. Conversion
7.6.3. LF to CR/LF Conversion
7.6.4. Text Treated Like PCL
7.6.5. Default to Passthrough
7.7. GhostScript Printer
7.8. Language Specific Initialization
7.9. File Transfer and Error Status Monitoring
7.10. End of Job
7.11. Tektronix Phaser, QMS and AppSocket Support
8. Banners and OF Mode Operation
8.1. No Banner
8.2. Banner Printing and No OF Filter
8.3. Banner Printing With OF Filter
8.4. LPRng Options Controlling Banner Printing
8.5. of_options option
9. Font Download Support
9.1. PCL Font Downloading
9.2. PS Font Downloading
9.3. PJL File Downloading
10. Debugging and Problem Solving
A. Index to Options
B. HP JetDirect Card Support
B.1. MicroSoft JetDirect Support
B.2. TCP/IP Address
B.3. Web Server Configuration
B.4. Telnet Configuration
B.5. BOOTP Information
B.6. Timeouts
List of Tables
2-1. Configure File Location Variables
2-2. Executable and Configuration File Locations
2-3. ifhp.conf Configuration Entries
4-1. Network Print Servers
A-1. ifhp.conf - ifhp Options

Preface

1. Introduction

The ifhp Print Filter is the primary print filter for the LPRng Print Spooler. This document is designed to be the single basic reference for the ifhp software; the LPRng software is distributed separately and has additional documentation.


2. Acknowledgements

I would like to thank all of the LPRng users who so relentlessly tried the incredible number of permutations and combinations of printers and software, and whose requests for just one more feature led to the development of the software.


3. Shell Prompts

The following table shows the default system prompt and superuser prompt. The examples will use this prompt to indicate which user you should be running the example as.

User Prompt
Normal user %
root #

4. Typographic Conventions

The following table describes the typographic conventions used in this book.

Meaning Examples
The name of commands, files, and directories. On screen computer output.

Edit your .login file.

Use ls -a to list all files.

    You have mail.


What you type, when contrasted with on-screen computer output.
    % su
    Password:
Manual page references. Use su(1) to change user names.
User and group names Only root can do this.
Emphasis You must do this.
Command line variables; replace with the real name or variable. To delete a file, type rm filename
Environment variables $HOME is your home directory.

5. Notes, warnings, and examples

Within the text appear notes, warnings, and examples.

Note: Notes are represented like this, and contain information that you should take note of, as it may affect what you do.

WarningWarnings are represented like this, and contain information warning you about possible damage if you do not follow the instructions. This damage may be physical, to your hardware or to you, or it may be non-physical, such as the inadvertant deletion of important files.

Examples are represented like this, and typically contain examples you should walk through, or show you what the results of a particular action should be.


Chapter 1. Introduction

The ifhp print filter is the latest in a long evolutionary path of print filters for the LPRng print spooler system. It unifies the low level printer communication facilities and provide a common code base for future development.

This document is the complete set of references and installation guide for the ifhp print filter. It covers compilation, installation, initial testing, details of system configuration, and configuration options that would be needed by the system administrator. Previous releases of ifhp had a large selection of README files which are now incorporated into the IFHP Reference Manual.

Information about LPRng and ifhp can be found on the LPRng web page http://www.lprng.com.

There is mailing list for ifhp and LPRng at . In order to reduce the amount of unsolicited spam mail posted to the list you must subscribe to the list before posting to it. To subscribe, send email message to lprng-request@lprng.com, with the single word subscribe in the body.

Several presentations of LPRng and print spooling software have been made at the Large Scale Installation Administrator (LISA) conferences and are in the ifhp distribution and available on web sites. The slides for the LISA 97 tutorial on t266">PS, PCL, PJL Printer with Parallel Port Connection

4.12. PS, PCL, PJL Printer with Serial Port
4.13. PostScript Only Printer
4.14. GhostScript
4.15. Tektronics Phaser, QMS, and Appsocket Protocol
5. Options and Arguments
5.1. Command Line Options
5.2. General Configuration Options - config, trace, debug
5.3. Status Messages
5.4. Printer Status Available - status
5.5. Monitoring Options - sync, waitend, pagecount
5.6. User -Z Option Support
5.7. Adding User Options
5.8. Initialization and Setup Control
6. Configuration File
6.1. Configuration File Entries
6.2. Comments
6.3. Option Setting
6.4. Option Use
6.5. List Expansion
6.6. String Escape Sequences
6.7. Language Context and Value Expansion
6.7.1. PJL Language
6.7.2. PCL Language
6.7.3. PostScript Language
6.8. Printer Entries
6.9. Include Facility
6.10. tc Entry Inclusion Facility
7. Filter Operation Details
7.1. Filter Pseudo-Code
7.2. Options, Initialization and Setup
7.3. Languages Supported- pjl, pcl, ps, and text
7.3.1. pjl_job FLAG
7.3.2. pjl_enter FLAG
7.3.3. remove_pjl_at_start FLAG
7.3.4. nullpad STRING
7.3.5. pjl_console FLAG
7.3.6. remove_ctrl STRING
7.3.7. tbcp FLAG
7.4. Synchronization and Pagecounts
7.5. PJL Initialization
7.6. File Conversion Support
7.6.1. File Type Detection
7.6.2. Conversion
7.6.3. LF to CR/LF Conversion
7.6.4. Text Treated Like PCL
7.6.5. Default to Passthrough
7.7. GhostScript Printer
7.8. Language Specific Initialization
7.9. File Transfer and Error Status Monitoring
7.10. End of Job
7.11. Tektronix Phaser, QMS and AppSocket Support
8. Banners and OF Mode Operation
8.1. No Banner
8.2. Banner Printing and No OF Filter
8.3. Banner Printing With OF Filter
8.4. LPRng Options Controlling Banner Printing
8.5. of_options option
9. Font Download Support
9.1. PCL Font Downloading
9.2. PS Font Downloading
9.3. PJL File Downloading
10. Debugging and Problem Solving
A. Index to Options
B. HP JetDirect Card Support
B.1. MicroSoft JetDirect Support
B.2. TCP/IP Address
B.3. Web Server Configuration
B.4. Telnet Configuration
B.5. BOOTP Information
B.6. Timeouts
List of Tables
2-1. Configure File Location Variables
2-2. Executable and Configuration File Locations
2-3. ifhp.conf Configuration Entries
4-1. Network Print Servers
A-1. ifhp.conf - ifhp Options

Preface

1. Introduction

The ifhp Print Filter is the primary print filter for the LPRng Print Spooler. This document is designed to be the single basic reference for the ifhp software; the LPRng software is distributed separately and has additional documentation.


2. Acknowledgements

I would like to thank all of the LPRng users who so relentlessly tried the incredible number of permutations and combinations of printers and software, and whose requests for just one more feature led to the development of the software.


3. Shell Prompts

The following table shows the default system prompt and superuser prompt. The examples will use this prompt to indicate which user you should be running the example as.

User Prompt
Normal user %
root #

4. Typographic Conventions

The following table describes the typographic conventions used in this book.

Meaning Examples
The name of commands, files, and directories. On screen computer output.

Edit your .login file.

Use ls -a to list all files.

    You have mail.


What you type, when contrasted with on-screen computer output.
    % su
    Password:
Manual page references. Use su(1) to change user names.
User and group names Only root can do this.
Emphasis You must do this.
Command line variables; replace with the real name or variable. To delete a file, type rm filename
Environment variables $HOME is your home directory.

5. Notes, warnings, and examples

Within the text appear notes, warnings, and examples.

Note: Notes are represented like this, and contain information that you should take note of, as it may affect what you do.

WarningWarnings are represented like this, and contain information warning you about possible damage if you do not follow the instructions. This damage may be physical, to your hardware or to you, or it may be non-physical, such as the inadvertant deletion of important files.

Examples are represented like this, and typically contain examples you should walk through, or show you what the results of a particular action should be.


Chapter 1. Introduction

The ifhp print filter is the latest in a long evolutionary path of print filters for the LPRng print spooler system. It unifies the low level printer communication facilities and provide a common code base for future development.

This document is the complete set of references and installation guide for the ifhp print filter. It covers compilation, installation, initial testing, details of system configuration, and configuration options that would be needed by the system administrator. Previous releases of ifhp had a large selection of README files which are now incorporated into the IFHP Reference Manual.

Information about LPRng and ifhp can be found on the LPRng web page http://www.lprng.com.

There is mailing list for ifhp and LPRng at . In order to reduce the amount of unsolicited spam mail posted to the list you must subscribe to the list before posting to it. To subscribe, send email message to lprng-request@lprng.com, with the single word subscribe in the body.

Several presentations of LPRng and print spooling software have been made at the Large Scale Installation Administrator (LISA) conferences and are in the ifhp distribution and available on web sites. The slides for the LISA 97 tutorial on t266">PS, PCL, PJL Printer with Parallel Port Connection

4.12. PS, PCL, PJL Printer with Serial Port
4.13. PostScript Only Printer
4.14. GhostScript
4.15. Tektronics Phaser, QMS, and Appsocket Protocol
5. Options and Arguments
5.1. Command Line Options
5.2. General Configuration Options - config, trace, debug
5.3. Status Messages
5.4. Printer Status Available - status
5.5. Monitoring Options - sync, waitend, pagecount
5.6. User -Z Option Support
5.7. Adding User Options
5.8. Initialization and Setup Control
6. Configuration File
6.1. Configuration File Entries
6.2. Comments
6.3. Option Setting
6.4. Option Use
6.5. List Expansion
6.6. String Escape Sequences
6.7. Language Context and Value Expansion
6.7.1. PJL Language
6.7.2. PCL Language
6.7.3. PostScript Language
6.8. Printer Entries
6.9. Include Facility
6.10. tc Entry Inclusion Facility
7. Filter Operation Details
7.1. Filter Pseudo-Code
7.2. Options, Initialization and Setup
7.3. Languages Supported- pjl, pcl, ps, and text
7.3.1. pjl_job FLAG
7.3.2. pjl_enter FLAG
7.3.3. remove_pjl_at_start FLAG
7.3.4. nullpad STRING
7.3.5. pjl_console FLAG
7.3.6. remove_ctrl STRING
7.3.7. tbcp FLAG
7.4. Synchronization and Pagecounts
7.5. PJL Initialization
7.6. File Conversion Support
7.6.1. File Type Detection
7.6.2. Conversion
7.6.3. LF to CR/LF Conversion
7.6.4. Text Treated Like PCL
7.6.5. Default to Passthrough
7.7. GhostScript Printer
7.8. Language Specific Initialization
7.9. File Transfer and Error Status Monitoring
7.10. End of Job
7.11. Tektronix Phaser, QMS and AppSocket Support
8. Banners and OF Mode Operation
8.1. No Banner
8.2. Banner Printing and No OF Filter
8.3. Banner Printing With OF Filter
8.4. LPRng Options Controlling Banner Printing
8.5. of_options option
9. Font Download Support
9.1. PCL Font Downloading
9.2. PS Font Downloading
9.3. PJL File Downloading
10. Debugging and Problem Solving
A. Index to Options
B. HP JetDirect Card Support
B.1. MicroSoft JetDirect Support
B.2. TCP/IP Address
B.3. Web Server Configuration
B.4. Telnet Configuration
B.5. BOOTP Information
B.6. Timeouts
List of Tables
2-1. Configure File Location Variables
2-2. Executable and Configuration File Locations
2-3. ifhp.conf Configuration Entries
4-1. Network Print Servers
A-1. ifhp.conf - ifhp Options

Preface

1. Introduction

The ifhp Print Filter is the primary print filter for the LPRng Print Spooler. This document is designed to be the single basic reference for the ifhp software; the LPRng software is distributed separately and has additional documentation.


2. Acknowledgements

I would like to thank all of the LPRng users who so relentlessly tried the incredible number of permutations and combinations of printers and software, and whose requests for just one more feature led to the development of the software.


3. Shell Prompts

The following table shows the default system prompt and superuser prompt. The examples will use this prompt to indicate which user you should be running the example as.

User Prompt
Normal user %
root #

4. Typographic Conventions

The following table describes the typographic conventions used in this book.

Meaning Examples
The name of commands, files, and directories. On screen computer output.

Edit your .login file.

Use ls -a to list all files.

    You have mail.


What you type, when contrasted with on-screen computer output.
    % su
    Password:
Manual page references. Use su(1) to change user names.
User and group names Only root can do this.
Emphasis You must do this.
Command line variables; replace with the real name or variable. To delete a file, type rm filename
Environment variables $HOME is your home directory.

5. Notes, warnings, and examples

Within the text appear notes, warnings, and examples.

Note: Notes are represented like this, and contain information that you should take note of, as it may affect what you do.

WarningWarnings are represented like this, and contain information warning you about possible damage if you do not follow the instructions. This damage may be physical, to your hardware or to you, or it may be non-physical, such as the inadvertant deletion of important files.

Examples are represented like this, and typically contain examples you should walk through, or show you what the results of a particular action should be.


Chapter 1. Introduction

The ifhp print filter is the latest in a long evolutionary path of print filters for the LPRng print spooler system. It unifies the low level printer communication facilities and provide a common code base for future development.

This document is the complete set of references and installation guide for the ifhp print filter. It covers compilation, installation, initial testing, details of system configuration, and configuration options that would be needed by the system administrator. Previous releases of ifhp had a large selection of README files which are now incorporated into the IFHP Reference Manual.

Information about LPRng and ifhp can be found on the LPRng web page http://www.lprng.com.

There is mailing list for ifhp and LPRng at . In order to reduce the amount of unsolicited spam mail posted to the list you must subscribe to the list before posting to it. To subscribe, send email message to lprng-request@lprng.com, with the single word subscribe in the body.

Several presentations of LPRng and print spooling software have been made at the Large Scale Installation Administrator (LISA) conferences and are in the ifhp distribution and available on web sites. The slides for the LISA 97 tutorial on t266">PS, PCL, PJL Printer with Parallel Port Connection

4.12. PS, PCL, PJL Printer with Serial Port
4.13. PostScript Only Printer
4.14. GhostScript
4.15. Tektronics Phaser, QMS, and Appsocket Protocol
5. Options and Arguments
5.1. Command Line Options
5.2. General Configuration Options - config, trace, debug
5.3. Status Messages
5.4. Printer Status Available - status
5.5. Monitoring Options - sync, waitend, pagecount
5.6. User -Z Option Support
5.7. Adding User Options
5.8. Initialization and Setup Control
6. Configuration File
6.1. Configuration File Entries
6.2. Comments
6.3. Option Setting
6.4. Option Use
6.5. List Expansion
6.6. String Escape Sequences
6.7. Language Context and Value Expansion
6.7.1. PJL Language
6.7.2. PCL Language
6.7.3. PostScript Language
6.8. Printer Entries
6.9. Include Facility
6.10. tc Entry Inclusion Facility
7. Filter Operation Details
7.1. Filter Pseudo-Code
7.2. Options, Initialization and Setup
7.3. Languages Supported- pjl, pcl, ps, and text
7.3.1. pjl_job FLAG
7.3.2. pjl_enter FLAG
7.3.3. remove_pjl_at_start FLAG
7.3.4. nullpad STRING
7.3.5. pjl_console FLAG
7.3.6. remove_ctrl STRING
7.3.7. tbcp FLAG
7.4. Synchronization and Pagecounts
7.5. PJL Initialization
7.6. File Conversion Support
7.6.1. File Type Detection
7.6.2. Conversion
7.6.3. LF to CR/LF Conversion
7.6.4. Text Treated Like PCL
7.6.5. Default to Passthrough
7.7. GhostScript Printer
7.8. Language Specific Initialization
7.9. File Transfer and Error Status Monitoring
7.10. End of Job
7.11. Tektronix Phaser, QMS and AppSocket Support
8. Banners and OF Mode Operation
8.1. No Banner
8.2. Banner Printing and No OF Filter
8.3. Banner Printing With OF Filter
8.4. LPRng Options Controlling Banner Printing
8.5. of_options option
9. Font Download Support
9.1. PCL Font Downloading
9.2. PS Font Downloading
9.3. PJL File Downloading
10. Debugging and Problem Solving
A. Index to Options
B. HP JetDirect Card Support
B.1. MicroSoft JetDirect Support
B.2. TCP/IP Address
B.3. Web Server Configuration
B.4. Telnet Configuration
B.5. BOOTP Information
B.6. Timeouts
List of Tables
2-1. Configure File Location Variables
2-2. Executable and Configuration File Locations
2-3. ifhp.conf Configuration Entries
4-1. Network Print Servers
A-1. ifhp.conf - ifhp Options

Preface

1. Introduction

The ifhp Print Filter is the primary print filter for the LPRng Print Spooler. This document is designed to be the single basic reference for the ifhp software; the LPRng software is distributed separately and has additional documentation.


2. Acknowledgements

I would like to thank all of the LPRng users who so relentlessly tried the incredible number of permutations and combinations of printers and software, and whose requests for just one more feature led to the development of the software.


3. Shell Prompts

The following table shows the default system prompt and superuser prompt. The examples will use this prompt to indicate which user you should be running the example as.

User Prompt
Normal user %
root #

4. Typographic Conventions

The following table describes the typographic conventions used in this book.

Meaning Examples
The name of commands, files, and directories. On screen computer output.

Edit your .login file.

Use ls -a to list all files.

    You have mail.


What you type, when contrasted with on-screen computer output.
    % su
    Password:
Manual page references. Use su(1) to change user names.
User and group names Only root can do this.
Emphasis You must do this.
Command line variables; replace with the real name or variable. To delete a file, type rm filename
Environment variables $HOME is your home directory.

5. Notes, warnings, and examples

Within the text appear notes, warnings, and examples.

Note: Notes are represented like this, and contain information that you should take note of, as it may affect what you do.

WarningWarnings are represented like this, and contain information warning you about possible damage if you do not follow the instructions. This damage may be physical, to your hardware or to you, or it may be non-physical, such as the inadvertant deletion of important files.

Examples are represented like this, and typically contain examples you should walk through, or show you what the results of a particular action should be.


Chapter 1. Introduction

The ifhp print filter is the latest in a long evolutionary path of print filters for the LPRng print spooler system. It unifies the low level printer communication facilities and provide a common code base for future development.

This document is the complete set of references and installation guide for the ifhp print filter. It covers compilation, installation, initial testing, details of system configuration, and configuration options that would be needed by the system administrator. Previous releases of ifhp had a large selection of README files which are now incorporated into the IFHP Reference Manual.

Information about LPRng and ifhp can be found on the LPRng web page http://www.lprng.com.

There is mailing list for ifhp and LPRng at . In order to reduce the amount of unsolicited spam mail posted to the list you must subscribe to the list before posting to it. To subscribe, send email message to lprng-request@lprng.com, with the single word subscribe in the body.

Several presentations of LPRng and print spooling software have been made at the Large Scale Installation Administrator (LISA) conferences and are in the ifhp distribution and available on web sites. The slides for the LISA 97 tutorial on t266">PS, PCL, PJL Printer with Parallel Port Connection

4.12. PS, PCL, PJL Printer with Serial Port
4.13. PostScript Only Printer
4.14. GhostScript
4.15. Tektronics Phaser, QMS, and Appsocket Protocol
5. Options and Arguments
5.1. Command Line Options
5.2. General Configuration Options - config, trace, debug
5.3. Status Messages
5.4. Printer Status Available - status
5.5. Monitoring Options - sync, waitend, pagecount
5.6. User -Z Option Support
5.7. Adding User Options
5.8. Initialization and Setup Control
6. Configuration File
6.1. Configuration File Entries
6.2. Comments
6.3. Option Setting
6.4. Option Use
6.5. List Expansion
6.6. String Escape Sequences
6.7. Language Context and Value Expansion
6.7.1. PJL Language
6.7.2. PCL Language
6.7.3. PostScript Language
6.8. Printer Entries
6.9. Include Facility
6.10. tc Entry Inclusion Facility
7. Filter Operation Details
7.1. Filter Pseudo-Code
7.2. Options, Initialization and Setup
7.3. Languages Supported- pjl, pcl, ps, and text
7.3.1. pjl_job FLAG
7.3.2. pjl_enter FLAG
7.3.3. remove_pjl_at_start FLAG
7.3.4. nullpad STRING
7.3.5. pjl_console FLAG
7.3.6. remove_ctrl STRING
7.3.7. tbcp FLAG
7.4. Synchronization and Pagecounts
7.5. PJL Initialization
7.6. File Conversion Support
7.6.1. File Type Detection
7.6.2. Conversion
7.6.3. LF to CR/LF Conversion
7.6.4. Text Treated Like PCL
7.6.5. Default to Passthrough
7.7. GhostScript Printer
7.8. Language Specific Initialization
7.9. File Transfer and Error Status Monitoring
7.10. End of Job
7.11. Tektronix Phaser, QMS and AppSocket Support
8. Banners and OF Mode Operation
8.1. No Banner
8.2. Banner Printing and No OF Filter
8.3. Banner Printing With OF Filter
8.4. LPRng Options Controlling Banner Printing
8.5. of_options option
9. Font Download Support
9.1. PCL Font Downloading
9.2. PS Font Downloading
9.3. PJL File Downloading
10. Debugging and Problem Solving
A. Index to Options
B. HP JetDirect Card Support
B.1. MicroSoft JetDirect Support
B.2. TCP/IP Address
B.3. Web Server Configuration
B.4. Telnet Configuration
B.5. BOOTP Information
B.6. Timeouts
List of Tables
2-1. Configure File Location Variables
2-2. Executable and Configuration File Locations
2-3. ifhp.conf Configuration Entries
4-1. Network Print Servers
A-1. ifhp.conf - ifhp Options

Preface

1. Introduction

The ifhp Print Filter is the primary print filter for the LPRng Print Spooler. This document is designed to be the single basic reference for the ifhp software; the LPRng software is distributed separately and has additional documentation.


2. Acknowledgements

I would like to thank all of the LPRng users who so relentlessly tried the incredible number of permutations and combinations of printers and software, and whose requests for just one more feature led to the development of the software.


3. Shell Prompts

The following table shows the default system prompt and superuser prompt. The examples will use this prompt to indicate which user you should be running the example as.

User Prompt
Normal user %
root #

4. Typographic Conventions

The following table describes the typographic conventions used in this book.

Meaning Examples
The name of commands, files, and directories. On screen computer output.

Edit your .login file.

Use ls -a to list all files.

    You have mail.


What you type, when contrasted with on-screen computer output.
    % su
    Password:
Manual page references. Use su(1) to change user names.
User and group names Only root can do this.
Emphasis You must do this.
Command line variables; replace with the real name or variable. To delete a file, type rm filename
Environment variables $HOME is your home directory.

5. Notes, warnings, and examples

Within the text appear notes, warnings, and examples.

Note: Notes are represented like this, and contain information that you should take note of, as it may affect what you do.

WarningWarnings are represented like this, and contain information warning you about possible damage if you do not follow the instructions. This damage may be physical, to your hardware or to you, or it may be non-physical, such as the inadvertant deletion of important files.

Examples are represented like this, and typically contain examples you should walk through, or show you what the results of a particular action should be.


Chapter 1. Introduction

The ifhp print filter is the latest in a long evolutionary path of print filters for the LPRng print spooler system. It unifies the low level printer communication facilities and provide a common code base for future development.

This document is the complete set of references and installation guide for the ifhp print filter. It covers compilation, installation, initial testing, details of system configuration, and configuration options that would be needed by the system administrator. Previous releases of ifhp had a large selection of README files which are now incorporated into the IFHP Reference Manual.

Information about LPRng and ifhp can be found on the LPRng web page http://www.lprng.com.

There is mailing list for ifhp and LPRng at . In order to reduce the amount of unsolicited spam mail posted to the list you must subscribe to the list before posting to it. To subscribe, send email message to lprng-request@lprng.com, with the single word subscribe in the body.

Several presentations of LPRng and print spooling software have been made at the Large Scale Installation Administrator (LISA) conferences and are in the ifhp distribution and available on web sites. The slides for the LISA 97 tutorial on t266">PS, PCL, PJL Printer with Parallel Port Connection

4.12. PS, PCL, PJL Printer with Serial Port
4.13. PostScript Only Printer
4.14. GhostScript
4.15. Tektronics Phaser, QMS, and Appsocket Protocol
5. Options and Arguments
5.1. Command Line Options
5.2. General Configuration Options - config, trace, debug
5.3. Status Messages
5.4. Printer Status Available - status
5.5. Monitoring Options - sync, waitend, pagecount
5.6. User -Z Option Support
5.7. Adding User Options
5.8. Initialization and Setup Control
6. Configuration File
6.1. Configuration File Entries
6.2. Comments
6.3. Option Setting
6.4. Option Use
6.5. List Expansion
6.6. String Escape Sequences
6.7. Language Context and Value Expansion
6.7.1. PJL Language
6.7.2. PCL Language
6.7.3. PostScript Language
6.8. Printer Entries
6.9. Include Facility
6.10. tc Entry Inclusion Facility
7. Filter Operation Details
7.1. Filter Pseudo-Code
7.2. Options, Initialization and Setup
7.3. Languages Supported- pjl, pcl, ps, and text
7.3.1. pjl_job FLAG
7.3.2. pjl_enter FLAG
7.3.3. remove_pjl_at_start FLAG
7.3.4. nullpad STRING
7.3.5. pjl_console FLAG
7.3.6. remove_ctrl STRING
7.3.7. tbcp FLAG
7.4. Synchronization and Pagecounts
7.5. PJL Initialization
7.6. File Conversion Support
7.6.1. File Type Detection
7.6.2. Conversion
7.6.3. LF to CR/LF Conversion
7.6.4. Text Treated Like PCL
7.6.5. Default to Passthrough
7.7. GhostScript Printer
7.8. Language Specific Initialization
7.9. File Transfer and Error Status Monitoring
7.10. End of Job
7.11. Tektronix Phaser, QMS and AppSocket Support
8. Banners and OF Mode Operation
8.1. No Banner
8.2. Banner Printing and No OF Filter
8.3. Banner Printing With OF Filter
8.4. LPRng Options Controlling Banner Printing
8.5. of_options option
9. Font Download Support
9.1. PCL Font Downloading
9.2. PS Font Downloading
9.3. PJL File Downloading
10. Debugging and Problem Solving
A. Index to Options
B. HP JetDirect Card Support
B.1. MicroSoft JetDirect Support
B.2. TCP/IP Address
B.3. Web Server Configuration
B.4. Telnet Configuration
B.5. BOOTP Information
B.6. Timeouts
List of Tables
2-1. Configure File Location Variables
2-2. Executable and Configuration File Locations
2-3. ifhp.conf Configuration Entries
4-1. Network Print Servers
A-1. ifhp.conf - ifhp Options

Preface

1. Introduction

The ifhp Print Filter is the primary print filter for the LPRng Print Spooler. This document is designed to be the single basic reference for the ifhp software; the LPRng software is distributed separately and has additional documentation.


2. Acknowledgements

I would like to thank all of the LPRng users who so relentlessly tried the incredible number of permutations and combinations of printers and software, and whose requests for just one more feature led to the development of the software.


3. Shell Prompts

The following table shows the default system prompt and superuser prompt. The examples will use this prompt to indicate which user you should be running the example as.

User Prompt
Normal user %
root #

4. Typographic Conventions

The following table describes the typographic conventions used in this book.

Meaning Examples
The name of commands, files, and directories. On screen computer output.

Edit your .login file.

Use ls -a to list all files.

    You have mail.


What you type, when contrasted with on-screen computer output.
    % su
    Password:
Manual page references. Use su(1) to change user names.
User and group names Only root can do this.
Emphasis You must do this.
Command line variables; replace with the real name or variable. To delete a file, type rm filename
Environment variables $HOME is your home directory.

5. Notes, warnings, and examples

Within the text appear notes, warnings, and examples.

Note: Notes are represented like this, and contain information that you should take note of, as it may affect what you do.

WarningWarnings are represented like this, and contain information warning you about possible damage if you do not follow the instructions. This damage may be physical, to your hardware or to you, or it may be non-physical, such as the inadvertant deletion of important files.

Examples are represented like this, and typically contain examples you should walk through, or show you what the results of a particular action should be.


Chapter 1. Introduction

The ifhp print filter is the latest in a long evolutionary path of print filters for the LPRng print spooler system. It unifies the low level printer communication facilities and provide a common code base for future development.

This document is the complete set of references and installation guide for the ifhp print filter. It covers compilation, installation, initial testing, details of system configuration, and configuration options that would be needed by the system administrator. Previous releases of ifhp had a large selection of README files which are now incorporated into the IFHP Reference Manual.

Information about LPRng and ifhp can be found on the LPRng web page http://www.lprng.com.

There is mailing list for ifhp and LPRng at . In order to reduce the amount of unsolicited spam mail posted to the list you must subscribe to the list before posting to it. To subscribe, send email message to lprng-request@lprng.com, with the single word subscribe in the body.

Several presentations of LPRng and print spooling software have been made at the Large Scale Installation Administrator (LISA) conferences and are in the ifhp distribution and available on web sites. The slides for the LISA 97 tutorial on t266">PS, PCL, PJL Printer with Parallel Port Connection

4.12. PS, PCL, PJL Printer with Serial Port
4.13. PostScript Only Printer
4.14. GhostScript
4.15. Tektronics Phaser, QMS, and Appsocket Protocol
5. Options and Arguments
5.1. Command Line Options
5.2. General Configuration Options - config, trace, debug
5.3. Status Messages
5.4. Printer Status Available - status
5.5. Monitoring Options - sync, waitend, pagecount
5.6. User -Z Option Support
5.7. Adding User Options
5.8. Initialization and Setup Control
6. Configuration File
6.1. Configuration File Entries
6.2. Comments
6.3. Option Setting
6.4. Option Use
6.5. List Expansion
6.6. String Escape Sequences
6.7. Language Context and Value Expansion
6.7.1. PJL Language
6.7.2. PCL Language
6.7.3. PostScript Language
6.8. Printer Entries
6.9. Include Facility
6.10. tc Entry Inclusion Facility
7. Filter Operation Details
7.1. Filter Pseudo-Code
7.2. Options, Initialization and Setup
7.3. Languages Supported- pjl, pcl, ps, and text
7.3.1. pjl_job FLAG
7.3.2. pjl_enter FLAG
7.3.3. remove_pjl_at_start FLAG
7.3.4. nullpad STRING
7.3.5. pjl_console FLAG
7.3.6. remove_ctrl STRING
7.3.7. tbcp FLAG
7.4. Synchronization and Pagecounts
7.5. PJL Initialization
7.6. File Conversion Support
7.6.1. File Type Detection
7.6.2. Conversion
7.6.3. LF to CR/LF Conversion
7.6.4. Text Treated Like PCL
7.6.5. Default to Passthrough
7.7. GhostScript Printer
7.8. Language Specific Initialization
7.9. File Transfer and Error Status Monitoring
7.10. End of Job
7.11. Tektronix Phaser, QMS and AppSocket Support
8. Banners and OF Mode Operation
8.1. No Banner
8.2. Banner Printing and No OF Filter
8.3. Banner Printing With OF Filter
8.4. LPRng Options Controlling Banner Printing
8.5. of_options option
9. Font Download Support
9.1. PCL Font Downloading
9.2. PS Font Downloading
9.3. PJL File Downloading
10. Debugging and Problem Solving
A. Index to Options
B. HP JetDirect Card Support
B.1. MicroSoft JetDirect Support
B.2. TCP/IP Address
B.3. Web Server Configuration
B.4. Telnet Configuration
B.5. BOOTP Information
B.6. Timeouts
List of Tables
2-1. Configure File Location Variables
2-2. Executable and Configuration File Locations
2-3. ifhp.conf Configuration Entries
4-1. Network Print Servers
A-1. ifhp.conf - ifhp Options

Preface

1. Introduction

The ifhp Print Filter is the primary print filter for the LPRng Print Spooler. This document is designed to be the single basic reference for the ifhp software; the LPRng software is distributed separately and has additional documentation.


2. Acknowledgements

I would like to thank all of the LPRng users who so relentlessly tried the incredible number of permutations and combinations of printers and software, and whose requests for just one more feature led to the development of the software.


3. Shell Prompts

The following table shows the default system prompt and superuser prompt. The examples will use this prompt to indicate which user you should be running the example as.

User Prompt
Normal user %
root #

4. Typographic Conventions

The following table describes the typographic conventions used in this book.

Meaning Examples
The name of commands, files, and directories. On screen computer output.

Edit your .login file.

Use ls -a to list all files.

    You have mail.


What you type, when contrasted with on-screen computer output.
    % su
    Password:
Manual page references. Use su(1) to change user names.
User and group names Only root can do this.
Emphasis You must do this.
Command line variables; replace with the real name or variable. To delete a file, type rm filename
Environment variables $HOME is your home directory.

5. Notes, warnings, and examples

Within the text appear notes, warnings, and examples.

Note: Notes are represented like this, and contain information that you should take note of, as it may affect what you do.

WarningWarnings are represented like this, and contain information warning you about possible damage if you do not follow the instructions. This damage may be physical, to your hardware or to you, or it may be non-physical, such as the inadvertant deletion of important files.

Examples are represented like this, and typically contain examples you should walk through, or show you what the results of a particular action should be.


Chapter 1. Introduction

The ifhp print filter is the latest in a long evolutionary path of print filters for the LPRng print spooler system. It unifies the low level printer communication facilities and provide a common code base for future development.

This document is the complete set of references and installation guide for the ifhp print filter. It covers compilation, installation, initial testing, details of system configuration, and configuration options that would be needed by the system administrator. Previous releases of ifhp had a large selection of README files which are now incorporated into the IFHP Reference Manual.

Information about LPRng and ifhp can be found on the LPRng web page http://www.lprng.com.

There is mailing list for ifhp and LPRng at . In order to reduce the amount of unsolicited spam mail posted to the list you must subscribe to the list before posting to it. To subscribe, send email message to lprng-request@lprng.com, with the single word subscribe in the body.

Several presentations of LPRng and print spooling software have been made at the Large Scale Installation Administrator (LISA) conferences and are in the ifhp distribution and available on web sites. The slides for the LISA 97 tutorial on t266">PS, PCL, PJL Printer with Parallel Port Connection

4.12. PS, PCL, PJL Printer with Serial Port
4.13. PostScript Only Printer
4.14. GhostScript
4.15. Tektronics Phaser, QMS, and Appsocket Protocol
5. Options and Arguments
5.1. Command Line Options
5.2. General Configuration Options - config, trace, debug
5.3. Status Messages
5.4. Printer Status Available - status
5.5. Monitoring Options - sync, waitend, pagecount
5.6. User -Z Option Support
5.7. Adding User Options
5.8. Initialization and Setup Control
6. Configuration File
6.1. Configuration File Entries
6.2. Comments
6.3. Option Setting
6.4. Option Use
6.5. List Expansion
6.6. String Escape Sequences
6.7. Language Context and Value Expansion
6.7.1. PJL Language
6.7.2. PCL Language
6.7.3. PostScript Language
6.8. Printer Entries
6.9. Include Facility
6.10. tc Entry Inclusion Facility
7. Filter Operation Details
7.1. Filter Pseudo-Code
7.2. Options, Initialization and Setup
7.3. Languages Supported- pjl, pcl, ps, and text
7.3.1. pjl_job FLAG
7.3.2. pjl_enter FLAG
7.3.3. remove_pjl_at_start FLAG
7.3.4. nullpad STRING
7.3.5. pjl_console FLAG
7.3.6. remove_ctrl STRING
7.3.7. tbcp FLAG
7.4. Synchronization and Pagecounts
7.5. PJL Initialization
7.6. File Conversion Support
7.6.1. File Type Detection
7.6.2. Conversion
7.6.3. LF to CR/LF Conversion
7.6.4. Text Treated Like PCL
7.6.5. Default to Passthrough
7.7. GhostScript Printer
7.8. Language Specific Initialization
7.9. File Transfer and Error Status Monitoring
7.10. End of Job
7.11. Tektronix Phaser, QMS and AppSocket Support
8. Banners and OF Mode Operation
8.1. No Banner
8.2. Banner Printing and No OF Filter
8.3. Banner Printing With OF Filter
8.4. LPRng Options Controlling Banner Printing
8.5. of_options option
9. Font Download Support
9.1. PCL Font Downloading
9.2. PS Font Downloading
9.3. PJL File Downloading
10. Debugging and Problem Solving
A. Index to Options
B. HP JetDirect Card Support
B.1. MicroSoft JetDirect Support
B.2. TCP/IP Address
B.3. Web Server Configuration
B.4. Telnet Configuration
B.5. BOOTP Information
B.6. Timeouts
List of Tables
2-1. Configure File Location Variables
2-2. Executable and Configuration File Locations
2-3. ifhp.conf Configuration Entries
4-1. Network Print Servers
A-1. ifhp.conf - ifhp Options

Preface

1. Introduction

The ifhp Print Filter is the primary print filter for the LPRng Print Spooler. This document is designed to be the single basic reference for the ifhp software; the LPRng software is distributed separately and has additional documentation.


2. Acknowledgements

I would like to thank all of the LPRng users who so relentlessly tried the incredible number of permutations and combinations of printers and software, and whose requests for just one more feature led to the development of the software.


3. Shell Prompts

The following table shows the default system prompt and superuser prompt. The examples will use this prompt to indicate which user you should be running the example as.

User Prompt
Normal user %
root #

4. Typographic Conventions

The following table describes the typographic conventions used in this book.

Meaning Examples
The name of commands, files, and directories. On screen computer output.

Edit your .login file.

Use ls -a to list all files.

    You have mail.


What you type, when contrasted with on-screen computer output.
    % su
    Password:
Manual page references. Use su(1) to change user names.
User and group names Only root can do this.
Emphasis You must do this.
Command line variables; replace with the real name or variable. To delete a file, type rm filename
Environment variables $HOME is your home directory.

5. Notes, warnings, and examples

Within the text appear notes, warnings, and examples.

Note: Notes are represented like this, and contain information that you should take note of, as it may affect what you do.

WarningWarnings are represented like this, and contain information warning you about possible damage if you do not follow the instructions. This damage may be physical, to your hardware or to you, or it may be non-physical, such as the inadvertant deletion of important files.

Examples are represented like this, and typically contain examples you should walk through, or show you what the results of a particular action should be.


Chapter 1. Introduction

The ifhp print filter is the latest in a long evolutionary path of print filters for the LPRng print spooler system. It unifies the low level printer communication facilities and provide a common code base for future development.

This document is the complete set of references and installation guide for the ifhp print filter. It covers compilation, installation, initial testing, details of system configuration, and configuration options that would be needed by the system administrator. Previous releases of ifhp had a large selection of README files which are now incorporated into the IFHP Reference Manual.

Information about LPRng and ifhp can be found on the LPRng web page http://www.lprng.com.

There is mailing list for ifhp and LPRng at . In order to reduce the amount of unsolicited spam mail posted to the list you must subscribe to the list before posting to it. To subscribe, send email message to lprng-request@lprng.com, with the single word subscribe in the body.

Several presentations of LPRng and print spooling software have been made at the Large Scale Installation Administrator (LISA) conferences and are in the ifhp distribution and available on web sites. The slides for the LISA 97 tutorial on t266">PS, PCL, PJL Printer with Parallel Port Connection

4.12. PS, PCL, PJL Printer with Serial Port
4.13. PostScript Only Printer
4.14. GhostScript
4.15. Tektronics Phaser, QMS, and Appsocket Protocol
5. Options and Arguments
5.1. Command Line Options
5.2. General Configuration Options - config, trace, debug
5.3. Status Messages
5.4. Printer Status Available - status
5.5. Monitoring Options - sync, waitend, pagecount
5.6. User -Z Option Support
5.7. Adding User Options
5.8. Initialization and Setup Control
6. Configuration File
6.1. Configuration File Entries
6.2. Comments
6.3. Option Setting
6.4. Option Use
6.5. List Expansion
6.6. String Escape Sequences
6.7. Language Context and Value Expansion
6.7.1. PJL Language
6.7.2. PCL Language
6.7.3. PostScript Language
6.8. Printer Entries
6.9. Include Facility
6.10. tc Entry Inclusion Facility
7. Filter Operation Details
7.1. Filter Pseudo-Code
7.2. Options, Initialization and Setup
7.3. Languages Supported- pjl, pcl, ps, and text
7.3.1. pjl_job FLAG
7.3.2. pjl_enter FLAG
7.3.3. remove_pjl_at_start FLAG
7.3.4. nullpad STRING
7.3.5. pjl_console FLAG
7.3.6. remove_ctrl STRING
7.3.7. tbcp FLAG
7.4. Synchronization and Pagecounts
7.5. PJL Initialization
7.6. File Conversion Support
7.6.1. File Type Detection
7.6.2. Conversion
7.6.3. LF to CR/LF Conversion
7.6.4. Text Treated Like PCL
7.6.5. Default to Passthrough
7.7. GhostScript Printer
7.8. Language Specific Initialization
7.9. File Transfer and Error Status Monitoring
7.10. End of Job
7.11. Tektronix Phaser, QMS and AppSocket Support
8. Banners and OF Mode Operation
8.1. No Banner
8.2. Banner Printing and No OF Filter
8.3. Banner Printing With OF Filter
8.4. LPRng Options Controlling Banner Printing
8.5. of_options option
9. Font Download Support
9.1. PCL Font Downloading
9.2. PS Font Downloading
9.3. PJL File Downloading
10. Debugging and Problem Solving
A. Index to Options
B. HP JetDirect Card Support
B.1. MicroSoft JetDirect Support
B.2. TCP/IP Address
B.3. Web Server Configuration
B.4. Telnet Configuration
B.5. BOOTP Information
B.6. Timeouts
List of Tables
2-1. Configure File Location Variables
2-2. Executable and Configuration File Locations
2-3. ifhp.conf Configuration Entries
4-1. Network Print Servers
A-1. ifhp.conf - ifhp Options

Preface

1. Introduction

The ifhp Print Filter is the primary print filter for the LPRng Print Spooler. This document is designed to be the single basic reference for the ifhp software; the LPRng software is distributed separately and has additional documentation.


2. Acknowledgements

I would like to thank all of the LPRng users who so relentlessly tried the incredible number of permutations and combinations of printers and software, and whose requests for just one more feature led to the development of the software.


3. Shell Prompts

The following table shows the default system prompt and superuser prompt. The examples will use this prompt to indicate which user you should be running the example as.

User Prompt
Normal user %
root #

4. Typographic Conventions

The following table describes the typographic conventions used in this book.

Meaning Examples
The name of commands, files, and directories. On screen computer output.

Edit your .login file.

Use ls -a to list all files.

    You have mail.


What you type, when contrasted with on-screen computer output.
    % su
    Password:
Manual page references. Use su(1) to change user names.
User and group names Only root can do this.
Emphasis You must do this.
Command line variables; replace with the real name or variable. To delete a file, type rm filename
Environment variables $HOME is your home directory.

5. Notes, warnings, and examples

Within the text appear notes, warnings, and examples.

Note: Notes are represented like this, and contain information that you should take note of, as it may affect what you do.

WarningWarnings are represented like this, and contain information warning you about possible damage if you do not follow the instructions. This damage may be physical, to your hardware or to you, or it may be non-physical, such as the inadvertant deletion of important files.

Examples are represented like this, and typically contain examples you should walk through, or show you what the results of a particular action should be.


Chapter 1. Introduction

The ifhp print filter is the latest in a long evolutionary path of print filters for the LPRng print spooler system. It unifies the low level printer communication facilities and provide a common code base for future development.

This document is the complete set of references and installation guide for the ifhp print filter. It covers compilation, installation, initial testing, details of system configuration, and configuration options that would be needed by the system administrator. Previous releases of ifhp had a large selection of README files which are now incorporated into the IFHP Reference Manual.

Information about LPRng and ifhp can be found on the LPRng web page http://www.lprng.com.

There is mailing list for ifhp and LPRng at . In order to reduce the amount of unsolicited spam mail posted to the list you must subscribe to the list before posting to it. To subscribe, send email message to lprng-request@lprng.com, with the single word subscribe in the body.

Several presentations of LPRng and print spooling software have been made at the Large Scale Installation Administrator (LISA) conferences and are in the ifhp distribution and available on web sites. The slides for the LISA 97 tutorial on t266">PS, PCL, PJL Printer with Parallel Port Connection

4.12. PS, PCL, PJL Printer with Serial Port
4.13. PostScript Only Printer
4.14. GhostScript
4.15. Tektronics Phaser, QMS, and Appsocket Protocol
5. Options and Arguments
5.1. Command Line Options
5.2. General Configuration Options - config, trace, debug
5.3. Status Messages
5.4. Printer Status Available - status
5.5. Monitoring Options - sync, waitend, pagecount
5.6. User -Z Option Support
5.7. Adding User Options
5.8. Initialization and Setup Control
6. Configuration File
6.1. Configuration File Entries
6.2. Comments
6.3. Option Setting
6.4. Option Use
6.5. List Expansion
6.6. String Escape Sequences
6.7. Language Context and Value Expansion
6.7.1. PJL Language
6.7.2. PCL Language
6.7.3. PostScript Language
6.8. Printer Entries
6.9. Include Facility
6.10. tc Entry Inclusion Facility
7. Filter Operation Details
7.1. Filter Pseudo-Code
7.2. Options, Initialization and Setup
7.3. Languages Supported- pjl, pcl, ps, and text
7.3.1. pjl_job FLAG
7.3.2. pjl_enter FLAG
7.3.3. remove_pjl_at_start FLAG
7.3.4. nullpad STRING
7.3.5. pjl_console FLAG
7.3.6. remove_ctrl STRING
7.3.7. tbcp FLAG
7.4. Synchronization and Pagecounts
7.5. PJL Initialization
7.6. File Conversion Support
7.6.1. File Type Detection
7.6.2. Conversion
7.6.3. LF to CR/LF Conversion
7.6.4. Text Treated Like PCL
7.6.5. Default to Passthrough
7.7. GhostScript Printer
7.8. Language Specific Initialization
7.9. File Transfer and Error Status Monitoring
7.10. End of Job
7.11. Tektronix Phaser, QMS and AppSocket Support
8. Banners and OF Mode Operation
8.1. No Banner
8.2. Banner Printing and No OF Filter
8.3. Banner Printing With OF Filter
8.4. LPRng Options Controlling Banner Printing
8.5. of_options option
9. Font Download Support
9.1. PCL Font Downloading
9.2. PS Font Downloading
9.3. PJL File Downloading
10. Debugging and Problem Solving
A. Index to Options
B. HP JetDirect Card Support
B.1. MicroSoft JetDirect Support
B.2. TCP/IP Address
B.3. Web Server Configuration
B.4. Telnet Configuration
B.5. BOOTP Information
B.6. Timeouts
List of Tables
2-1. Configure File Location Variables
2-2. Executable and Configuration File Locations
2-3. ifhp.conf Configuration Entries
4-1. Network Print Servers
A-1. ifhp.conf - ifhp Options

Preface

1. Introduction

The ifhp Print Filter is the primary print filter for the LPRng Print Spooler. This document is designed to be the single basic reference for the ifhp software; the LPRng software is distributed separately and has additional documentation.


2. Acknowledgements

I would like to thank all of the LPRng users who so relentlessly tried the incredible number of permutations and combinations of printers and software, and whose requests for just one more feature led to the development of the software.


3. Shell Prompts

The following table shows the default system prompt and superuser prompt. The examples will use this prompt to indicate which user you should be running the example as.

User Prompt
Normal user %
root #

4. Typographic Conventions

The following table describes the typographic conventions used in this book.

Meaning Examples
The name of commands, files, and directories. On screen computer output.

Edit your .login file.

Use ls -a to list all files.

    You have mail.


What you type, when contrasted with on-screen computer output.
    % su
    Password:
Manual page references. Use su(1) to change user names.
User and group names Only root can do this.
Emphasis You must do this.
Command line variables; replace with the real name or variable. To delete a file, type rm filename
Environment variables $HOME is your home directory.

5. Notes, warnings, and examples

Within the text appear notes, warnings, and examples.

Note: Notes are represented like this, and contain information that you should take note of, as it may affect what you do.

WarningWarnings are represented like this, and contain information warning you about possible damage if you do not follow the instructions. This damage may be physical, to your hardware or to you, or it may be non-physical, such as the inadvertant deletion of important files.

Examples are represented like this, and typically contain examples you should walk through, or show you what the results of a particular action should be.


Chapter 1. Introduction

The ifhp print filter is the latest in a long evolutionary path of print filters for the LPRng print spooler system. It unifies the low level printer communication facilities and provide a common code base for future development.

This document is the complete set of references and installation guide for the ifhp print filter. It covers compilation, installation, initial testing, details of system configuration, and configuration options that would be needed by the system administrator. Previous releases of ifhp had a large selection of README files which are now incorporated into the IFHP Reference Manual.

Information about LPRng and ifhp can be found on the LPRng web page http://www.lprng.com.

There is mailing list for ifhp and LPRng at . In order to reduce the amount of unsolicited spam mail posted to the list you must subscribe to the list before posting to it. To subscribe, send email message to lprng-request@lprng.com, with the single word subscribe in the body.

Several presentations of LPRng and print spooling software have been made at the Large Scale Installation Administrator (LISA) conferences and are in the ifhp distribution and available on web sites. The slides for the LISA 97 tutorial on t266">PS, PCL, PJL Printer with Parallel Port Connection

4.12. PS, PCL, PJL Printer with Serial Port
4.13. PostScript Only Printer
4.14. GhostScript
4.15. Tektronics Phaser, QMS, and Appsocket Protocol
5. Options and Arguments
5.1. Command Line Options
5.2. General Configuration Options - config, trace, debug
5.3. Status Messages
5.4. Printer Status Available - status
5.5. Monitoring Options - sync, waitend, pagecount
5.6. User -Z Option Support
5.7. Adding User Options
5.8. Initialization and Setup Control
6. Configuration File
6.1. Configuration File Entries
6.2. Comments
6.3. Option Setting
6.4. Option Use
6.5. List Expansion
6.6. String Escape Sequences
6.7. Language Context and Value Expansion
6.7.1. PJL Language
6.7.2. PCL Language
6.7.3. PostScript Language
6.8. Printer Entries
6.9. Include Facility
6.10. tc Entry Inclusion Facility
7. Filter Operation Details
7.1. Filter Pseudo-Code
7.2. Options, Initialization and Setup
7.3. Languages Supported- pjl, pcl, ps, and text
7.3.1. pjl_job FLAG
7.3.2. pjl_enter FLAG
7.3.3. remove_pjl_at_start FLAG
7.3.4. nullpad STRING
7.3.5. pjl_console FLAG
7.3.6. remove_ctrl STRING
7.3.7. tbcp FLAG
7.4. Synchronization and Pagecounts
7.5. PJL Initialization
7.6. File Conversion Support
7.6.1. File Type Detection
7.6.2. Conversion
7.6.3. LF to CR/LF Conversion
7.6.4. Text Treated Like PCL
7.6.5. Default to Passthrough
7.7. GhostScript Printer
7.8. Language Specific Initialization
7.9. File Transfer and Error Status Monitoring
7.10. End of Job
7.11. Tektronix Phaser, QMS and AppSocket Support
8. Banners and OF Mode Operation
8.1. No Banner
8.2. Banner Printing and No OF Filter
8.3. Banner Printing With OF Filter
8.4. LPRng Options Controlling Banner Printing
8.5. of_options option
9. Font Download Support
9.1. PCL Font Downloading
9.2. PS Font Downloading
9.3. PJL File Downloading
10. Debugging and Problem Solving
A. Index to Options
B. HP JetDirect Card Support
B.1. MicroSoft JetDirect Support
B.2. TCP/IP Address
B.3. Web Server Configuration
B.4. Telnet Configuration
B.5. BOOTP Information
B.6. Timeouts
List of Tables
2-1. Configure File Location Variables
2-2. Executable and Configuration File Locations
2-3. ifhp.conf Configuration Entries
4-1. Network Print Servers
A-1. ifhp.conf - ifhp Options

Preface

1. Introduction

The ifhp Print Filter is the primary print filter for the LPRng Print Spooler. This document is designed to be the single basic reference for the ifhp software; the LPRng software is distributed separately and has additional documentation.


2. Acknowledgements

I would like to thank all of the LPRng users who so relentlessly tried the incredible number of permutations and combinations of printers and software, and whose requests for just one more feature led to the development of the software.


3. Shell Prompts

The following table shows the default system prompt and superuser prompt. The examples will use this prompt to indicate which user you should be running the example as.

User Prompt
Normal user %
root #

4. Typographic Conventions

The following table describes the typographic conventions used in this book.

Meaning Examples
The name of commands, files, and directories. On screen computer output.

Edit your .login file.

Use ls -a to list all files.

    You have mail.


What you type, when contrasted with on-screen computer output.
    % su
    Password:
Manual page references. Use su(1) to change user names.
User and group names Only root can do this.
Emphasis You must do this.
Command line variables; replace with the real name or variable. To delete a file, type rm filename
Environment variables $HOME is your home directory.

5. Notes, warnings, and examples

Within the text appear notes, warnings, and examples.

Note: Notes are represented like this, and contain information that you should take note of, as it may affect what you do.

WarningWarnings are represented like this, and contain information warning you about possible damage if you do not follow the instructions. This damage may be physical, to your hardware or to you, or it may be non-physical, such as the inadvertant deletion of important files.

Examples are represented like this, and typically contain examples you should walk through, or show you what the results of a particular action should be.


Chapter 1. Introduction

The ifhp print filter is the latest in a long evolutionary path of print filters for the LPRng print spooler system. It unifies the low level printer communication facilities and provide a common code base for future development.

This document is the complete set of references and installation guide for the ifhp print filter. It covers compilation, installation, initial testing, details of system configuration, and configuration options that would be needed by the system administrator. Previous releases of ifhp had a large selection of README files which are now incorporated into the IFHP Reference Manual.

Information about LPRng and ifhp can be found on the LPRng web page http://www.lprng.com.

There is mailing list for ifhp and LPRng at . In order to reduce the amount of unsolicited spam mail posted to the list you must subscribe to the list before posting to it. To subscribe, send email message to lprng-request@lprng.com, with the single word subscribe in the body.

Several presentations of LPRng and print spooling software have been made at the Large Scale Installation Administrator (LISA) conferences and are in the ifhp distribution and available on web sites. The slides for the LISA 97 tutorial on t266">PS, PCL, PJL Printer with Parallel Port Connection

4.12. PS, PCL, PJL Printer with Serial Port
4.13. PostScript Only Printer
4.14. GhostScript
4.15. Tektronics Phaser, QMS, and Appsocket Protocol
5. Options and Arguments
5.1. Command Line Options
5.2. General Configuration Options - config, trace, debug
5.3. Status Messages
5.4. Printer Status Available - status
5.5. Monitoring Options - sync, waitend, pagecount
5.6. User -Z Option Support
5.7. Adding User Options
5.8. Initialization and Setup Control
6. Configuration File
6.1. Configuration File Entries
6.2. Comments
6.3. Option Setting
6.4. Option Use
6.5. List Expansion
6.6. String Escape Sequences
6.7. Language Context and Value Expansion
6.7.1. PJL Language
6.7.2. PCL Language
6.7.3. PostScript Language
6.8. Printer Entries
6.9. Include Facility
6.10. tc Entry Inclusion Facility
7. Filter Operation Details
7.1. Filter Pseudo-Code
7.2. Options, Initialization and Setup
7.3. Languages Supported- pjl, pcl, ps, and text
7.3.1. pjl_job FLAG
7.3.2. pjl_enter FLAG
7.3.3. remove_pjl_at_start FLAG
7.3.4. nullpad STRING
7.3.5. pjl_console FLAG
7.3.6. remove_ctrl STRING
7.3.7. tbcp FLAG
7.4. Synchronization and Pagecounts
7.5. PJL Initialization
7.6. File Conversion Support
7.6.1. File Type Detection
7.6.2. Conversion
7.6.3. LF to CR/LF Conversion
7.6.4. Text Treated Like PCL
7.6.5. Default to Passthrough
7.7. GhostScript Printer
7.8. Language Specific Initialization
7.9. File Transfer and Error Status Monitoring
7.10. End of Job
7.11. Tektronix Phaser, QMS and AppSocket Support
8. Banners and OF Mode Operation
8.1. No Banner
8.2. Banner Printing and No OF Filter
8.3. Banner Printing With OF Filter
8.4. LPRng Options Controlling Banner Printing
8.5. of_options option
9. Font Download Support
9.1. PCL Font Downloading
9.2. PS Font Downloading
9.3. PJL File Downloading
10. Debugging and Problem Solving
A. Index to Options
B. HP JetDirect Card Support
B.1. MicroSoft JetDirect Support
B.2. TCP/IP Address
B.3. Web Server Configuration
B.4. Telnet Configuration
B.5. BOOTP Information
B.6. Timeouts
List of Tables
2-1. Configure File Location Variables
2-2. Executable and Configuration File Locations
2-3. ifhp.conf Configuration Entries
4-1. Network Print Servers
A-1. ifhp.conf - ifhp Options

Preface

1. Introduction

The ifhp Print Filter is the primary print filter for the LPRng Print Spooler. This document is designed to be the single basic reference for the ifhp software; the LPRng software is distributed separately and has additional documentation.


2. Acknowledgements

I would like to thank all of the LPRng users who so relentlessly tried the incredible number of permutations and combinations of printers and software, and whose requests for just one more feature led to the development of the software.


3. Shell Prompts

The following table shows the default system prompt and superuser prompt. The examples will use this prompt to indicate which user you should be running the example as.

User Prompt
Normal user %
root #

4. Typographic Conventions

The following table describes the typographic conventions used in this book.

Meaning Examples
The name of commands, files, and directories. On screen computer output.

Edit your .login file.

Use ls -a to list all files.

    You have mail.


What you type, when contrasted with on-screen computer output.
    % su
    Password:
Manual page references. Use su(1) to change user names.
User and group names Only root can do this.
Emphasis You must do this.
Command line variables; replace with the real name or variable. To delete a file, type rm filename
Environment variables $HOME is your home directory.

5. Notes, warnings, and examples

Within the text appear notes, warnings, and examples.

Note: Notes are represented like this, and contain information that you should take note of, as it may affect what you do.

WarningWarnings are represented like this, and contain information warning you about possible damage if you do not follow the instructions. This damage may be physical, to your hardware or to you, or it may be non-physical, such as the inadvertant deletion of important files.

Examples are represented like this, and typically contain examples you should walk through, or show you what the results of a particular action should be.


Chapter 1. Introduction

The ifhp print filter is the latest in a long evolutionary path of print filters for the LPRng print spooler system. It unifies the low level printer communication facilities and provide a common code base for future development.

This document is the complete set of references and installation guide for the ifhp print filter. It covers compilation, installation, initial testing, details of system configuration, and configuration options that would be needed by the system administrator. Previous releases of ifhp had a large selection of README files which are now incorporated into the IFHP Reference Manual.

Information about LPRng and ifhp can be found on the LPRng web page http://www.lprng.com.

There is mailing list for ifhp and LPRng at . In order to reduce the amount of unsolicited spam mail posted to the list you must subscribe to the list before posting to it. To subscribe, send email message to lprng-request@lprng.com, with the single word subscribe in the body.

Several presentations of LPRng and print spooling software have been made at the Large Scale Installation Administrator (LISA) conferences and are in the ifhp distribution and available on web sites. The slides for the LISA 97 tutorial on t266">PS, PCL, PJL Printer with Parallel Port Connection

4.12. PS, PCL, PJL Printer with Serial Port
4.13. PostScript Only Printer
4.14. GhostScript
4.15. Tektronics Phaser, QMS, and Appsocket Protocol
5. Options and Arguments
5.1. Command Line Options
5.2. General Configuration Options - config, trace, debug
5.3. Status Messages
5.4. Printer Status Available - status
5.5. Monitoring Options - sync, waitend, pagecount
5.6. User -Z Option Support
5.7. Adding User Options
5.8. Initialization and Setup Control
6. Configuration File
6.1. Configuration File Entries
6.2. Comments
6.3. Option Setting
6.4. Option Use
6.5. List Expansion
6.6. String Escape Sequences
6.7. Language Context and Value Expansion
6.7.1. PJL Language
6.7.2. PCL Language
6.7.3. PostScript Language
6.8. Printer Entries
6.9. Include Facility
6.10. tc Entry Inclusion Facility
7. Filter Operation Details
7.1. Filter Pseudo-Code
7.2. Options, Initialization and Setup
7.3. Languages Supported- pjl, pcl, ps, and text
7.3.1. pjl_job FLAG
7.3.2. pjl_enter FLAG
7.3.3. remove_pjl_at_start FLAG
7.3.4. nullpad STRING
7.3.5. pjl_console FLAG
7.3.6. remove_ctrl STRING
7.3.7. tbcp FLAG
7.4. Synchronization and Pagecounts
7.5. PJL Initialization
7.6. File Conversion Support
7.6.1. File Type Detection
7.6.2. Conversion
7.6.3. LF to CR/LF Conversion
7.6.4. Text Treated Like PCL
7.6.5. Default to Passthrough
7.7. GhostScript Printer
7.8. Language Specific Initialization
7.9. File Transfer and Error Status Monitoring
7.10. End of Job
7.11. Tektronix Phaser, QMS and AppSocket Support
8. Banners and OF Mode Operation
8.1. No Banner
8.2. Banner Printing and No OF Filter
8.3. Banner Printing With OF Filter
8.4. LPRng Options Controlling Banner Printing
8.5. of_options option
9. Font Download Support
9.1. PCL Font Downloading
9.2. PS Font Downloading
9.3. PJL File Downloading
10. Debugging and Problem Solving
A. Index to Options
B. HP JetDirect Card Support
B.1. MicroSoft JetDirect Support
B.2. TCP/IP Address
B.3. Web Server Configuration
B.4. Telnet Configuration
B.5. BOOTP Information
B.6. Timeouts
List of Tables
2-1. Configure File Location Variables
2-2. Executable and Configuration File Locations
2-3. ifhp.conf Configuration Entries
4-1. Network Print Servers
A-1. ifhp.conf - ifhp Options

Preface

1. Introduction

The ifhp Print Filter is the primary print filter for the LPRng Print Spooler. This document is designed to be the single basic reference for the ifhp software; the LPRng software is distributed separately and has additional documentation.


2. Acknowledgements

I would like to thank all of the LPRng users who so relentlessly tried the incredible number of permutations and combinations of printers and software, and whose requests for just one more feature led to the development of the software.


3. Shell Prompts

The following table shows the default system prompt and superuser prompt. The examples will use this prompt to indicate which user you should be running the example as.

User Prompt
Normal user %
root #

4. Typographic Conventions

The following table describes the typographic conventions used in this book.

Meaning Examples
The name of commands, files, and directories. On screen computer output.

Edit your .login file.

Use ls -a to list all files.

    You have mail.


What you type, when contrasted with on-screen computer output.
    % su
    Password:
Manual page references. Use su(1) to change user names.
User and group names Only root can do this.
Emphasis You must do this.
Command line variables; replace with the real name or variable. To delete a file, type rm filename
Environment variables $HOME is your home directory.

5. Notes, warnings, and examples

Within the text appear notes, warnings, and examples.

Note: Notes are represented like this, and contain information that you should take note of, as it may affect what you do.

WarningWarnings are represented like this, and contain information warning you about possible damage if you do not follow the instructions. This damage may be physical, to your hardware or to you, or it may be non-physical, such as the inadvertant deletion of important files.

Examples are represented like this, and typically contain examples you should walk through, or show you what the results of a particular action should be.


Chapter 1. Introduction

The ifhp print filter is the latest in a long evolutionary path of print filters for the LPRng print spooler system. It unifies the low level printer communication facilities and provide a common code base for future development.

This document is the complete set of references and installation guide for the ifhp print filter. It covers compilation, installation, initial testing, details of system configuration, and configuration options that would be needed by the system administrator. Previous releases of ifhp had a large selection of README files which are now incorporated into the IFHP Reference Manual.

Information about LPRng and ifhp can be found on the LPRng web page http://www.lprng.com.

There is mailing list for ifhp and LPRng at . In order to reduce the amount of unsolicited spam mail posted to the list you must subscribe to the list before posting to it. To subscribe, send email message to lprng-request@lprng.com, with the single word subscribe in the body.

Several presentations of LPRng and print spooling software have been made at the Large Scale Installation Administrator (LISA) conferences and are in the ifhp distribution and available on web sites. The slides for the LISA 97 tutorial on t266">PS, PCL, PJL Printer with Parallel Port Connection

4.12. PS, PCL, PJL Printer with Serial Port
4.13. PostScript Only Printer
4.14. GhostScript
4.15. Tektronics Phaser, QMS, and Appsocket Protocol
5. Options and Arguments
5.1. Command Line Options
5.2. General Configuration Options - config, trace, debug
5.3. Status Messages
5.4. Printer Status Available - status
5.5. Monitoring Options - sync, waitend, pagecount
5.6. User -Z Option Support
5.7. Adding User Options
5.8. Initialization and Setup Control
6. Configuration File
6.1. Configuration File Entries
6.2. Comments
6.3. Option Setting
6.4. Option Use
6.5. List Expansion
6.6. String Escape Sequences
6.7. Language Context and Value Expansion
6.7.1. PJL Language
6.7.2. PCL Language
6.7.3. PostScript Language
6.8. Printer Entries
6.9. Include Facility
6.10. tc Entry Inclusion Facility
7. Filter Operation Details
7.1. Filter Pseudo-Code
7.2. Options, Initialization and Setup
7.3. Languages Supported- pjl, pcl, ps, and text
7.3.1. pjl_job FLAG
7.3.2. pjl_enter FLAG
7.3.3. remove_pjl_at_start FLAG
7.3.4. nullpad STRING
7.3.5. pjl_console FLAG
7.3.6. remove_ctrl STRING
7.3.7. tbcp FLAG
7.4. Synchronization and Pagecounts
7.5. PJL Initialization
7.6. File Conversion Support
7.6.1. File Type Detection
7.6.2. Conversion
7.6.3. LF to CR/LF Conversion
7.6.4. Text Treated Like PCL
7.6.5. Default to Passthrough
7.7. GhostScript Printer
7.8. Language Specific Initialization
7.9. File Transfer and Error Status Monitoring
7.10. End of Job
7.11. Tektronix Phaser, QMS and AppSocket Support
8. Banners and OF Mode Operation
8.1. No Banner
8.2. Banner Printing and No OF Filter
8.3. Banner Printing With OF Filter
8.4. LPRng Options Controlling Banner Printing
8.5. of_options option
9. Font Download Support
9.1. PCL Font Downloading
9.2. PS Font Downloading
9.3. PJL File Downloading
10. Debugging and Problem Solving
A. Index to Options
B. HP JetDirect Card Support
B.1. MicroSoft JetDirect Support
B.2. TCP/IP Address
B.3. Web Server Configuration
B.4. Telnet Configuration
B.5. BOOTP Information
B.6. Timeouts
List of Tables
2-1. Configure File Location Variables
2-2. Executable and Configuration File Locations
2-3. ifhp.conf Configuration Entries
4-1. Network Print Servers
A-1. ifhp.conf - ifhp Options

Preface

1. Introduction

The ifhp Print Filter is the primary print filter for the LPRng Print Spooler. This document is designed to be the single basic reference for the ifhp software; the LPRng software is distributed separately and has additional documentation.


2. Acknowledgements

I would like to thank all of the LPRng users who so relentlessly tried the incredible number of permutations and combinations of printers and software, and whose requests for just one more feature led to the development of the software.


3. Shell Prompts

The following table shows the default system prompt and superuser prompt. The examples will use this prompt to indicate which user you should be running the example as.

User Prompt
Normal user %
root #

4. Typographic Conventions

The following table describes the typographic conventions used in this book.

Meaning Examples
The name of commands, files, and directories. On screen computer output.

Edit your .login file.

Use ls -a to list all files.

    You have mail.


What you type, when contrasted with on-screen computer output.
    % su
    Password:
Manual page references. Use su(1) to change user names.
User and group names Only root can do this.
Emphasis You must do this.
Command line variables; replace with the real name or variable. To delete a file, type rm filename
Environment variables $HOME is your home directory.

5. Notes, warnings, and examples

Within the text appear notes, warnings, and examples.

Note: Notes are represented like this, and contain information that you should take note of, as it may affect what you do.

WarningWarnings are represented like this, and contain information warning you about possible damage if you do not follow the instructions. This damage may be physical, to your hardware or to you, or it may be non-physical, such as the inadvertant deletion of important files.

Examples are represented like this, and typically contain examples you should walk through, or show you what the results of a particular action should be.


Chapter 1. Introduction

The ifhp print filter is the latest in a long evolutionary path of print filters for the LPRng print spooler system. It unifies the low level printer communication facilities and provide a common code base for future development.

This document is the complete set of references and installation guide for the ifhp print filter. It covers compilation, installation, initial testing, details of system configuration, and configuration options that would be needed by the system administrator. Previous releases of ifhp had a large selection of README files which are now incorporated into the IFHP Reference Manual.

Information about LPRng and ifhp can be found on the LPRng web page http://www.lprng.com.

There is mailing list for ifhp and LPRng at . In order to reduce the amount of unsolicited spam mail posted to the list you must subscribe to the list before posting to it. To subscribe, send email message to lprng-request@lprng.com, with the single word subscribe in the body.

Several presentations of LPRng and print spooling software have been made at the Large Scale Installation Administrator (LISA) conferences and are in the ifhp distribution and available on web sites. The slides for the LISA 97 tutorial on t266">PS, PCL, PJL Printer with Parallel Port Connection

4.12. PS, PCL, PJL Printer with Serial Port
4.13. PostScript Only Printer
4.14. GhostScript
4.15. Tektronics Phaser, QMS, and Appsocket Protocol
5. Options and Arguments
5.1. Command Line Options
5.2. General Configuration Options - config, trace, debug
5.3. Status Messages
5.4. Printer Status Available - status
5.5. Monitoring Options - sync, waitend, pagecount
5.6. User -Z Option Support
5.7. Adding User Options
5.8. Initialization and Setup Control
6. Configuration File
6.1. Configuration File Entries
6.2. Comments
6.3. Option Setting
6.4. Option Use
6.5. List Expansion
6.6. String Escape Sequences
6.7. Language Context and Value Expansion
6.7.1. PJL Language
6.7.2. PCL Language
6.7.3. PostScript Language
6.8. Printer Entries
6.9. Include Facility
6.10. tc Entry Inclusion Facility
7. Filter Operation Details
7.1. Filter Pseudo-Code
7.2. Options, Initialization and Setup
7.3. Languages Supported- pjl, pcl, ps, and text
7.3.1. pjl_job FLAG
7.3.2. pjl_enter FLAG
7.3.3. remove_pjl_at_start FLAG
7.3.4. nullpad STRING
7.3.5. pjl_console FLAG
7.3.6. remove_ctrl STRING
7.3.7. tbcp FLAG
7.4. Synchronization and Pagecounts
7.5. PJL Initialization
7.6. File Conversion Support
7.6.1. File Type Detection
7.6.2. Conversion
7.6.3. LF to CR/LF Conversion
7.6.4. Text Treated Like PCL
7.6.5. Default to Passthrough
7.7. GhostScript Printer
7.8. Language Specific Initialization
7.9. File Transfer and Error Status Monitoring
7.10. End of Job
7.11. Tektronix Phaser, QMS and AppSocket Support
8. Banners and OF Mode Operation
8.1. No Banner
8.2. Banner Printing and No OF Filter
8.3. Banner Printing With OF Filter
8.4. LPRng Options Controlling Banner Printing
8.5. of_options option
9. Font Download Support
9.1. PCL Font Downloading
9.2. PS Font Downloading
9.3. PJL File Downloading
10. Debugging and Problem Solving
A. Index to Options
B. HP JetDirect Card Support
B.1. MicroSoft JetDirect Support
B.2. TCP/IP Address
B.3. Web Server Configuration
B.4. Telnet Configuration
B.5. BOOTP Information
B.6. Timeouts
List of Tables
2-1. Configure File Location Variables
2-2. Executable and Configuration File Locations
2-3. ifhp.conf Configuration Entries
4-1. Network Print Servers
A-1. ifhp.conf - ifhp Options

Preface

1. Introduction

The ifhp Print Filter is the primary print filter for the LPRng Print Spooler. This document is designed to be the single basic reference for the ifhp software; the LPRng software is distributed separately and has additional documentation.


2. Acknowledgements

I would like to thank all of the LPRng users who so relentlessly tried the incredible number of permutations and combinations of printers and software, and whose requests for just one more feature led to the development of the software.


3. Shell Prompts

The following table shows the default system prompt and superuser prompt. The examples will use this prompt to indicate which user you should be running the example as.

User Prompt
Normal user %
root #

4. Typographic Conventions

The following table describes the typographic conventions used in this book.

Meaning Examples
The name of commands, files, and directories. On screen computer output.

Edit your .login file.

Use ls -a to list all files.

    You have mail.


What you type, when contrasted with on-screen computer output.
    % su
    Password:
Manual page references. Use su(1) to change user names.
User and group names Only root can do this.
Emphasis You must do this.
Command line variables; replace with the real name or variable. To delete a file, type rm filename
Environment variables $HOME is your home directory.

5. Notes, warnings, and examples

Within the text appear notes, warnings, and examples.

Note: Notes are represented like this, and contain information that you should take note of, as it may affect what you do.

WarningWarnings are represented like this, and contain information warning you about possible damage if you do not follow the instructions. This damage may be physical, to your hardware or to you, or it may be non-physical, such as the inadvertant deletion of important files.

Examples are represented like this, and typically contain examples you should walk through, or show you what the results of a particular action should be.


Chapter 1. Introduction

The ifhp print filter is the latest in a long evolutionary path of print filters for the LPRng print spooler system. It unifies the low level printer communication facilities and provide a common code base for future development.

This document is the complete set of references and installation guide for the ifhp print filter. It covers compilation, installation, initial testing, details of system configuration, and configuration options that would be needed by the system administrator. Previous releases of ifhp had a large selection of README files which are now incorporated into the IFHP Reference Manual.

Information about LPRng and ifhp can be found on the LPRng web page http://www.lprng.com.

There is mailing list for ifhp and LPRng at . In order to reduce the amount of unsolicited spam mail posted to the list you must subscribe to the list before posting to it. To subscribe, send email message to lprng-request@lprng.com, with the single word subscribe in the body.

Several presentations of LPRng and print spooling software have been made at the Large Scale Installation Administrator (LISA) conferences and are in the ifhp distribution and available on web sites. The slides for the LISA 97 tutorial on t266">PS, PCL, PJL Printer with Parallel Port Connection

4.12. PS, PCL, PJL Printer with Serial Port
4.13. PostScript Only Printer
4.14. GhostScript
4.15. Tektronics Phaser, QMS, and Appsocket Protocol
5. Options and Arguments
5.1. Command Line Options
5.2. General Configuration Options - config, trace, debug
5.3. Status Messages
5.4. Printer Status Available - status
5.5. Monitoring Options - sync, waitend, pagecount
5.6. User -Z Option Support
5.7. Adding User Options
5.8. Initialization and Setup Control
6. Configuration File
6.1. Configuration File Entries
6.2. Comments
6.3. Option Setting
6.4. Option Use
6.5. List Expansion
6.6. String Escape Sequences
6.7. Language Context and Value Expansion
6.7.1. PJL Language
6.7.2. PCL Language
6.7.3. PostScript Language
6.8. Printer Entries
6.9. Include Facility
6.10. tc Entry Inclusion Facility
7. Filter Operation Details
7.1. Filter Pseudo-Code
7.2. Options, Initialization and Setup
7.3. Languages Supported- pjl, pcl, ps, and text
7.3.1. pjl_job FLAG
7.3.2. pjl_enter FLAG
7.3.3. remove_pjl_at_start FLAG
7.3.4. nullpad STRING
7.3.5. pjl_console FLAG
7.3.6. remove_ctrl STRING
7.3.7. tbcp FLAG
7.4. Synchronization and Pagecounts
7.5. PJL Initialization
7.6. File Conversion Support
7.6.1. File Type Detection
7.6.2. Conversion
7.6.3. LF to CR/LF Conversion
7.6.4. Text Treated Like PCL
7.6.5. Default to Passthrough
7.7. GhostScript Printer
7.8. Language Specific Initialization
7.9. File Transfer and Error Status Monitoring
7.10. End of Job
7.11. Tektronix Phaser, QMS and AppSocket Support
8. Banners and OF Mode Operation
8.1. No Banner
8.2. Banner Printing and No OF Filter
8.3. Banner Printing With OF Filter
8.4. LPRng Options Controlling Banner Printing
8.5. of_options option
9. Font Download Support
9.1. PCL Font Downloading
9.2. PS Font Downloading
9.3. PJL File Downloading
10. Debugging and Problem Solving
A. Index to Options
B. HP JetDirect Card Support
B.1. MicroSoft JetDirect Support
B.2. TCP/IP Address
B.3. Web Server Configuration
B.4. Telnet Configuration
B.5. BOOTP Information
B.6. Timeouts
List of Tables
2-1. Configure File Location Variables
2-2. Executable and Configuration File Locations
2-3. ifhp.conf Configuration Entries
4-1. Network Print Servers
A-1. ifhp.conf - ifhp Options

Preface

1. Introduction

The ifhp Print Filter is the primary print filter for the LPRng Print Spooler. This document is designed to be the single basic reference for the ifhp software; the LPRng software is distributed separately and has additional documentation.


2. Acknowledgements

I would like to thank all of the LPRng users who so relentlessly tried the incredible number of permutations and combinations of printers and software, and whose requests for just one more feature led to the development of the software.


3. Shell Prompts

The following table shows the default system prompt and superuser prompt. The examples will use this prompt to indicate which user you should be running the example as.

User Prompt
Normal user %
root #

4. Typographic Conventions

The following table describes the typographic conventions used in this book.

Meaning Examples
The name of commands, files, and directories. On screen computer output.

Edit your .login file.

Use ls -a to list all files.

    You have mail.


What you type, when contrasted with on-screen computer output.
    % su
    Password:
Manual page references. Use su(1) to change user names.
User and group names Only root can do this.
Emphasis You must do this.
Command line variables; replace with the real name or variable. To delete a file, type rm filename
Environment variables $HOME is your home directory.

5. Notes, warnings, and examples

Within the text appear notes, warnings, and examples.

Note: Notes are represented like this, and contain information that you should take note of, as it may affect what you do.

WarningWarnings are represented like this, and contain information warning you about possible damage if you do not follow the instructions. This damage may be physical, to your hardware or to you, or it may be non-physical, such as the inadvertant deletion of important files.

Examples are represented like this, and typically contain examples you should walk through, or show you what the results of a particular action should be.


Chapter 1. Introduction

The ifhp print filter is the latest in a long evolutionary path of print filters for the LPRng print spooler system. It unifies the low level printer communication facilities and provide a common code base for future development.

This document is the complete set of references and installation guide for the ifhp print filter. It covers compilation, installation, initial testing, details of system configuration, and configuration options that would be needed by the system administrator. Previous releases of ifhp had a large selection of README files which are now incorporated into the IFHP Reference Manual.

Information about LPRng and ifhp can be found on the LPRng web page http://www.lprng.com.

There is mailing list for ifhp and LPRng at . In order to reduce the amount of unsolicited spam mail posted to the list you must subscribe to the list before posting to it. To subscribe, send email message to lprng-request@lprng.com, with the single word subscribe in the body.

Several presentations of LPRng and print spooling software have been made at the Large Scale Installation Administrator (LISA) conferences and are in the ifhp distribution and available on web sites. The slides for the LISA 97 tutorial on t266">PS, PCL, PJL Printer with Parallel Port Connection

4.12. PS, PCL, PJL Printer with Serial Port
4.13. PostScript Only Printer
4.14. GhostScript
4.15. Tektronics Phaser, QMS, and Appsocket Protocol
5. Options and Arguments
5.1. Command Line Options
5.2. General Configuration Options - config, trace, debug
5.3. Status Messages
5.4. Printer Status Available - status
5.5. Monitoring Options - sync, waitend, pagecount
5.6. User -Z Option Support
5.7. Adding User Options
5.8. Initialization and Setup Control
6. Configuration File
6.1. Configuration File Entries
6.2. Comments
6.3. Option Setting
6.4. Option Use
6.5. List Expansion
6.6. String Escape Sequences
6.7. Language Context and Value Expansion
6.7.1. PJL Language
6.7.2. PCL Language
6.7.3. PostScript Language
6.8. Printer Entries
6.9. Include Facility
6.10. tc Entry Inclusion Facility
7. Filter Operation Details
7.1. Filter Pseudo-Code
7.2. Options, Initialization and Setup
7.3. Languages Supported- pjl, pcl, ps, and text
7.3.1. pjl_job FLAG
7.3.2. pjl_enter FLAG
7.3.3. remove_pjl_at_start FLAG
7.3.4. nullpad STRING
7.3.5. pjl_console FLAG
7.3.6. remove_ctrl STRING
7.3.7. tbcp FLAG
7.4. Synchronization and Pagecounts
7.5. PJL Initialization
7.6. File Conversion Support
7.6.1. File Type Detection
7.6.2. Conversion
7.6.3. LF to CR/LF Conversion
7.6.4. Text Treated Like PCL
7.6.5. Default to Passthrough
7.7. GhostScript Printer
7.8. Language Specific Initialization
7.9. File Transfer and Error Status Monitoring
7.10. End of Job
7.11. Tektronix Phaser, QMS and AppSocket Support
8. Banners and OF Mode Operation
8.1. No Banner
8.2. Banner Printing and No OF Filter
8.3. Banner Printing With OF Filter
8.4. LPRng Options Controlling Banner Printing
8.5. of_options option
9. Font Download Support
9.1. PCL Font Downloading
9.2. PS Font Downloading
9.3. PJL File Downloading
10. Debugging and Problem Solving
A. Index to Options
B. HP JetDirect Card Support
B.1. MicroSoft JetDirect Support
B.2. TCP/IP Address
B.3. Web Server Configuration
B.4. Telnet Configuration
B.5. BOOTP Information
B.6. Timeouts
List of Tables
2-1. Configure File Location Variables
2-2. Executable and Configuration File Locations
2-3. ifhp.conf Configuration Entries
4-1. Network Print Servers
A-1. ifhp.conf - ifhp Options

Preface

1. Introduction

The ifhp Print Filter is the primary print filter for the LPRng Print Spooler. This document is designed to be the single basic reference for the ifhp software; the LPRng software is distributed separately and has additional documentation.


2. Acknowledgements

I would like to thank all of the LPRng users who so relentlessly tried the incredible number of permutations and combinations of printers and software, and whose requests for just one more feature led to the development of the software.


3. Shell Prompts

The following table shows the default system prompt and superuser prompt. The examples will use this prompt to indicate which user you should be running the example as.

User Prompt
Normal user %
root #

4. Typographic Conventions

The following table describes the typographic conventions used in this book.

Meaning Examples
The name of commands, files, and directories. On screen computer output.

Edit your .login file.

Use ls -a to list all files.

    You have mail.


What you type, when contrasted with on-screen computer output.
    % su
    Password:
Manual page references. Use su(1) to change user names.
User and group names Only root can do this.
Emphasis You must do this.
Command line variables; replace with the real name or variable. To delete a file, type rm filename
Environment variables $HOME is your home directory.

5. Notes, warnings, and examples

Within the text appear notes, warnings, and examples.

Note: Notes are represented like this, and contain information that you should take note of, as it may affect what you do.

WarningWarnings are represented like this, and contain information warning you about possible damage if you do not follow the instructions. This damage may be physical, to your hardware or to you, or it may be non-physical, such as the inadvertant deletion of important files.

Examples are represented like this, and typically contain examples you should walk through, or show you what the results of a particular action should be.


Chapter 1. Introduction

The ifhp print filter is the latest in a long evolutionary path of print filters for the LPRng print spooler system. It unifies the low level printer communication facilities and provide a common code base for future development.

This document is the complete set of references and installation guide for the ifhp print filter. It covers compilation, installation, initial testing, details of system configuration, and configuration options that would be needed by the system administrator. Previous releases of ifhp had a large selection of README files which are now incorporated into the IFHP Reference Manual.

Information about LPRng and ifhp can be found on the LPRng web page http://www.lprng.com.

There is mailing list for ifhp and LPRng at . In order to reduce the amount of unsolicited spam mail posted to the list you must subscribe to the list before posting to it. To subscribe, send email message to lprng-request@lprng.com, with the single word subscribe in the body.

Several presentations of LPRng and print spooling software have been made at the Large Scale Installation Administrator (LISA) conferences and are in the ifhp distribution and available on web sites. The slides for the LISA 97 tutorial on t266">PS, PCL, PJL Printer with Parallel Port Connection

4.12. PS, PCL, PJL Printer with Serial Port
4.13. PostScript Only Printer
4.14. GhostScript
4.15. Tektronics Phaser, QMS, and Appsocket Protocol
5. Options and Arguments
5.1. Command Line Options
5.2. General Configuration Options - config, trace, debug
5.3. Status Messages
5.4. Printer Status Available - status
5.5. Monitoring Options - sync, waitend, pagecount
5.6. User -Z Option Support
5.7. Adding User Options
5.8. Initialization and Setup Control
6. Configuration File
6.1. Configuration File Entries
6.2. Comments
6.3. Option Setting
6.4. Option Use
6.5. List Expansion
6.6. String Escape Sequences
6.7. Language Context and Value Expansion
6.7.1. PJL Language
6.7.2. PCL Language
6.7.3. PostScript Language
6.8. Printer Entries
6.9. Include Facility
6.10. tc Entry Inclusion Facility
7. Filter Operation Details
7.1. Filter Pseudo-Code
7.2. Options, Initialization and Setup
7.3. Languages Supported- pjl, pcl, ps, and text
7.3.1. pjl_job FLAG
7.3.2. pjl_enter FLAG
7.3.3. remove_pjl_at_start FLAG
7.3.4. nullpad STRING
7.3.5. pjl_console FLAG
7.3.6. remove_ctrl STRING
7.3.7. tbcp FLAG
7.4. Synchronization and Pagecounts
7.5. PJL Initialization
7.6. File Conversion Support
7.6.1. File Type Detection
7.6.2. Conversion
7.6.3. LF to CR/LF Conversion
7.6.4. Text Treated Like PCL
7.6.5. Default to Passthrough
7.7. GhostScript Printer
7.8. Language Specific Initialization
7.9. File Transfer and Error Status Monitoring
7.10. End of Job
7.11. Tektronix Phaser, QMS and AppSocket Support
8. Banners and OF Mode Operation
8.1. No Banner
8.2. Banner Printing and No OF Filter
8.3. Banner Printing With OF Filter
8.4. LPRng Options Controlling Banner Printing
8.5. of_options option
9. Font Download Support
9.1. PCL Font Downloading
9.2. PS Font Downloading
9.3. PJL File Downloading
10. Debugging and Problem Solving
A. Index to Options
B. HP JetDirect Card Support
B.1. MicroSoft JetDirect Support
B.2. TCP/IP Address
B.3. Web Server Configuration
B.4. Telnet Configuration
B.5. BOOTP Information
B.6. Timeouts
List of Tables
2-1. Configure File Location Variables
2-2. Executable and Configuration File Locations
2-3. ifhp.conf Configuration Entries
4-1. Network Print Servers
A-1. ifhp.conf - ifhp Options

Preface

1. Introduction

The ifhp Print Filter is the primary print filter for the LPRng Print Spooler. This document is designed to be the single basic reference for the ifhp software; the LPRng software is distributed separately and has additional documentation.


2. Acknowledgements

I would like to thank all of the LPRng users who so relentlessly tried the incredible number of permutations and combinations of printers and software, and whose requests for just one more feature led to the development of the software.


3. Shell Prompts

The following table shows the default system prompt and superuser prompt. The examples will use this prompt to indicate which user you should be running the example as.

User Prompt
Normal user %
root #

4. Typographic Conventions

The following table describes the typographic conventions used in this book.

Meaning Examples
The name of commands, files, and directories. On screen computer output.

Edit your .login file.

Use ls -a to list all files.

    You have mail.


What you type, when contrasted with on-screen computer output.
    % su
    Password:
Manual page references. Use su(1) to change user names.
User and group names Only root can do this.
Emphasis You must do this.
Command line variables; replace with the real name or variable. To delete a file, type rm filename
Environment variables $HOME is your home directory.

5. Notes, warnings, and examples

Within the text appear notes, warnings, and examples.

Note: Notes are represented like this, and contain information that you should take note of, as it may affect what you do.

WarningWarnings are represented like this, and contain information warning you about possible damage if you do not follow the instructions. This damage may be physical, to your hardware or to you, or it may be non-physical, such as the inadvertant deletion of important files.

Examples are represented like this, and typically contain examples you should walk through, or show you what the results of a particular action should be.


Chapter 1. Introduction

The ifhp print filter is the latest in a long evolutionary path of print filters for the LPRng print spooler system. It unifies the low level printer communication facilities and provide a common code base for future development.

This document is the complete set of references and installation guide for the ifhp print filter. It covers compilation, installation, initial testing, details of system configuration, and configuration options that would be needed by the system administrator. Previous releases of ifhp had a large selection of README files which are now incorporated into the IFHP Reference Manual.

Information about LPRng and ifhp can be found on the LPRng web page http://www.lprng.com.

There is mailing list for ifhp and LPRng at . In order to reduce the amount of unsolicited spam mail posted to the list you must subscribe to the list before posting to it. To subscribe, send email message to lprng-request@lprng.com, with the single word subscribe in the body.

Several presentations of LPRng and print spooling software have been made at the Large Scale Installation Administrator (LISA) conferences and are in the ifhp distribution and available on web sites. The slides for the LISA 97 tutorial on t266">PS, PCL, PJL Printer with Parallel Port Connection

4.12. PS, PCL, PJL Printer with Serial Port
4.13. PostScript Only Printer
4.14. GhostScript
4.15. Tektronics Phaser, QMS, and Appsocket Protocol
5. Options and Arguments
5.1. Command Line Options
5.2. General Configuration Options - config, trace, debug
5.3. Status Messages
5.4. Printer Status Available - status
5.5. Monitoring Options - sync, waitend, pagecount
5.6. User -Z Option Support
5.7. Adding User Options
5.8. Initialization and Setup Control
6. Configuration File
6.1. Configuration File Entries
6.2. Comments
6.3. Option Setting
6.4. Option Use
6.5. List Expansion
6.6. String Escape Sequences
6.7. Language Context and Value Expansion
6.7.1. PJL Language
6.7.2. PCL Language
6.7.3. PostScript Language
6.8. Printer Entries
6.9. Include Facility
6.10. tc Entry Inclusion Facility
7. Filter Operation Details
7.1. Filter Pseudo-Code
7.2. Options, Initialization and Setup
7.3. Languages Supported- pjl, pcl, ps, and text
7.3.1. pjl_job FLAG
7.3.2. pjl_enter FLAG
7.3.3. remove_pjl_at_start FLAG
7.3.4. nullpad STRING
7.3.5. pjl_console FLAG
7.3.6. remove_ctrl STRING
7.3.7. tbcp FLAG
7.4. Synchronization and Pagecounts
7.5. PJL Initialization
7.6. File Conversion Support
7.6.1. File Type Detection
7.6.2. Conversion
7.6.3. LF to CR/LF Conversion
7.6.4. Text Treated Like PCL
7.6.5. Default to Passthrough
7.7. GhostScript Printer
7.8. Language Specific Initialization
7.9. File Transfer and Error Status Monitoring
7.10. End of Job
7.11. Tektronix Phaser, QMS and AppSocket Support
8. Banners and OF Mode Operation
8.1. No Banner
8.2. Banner Printing and No OF Filter
8.3. Banner Printing With OF Filter
8.4. LPRng Options Controlling Banner Printing
8.5. of_options option
9. Font Download Support
9.1. PCL Font Downloading
9.2. PS Font Downloading
9.3. PJL File Downloading
10. Debugging and Problem Solving
A. Index to Options
B. HP JetDirect Card Support
B.1. MicroSoft JetDirect Support
B.2. TCP/IP Address
B.3. Web Server Configuration
B.4. Telnet Configuration
B.5. BOOTP Information
B.6. Timeouts
List of Tables
2-1. Configure File Location Variables
2-2. Executable and Configuration File Locations
2-3. ifhp.conf Configuration Entries
4-1. Network Print Servers
A-1. ifhp.conf - ifhp Options

Preface

1. Introduction

The ifhp Print Filter is the primary print filter for the LPRng Print Spooler. This document is designed to be the single basic reference for the ifhp software; the LPRng software is distributed separately and has additional documentation.


2. Acknowledgements

I would like to thank all of the LPRng users who so relentlessly tried the incredible number of permutations and combinations of printers and software, and whose requests for just one more feature led to the development of the software.


3. Shell Prompts

The following table shows the default system prompt and superuser prompt. The examples will use this prompt to indicate which user you should be running the example as.

User Prompt
Normal user %
root #

4. Typographic Conventions

The following table describes the typographic conventions used in this book.

Meaning Examples
The name of commands, files, and directories. On screen computer output.

Edit your .login file.

Use ls -a to list all files.

    You have mail.


What you type, when contrasted with on-screen computer output.
    % su
    Password:
Manual page references. Use su(1) to change user names.
User and group names Only root can do this.
Emphasis You must do this.
Command line variables; replace with the real name or variable. To delete a file, type rm filename
Environment variables $HOME is your home directory.

5. Notes, warnings, and examples

Within the text appear notes, warnings, and examples.

Note: Notes are represented like this, and contain information that you should take note of, as it may affect what you do.

WarningWarnings are represented like this, and contain information warning you about possible damage if you do not follow the instructions. This damage may be physical, to your hardware or to you, or it may be non-physical, such as the inadvertant deletion of important files.

Examples are represented like this, and typically contain examples you should walk through, or show you what the results of a particular action should be.


Chapter 1. Introduction

The ifhp print filter is the latest in a long evolutionary path of print filters for the LPRng print spooler system. It unifies the low level printer communication facilities and provide a common code base for future development.

This document is the complete set of references and installation guide for the ifhp print filter. It covers compilation, installation, initial testing, details of system configuration, and configuration options that would be needed by the system administrator. Previous releases of ifhp had a large selection of README files which are now incorporated into the IFHP Reference Manual.

Information about LPRng and ifhp can be found on the LPRng web page http://www.lprng.com.

There is mailing list for ifhp and LPRng at . In order to reduce the amount of unsolicited spam mail posted to the list you must subscribe to the list before posting to it. To subscribe, send email message to lprng-request@lprng.com, with the single word subscribe in the body.

Several presentations of LPRng and print spooling software have been made at the Large Scale Installation Administrator (LISA) conferences and are in the ifhp distribution and available on web sites. The slides for the LISA 97 tutorial on t266">PS, PCL, PJL Printer with Parallel Port Connection

4.12. PS, PCL, PJL Printer with Serial Port
4.13. PostScript Only Printer
4.14. GhostScript
4.15. Tektronics Phaser, QMS, and Appsocket Protocol
5. Options and Arguments
5.1. Command Line Options
5.2. General Configuration Options - config, trace, debug
5.3. Status Messages
5.4. Printer Status Available - status
5.5. Monitoring Options - sync, waitend, pagecount
5.6. User -Z Option Support
5.7. Adding User Options
5.8. Initialization and Setup Control
6. Configuration File
6.1. Configuration File Entries
6.2. Comments
6.3. Option Setting
6.4. Option Use
6.5. List Expansion
6.6. String Escape Sequences
6.7. Language Context and Value Expansion
6.7.1. PJL Language
6.7.2. PCL Language
6.7.3. PostScript Language
6.8. Printer Entries
6.9. Include Facility
6.10. tc Entry Inclusion Facility
7. Filter Operation Details
7.1. Filter Pseudo-Code
7.2. Options, Initialization and Setup
7.3. Languages Supported- pjl, pcl, ps, and text
7.3.1. pjl_job FLAG
7.3.2. pjl_enter FLAG
7.3.3. remove_pjl_at_start FLAG
7.3.4. nullpad STRING
7.3.5. pjl_console FLAG
7.3.6. remove_ctrl STRING
7.3.7. tbcp FLAG
7.4. Synchronization and Pagecounts
7.5. PJL Initialization
7.6. File Conversion Support
7.6.1. File Type Detection
7.6.2. Conversion
7.6.3. LF to CR/LF Conversion
7.6.4. Text Treated Like PCL
7.6.5. Default to Passthrough
7.7. GhostScript Printer
7.8. Language Specific Initialization
7.9. File Transfer and Error Status Monitoring
7.10. End of Job
7.11. Tektronix Phaser, QMS and AppSocket Support
8. Banners and OF Mode Operation
8.1. No Banner
8.2. Banner Printing and No OF Filter
8.3. Banner Printing With OF Filter
8.4. LPRng Options Controlling Banner Printing
8.5. of_options option
9. Font Download Support
9.1. PCL Font Downloading
9.2. PS Font Downloading
9.3. PJL File Downloading
10. Debugging and Problem Solving
A. Index to Options
B. HP JetDirect Card Support
B.1. MicroSoft JetDirect Support
B.2. TCP/IP Address
B.3. Web Server Configuration
B.4. Telnet Configuration
B.5. BOOTP Information
B.6. Timeouts
List of Tables
2-1. Configure File Location Variables
2-2. Executable and Configuration File Locations
2-3. ifhp.conf Configuration Entries
4-1. Network Print Servers
A-1. ifhp.conf - ifhp Options

Preface

1. Introduction

The ifhp Print Filter is the primary print filter for the LPRng Print Spooler. This document is designed to be the single basic reference for the ifhp software; the LPRng software is distributed separately and has additional documentation.


2. Acknowledgements

I would like to thank all of the LPRng users who so relentlessly tried the incredible number of permutations and combinations of printers and software, and whose requests for just one more feature led to the development of the software.


3. Shell Prompts

The following table shows the default system prompt and superuser prompt. The examples will use this prompt to indicate which user you should be running the example as.