Chapter 6. Tools

Table of Contents

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

This section describes various tools for testing several connections (both local and remote) of printers.

6.1. Local printer

6.1.1. test_device

6.1.1.1. Purpose

Test if it is possible to send data to a local port. This usually results in a page with a text printed.

6.1.1.2. Command line

$1 is the message to sent to the port. $2 is the device node to send the data to. $3 is the time limit to perform the operation.

6.1.1.3. Exit code

0 means that there was no problem. 1 means that the operation timed out. 2 means that there was a problem writing to the device.