First Edition (October 1997)
Trademarks and Acknowledgements
About This Book
Chapter 1. Printers, Print Jobs, and Queues Overview for Users
Printer Terminology
Starting a Print Job (qprt Command)
Canceling a Print Job (qcan Command)
Prioritizing a Print Job (qpri Command)
Moving a Print Job to Another Print Queue (qmov Command)
Holding and Releasing a Print Job (qhld Command)
Checking Print Job Status (qchk Command)
Formatting Files for Printing (pr Command)
Printing ASCII Files on a PostScript Printer
Command Summary for Printers, Print Jobs, and Queues
Chapter 2. Printers, Print Jobs, and Queues for System Administrators
Initial Printer Configuration
Configuring a Printer without Adding a Queue
Additional Queue Operations
Adding a Print Queue Device
Adding Plotter Support with 5080
Creating a Plotter Setup File
Adding a Local Printer to an Existing Queue
Adding an Xstation Printer to an Existing Queue
Adding an ASCII Terminal Printer to an Existing Queue
Adding an HP JetDirect Printer to an Existing Queue
Adding a File to an Existing Queue
Configuring Nonsupported Printers
Printing with Terminal-Attached Printers
Commands and Control Sequences
Terminal-Attached Printing Limitations
Configuring a Printer for an ASCII Display Terminal
Listing Print Queues and Print Queue Devices
Showing Status of Print Queues
Starting and Stopping a Print Queue
Setting the Default Print Queue
Holding and Releasing a Print Job (qhld Command)
Moving a Job between Queues
Scheduling Print Jobs
Changing or Showing Queue Characteristics
Specifying Paper Size
Changing or Showing Printer Connection Characteristics
Changing / Showing Pre-Processing Filters
Deleting a Print Queue
Listing All Supported and Defined Printers
Moving a Printer to Another Port
Changing or Showing Printer Characteristics
Deleting a Printer
Remote Printing Overview
Managing and Using Remote Printers and Queues
Using Remote Host Access for Printing
Using the lpd Remote Subsystem
Showing Status of Printer Server Subsystem
Printer Queuing System Status Conditions
Chapter 3. Spooler Overview
Spooler Introduction
Spooler Terminology
The Generic AIX Spooler
Spooler Parts
Spooler Data Flow Part I
Spooler Data Flow Part II
Overview of Backend Processing
Virtual Printers and Formatter Filters
/etc/qconfig, the Spooler Configuration File
Summary
Chapter 4. Printer, Plotter, and Spooler Subsystem Programming
Printer Backend Overview for Programming
Virtual Printer Definitions and Attributes
Printer Colon File Escape Sequences
Printer Colon File Conventions
Example of Print Formatter
Understanding the Interaction between qdaemon and the Backend
Understanding Backend Routines in libqb
Printer Code Page Translation Tables
Printer Code Page Translation for Multibyte Code Sets
Printer Attachment Files
Printer Colon File limits Field Operators
Adding Support for Configuring a Network-Attached Printer
Adding a Printer Using the Printer Colon File
Printer-Specific Information
Printer Support
Pass-Through Mode
Viewing, Formatting, or Modifying Virtual Printer Definitions
Modifying the mi, mp, and _d Attributes on a PostScript Queue
How piobe Uses Printer Colon Files
Calculating Page Length Using Printer Colon File Escape Sequences
Calculating Page Width Using Printer Colon File Escape Sequences
Spooler Job Header and Trailer Pages
Modifying the mo Virtual Printer Attribute
Filters
Editing /etc/qconfig
Chapter 5. Troubleshooting the AIX Spooler
Local Printer Checklist
Inoperative Printer Checklist
Remote Printer Checklist
Adapter Considerations
Terminal-Attached Printer Checklist
Considerations for 8-Bit Printer Attached to 7-Bit Interface
qdaemon Checklist
Queuing System Problems
Testing the qdaemon
Testing a Spooler Queue
Copying Spooled Jobs
Cleaning Up and Starting Over