Chapter 6. Customizing the LP Print Service (Tasks)

Table of Contents

Customizing the LP Print Service (Task Map)
Adjusting Printer Port Characteristics
Adding a terminfo Entry for an Unsupported Printer
Customizing the Printer Interface Program
The Standard Printer Interface Program
Customizing stty Modes
Exit Codes
Fault Messages
Using a Customized Printer Interface Program
Creating a New Print Filter
Writing a Print Filter Program
Creating a Print Filter Definition
Creating a New Printer Form

Customizing the LP Print Service (Task Map)

Task

Description

For Instructions

Add a terminfo entry of an unsupported printer.

Add an entry to the terminfo database to initialize an unsupported printer and establish required settings.

How to Add a terminfo Entry for an Unsupported Printer

Create a new print filter.

Create a new print filter for file types that the LP print service cannot interpret.

How to Create a New Print Filter

Set up a custom printer interface program.

You can furnish a custom printer interface program if you have a printer that is not supported by the standard printer interface program.

How to Set Up a Custom Printer Interface Program

Adjust the printer port characteristics.

Make printer port characteristics the are set by the LP print service compatible with the printer communication settings.

How to Adjust the Printer Port Characteristics

Create a new form definition.

Provide a new form definition by specifying information for nine required printer characteristics.

How to Create a New Printer Form Definition