Printer configuration in YaST

Configuration of printer queues (both local and remote) and spooler service with YaST

Jan Holesovsky

Petr Blahos

Jiri Srain

This document is meant for YaST2 development only.

Abstract

Configuration of printer subsystem. Version 2.10.0 - September 2004


Table of Contents

1. Overview
1.1. Printer vs. Queue
1.2. Queue types
1.3. The workflow
2. Printer Connection Types
2.1. Local Printer
2.1.1. Parallel port
2.1.1.1. Requirements
2.1.1.2. Auto-detection of Devices
2.1.1.3. Auto-probe of the Printer Model
2.1.2. Serial Port
2.1.2.1. Requirements
2.1.2.2. Auto-detection of Devices
2.1.2.3. Device Settings
2.1.2.4. Auto-probe of the Printer Model
2.1.3. USB
2.1.3.1. Requirements
2.1.3.2. Auto-detection of Devices
2.1.3.3. Auto-probe of the Printer Model
2.1.4. IrDA
2.1.4.1. Requirements
2.1.4.2. Auto-detection of Devices
2.1.4.3. Auto-probe of the Printer Model
2.2. Remote Printer
2.2.1. LPD-compatible server
2.2.1.1. Required information
2.2.1.2. Auto-detection of Hosts
2.2.1.3. Auto-detection of Queues
2.2.2. Printing via IPP protocol
2.2.2.1. Required information
2.2.2.2. Auto-detection of Hosts
2.2.2.3. Auto-detection of Queues
2.2.3. SMB/CIFS/Windows printer
2.2.3.1. Required information
2.2.3.2. Auto-detection of Hosts
2.2.3.3. Auto-detection of Workgroups
2.2.3.4. Auto-detection of Queues
2.2.4. Novell Netware (NCP)
2.2.4.1. Required information
2.2.4.2. Auto-detection of Hosts
2.2.4.3. Auto-detection of Queues
2.2.5. Direct printing to TCP port
2.2.5.1. Required information
2.2.5.2. Auto-detection of Hosts
2.2.5.3. Auto-detection of Port
3. Internal Structures
3.1. Queue Structure
3.2. Detected Printer Structure
4. Database of Drivers
4.1. Reading the Database
4.2. Building the Database
4.3. Updating the database
5. Test Page Printing
5.1. ASCII Test Page
5.2. PostScript Test Page
6. Tools
6.1. Local printer
6.1.1. test_device
6.1.1.1. Purpose
6.1.1.2. Command line
6.1.1.3. Exit code
6.2. Remote Printer
6.2.1. test_remote_ipp
6.2.1.1. Purpose
6.2.1.2. Command line
6.2.1.3. Exit code
6.2.2. test_remote_lpd
6.2.2.1. purpose
6.2.2.2. Command line
6.2.2.3. Exit code
6.2.3. test_remote_smb
6.2.3.1. Purpose
6.2.3.2. Command line
6.2.3.3. Exit code
6.2.4. test_remote_novell
6.2.4.1. Purpose
6.2.4.2. Command line
6.2.4.3. Exit code
6.2.5. test_remote_socket
6.2.5.1. Purpose
6.2.5.2. Command line
6.2.5.3. Exit code
7. Configuration Reading
7.1. Check Root Permission
7.2. Check Installed Spooler
7.3. Initialize the Spooler
7.4. Read Firewall Settings
7.5. Load Database of Drivers
7.6. Read Settings of the Spooler
7.6.1. CUPS System Settings
7.6.2. CUPS Queues Settings
7.7. Autodetect Printers
8. Configuration Writing
8.1. Adjust printing services
8.2. Delete removed queues
8.3. Save modified queues
8.4. Set the default queue
8.5. Save system settings
8.5.1. CUPS full server mode
8.5.2. CUPS full server mode
8.6. Save Firewall Settings
8.7. Restart Spooler
9. TODO

List of Examples

3.1. Queue Structure
3.2. Detected Printer Structure
4.1. Structure of the database