Printing From The Linux Shell Or Terminal Window Within The X-Window System - Xerox Phaser 3400 Reference Manual

Personal laser printer
Hide thumbs Also See for Phaser 3400:
Table of Contents

Advertisement

Printing from the Linux Shell or Terminal Window within the
X-Window System
The Linux environment has the ability to directly interface with the devices attached to
the computer. There are three basic commands to initiate, view, and delete print jobs:
LPR
I
LPQ
I
LPRM
I
LPR sends the document to the designated printer; this is the format:
$ lpr [ options ] [ filename ... ]
Example: $ lpr thesis.txt prints the file named thesis.txt
Options:
-#x = number of copies
Example: $ lpr -#2 thesis.txt prints 2 copies
-Pprintername = specific printer name (if you have multiple printers installed)
Example: $ lpr -P3400 thesis.txt prints on the printer named 3400
LPQ displays all the documents that are in the printer queue waiting to be printed; this is
the format:
$ lpq
Example: $ lpq at the shell would return:
Rank
Owner
Active
mwf
LPRM deletes pending print jobs; this is the format:
$ lprm -
Example: $ lprm 31 would delete print job #31 (thesis.txt) from the queue.
Reference Guide
Job
Files
Total Size
thesis.txt
682048 bytes
31
Linux Printing
7

Advertisement

Table of Contents
loading

This manual is also suitable for:

3400b - phaser b/w laser printer

Table of Contents