Usage

The Klpq Handbook
Prev |  | Next

# Chapter 2. Usage

# 2.1. Starting Klpq

klpq [ [-n] [-P printer] file1 file2 URL1 URL2]

On first startup Klpq asks you which print spooler you use. Klpq supports BSD, PPR and LPRng. If you don't know which spooler is installed on your system you will most probably have BSD. If Klpq does not display your printqueue, try one of the other settings (You may change the spooling system from config->spooler).

Without any arguments Klpq searches for the environment variable `PRINTER` and tries to display the contents of the corresponding queue. If `PRINTER` i s not set, it displays the contents of the queue named `lp`. If no queue with this name exists it displays the first printer queue in your printcap file.

With the file argument you may use Klpq as a replacement for lpr. You don't have to type lpr `file_to_print`; klpq but may type directly klpq `file_to_print`. Klpq executes lpr for you. The `-P` option specifies the spool area to use. Currently no other options to lpr are supported.

The `-n` option tells Klpq not to display the queue if a filename was given on the command line. E.g.e> klpq `-n `file_to_print`` lets Klpq send the file to the printer and exit immediatly. klpq `-n` without file argument will start Klpq as normal.

Klpq now supports URLs as arguments on the command line. Klpq will use Konqueror to copy the file to a temporary file on the local system and sends it to the printer.

| Please note that Klpq must be running during the download. If you quit Klpq earlier the files will not be printed.

DRAG & DROP: You may drag any URLurl> out of Konqueror and drop it on the Klpq window. Klpq will copy the URL to a temporary file and send it to the printer.

Prev | Home | Next
Introduction |  | The Main Window