My Princess

Janya - My Life

My Co-Authors

Vaishali Shah
Ivan Bayross

My Publishers

Shroff Publishers

I work with

Saba Software

Web Directories

Directory India

Who's Online

We have 20 guests online
Linux Printer Commands PDF Print E-mail

printtool - is the utility available on the GUI for performing printer configuration, also an option is made available on the CUI in the setup menu. Either of these options can be used to perform the configuration. This inturn generates a capture file under the directory /etc/ with the name printcap.


Command

ipr

Purpose

Off line print.

Synopsis

ipr [options] files


Description:

Send files to the printer spool queue.


Options:

-c

The files are assumed to contain data produced by cifplot(1) .

-d

The files are assumed to contain data from text.

-f

Use a filter which interprets the first character of each line as a standard FORTRAN carriage control character.

-g

The files are assumed to contain standard plot data as produced by the plot routines.

-l

Use a filter which allows control characters to be printed and suppresses page breaks

-n

The files are assumed to contain data from ditroff (device i ndependent troff).

-p

Use pr(1) to format the files (equivalent to print).

-t

The files are assumed to contain data from troff(1) ( cat photo-t

ypesetter commands).

-v

The files are assumed to contain a raster image for devices tike the

Benson Varian.


Additional Options For Handling Of The Print Job:

-P

Force output to a specific printer. Normally, the default printer is used (site dependent), or the value of the environment variable PRINTER is used.

-h

Suppress the printing of the burst page.

-m

Send mail upon completion.

-r

Remove the file upon completion of spooling. Cannot be used with the -s option, due to security concerns.

-J job

Job name to print on the burst page. Normally, the first file's name is used.

-T title

Title name for pr(1) , instead of the file name.

-U user

User name to print on the burst page, also for accounting purposes. This option is only honoured if the real user-id is daemon (or that specified in the printcap file instead of daemon), and is intended for those instances where print filters wish to requeue jobs.

-i [numcols]

The output is indented. If the next argument is numeric (numcols), it is used as the number of blanks to be printed before each line; otherwise, 8 characters are printed.

-wnum

Uses num as the page width for pr(1) .



Command

lpq

Purpose

Spool queue examination program.

Synopsis

ipr [options] files


Description:

The lpq command examines the spooling area used by lpd(8) for printing files on the line printer, and reports the status of the specified jobs or all jobs associated with a user, lpq invoked without any arguments reports on any jobs currently in the queue.


Options:

-P

Specify a particular printer, otherwise the default line printer is used (or the value of the PRINTER variable in the environment). All other arguments supplied are interpreted as user names or job numbers to filter out only those jobs of interest.

-l

Information about each of the files comprising the job entry is printed. Normally, only as much information as will fit on one line is displayed.



Command

lprm

Purpose

Remove jobs from the line printer spooling queue.

Synopsis

lprm [options] [job #] [user]


Description:

The lprm command will remove a job, or jobs, from a printer's spool queue. Since the spoofing directory is protected from users, using lprm is normally the only method by which a user may remove a job.


Options:

-P printer

Specify the queue associated with a specific printer (otherwise the default printer is used), if a single '-' is given, lprm will remove all jobs which a user owns. If the superuser employs this flag, the spool queue will be emptied entirely.

user

Causes lprm to attempt to remove any jobs queued belonging to that user (or users). This form of invoking lprm is useful only to the super-user.

job #

A user may dequeue an individual job by specifying its job number.


If neither arguments nor options are given, lprm will delete the currently active job if the user who invoked lprm owns it .

+/-
Write comment
Name:
Email:
 
Website:
Title:
UBBCode:
[b] [i] [u] [url] [quote] [code] [img] 
 
 
:angry::0:confused::cheer:B):evil::silly::dry::lol::kiss::D:pinch:
:(:shock::X:side::):P:unsure::woohoo::huh::whistle:;):s
:!::?::idea::arrow:
 
Please input the anti-spam code that you can read in the image.
+/- Comments
Add New Search RSS

3.26 Copyright (C) 2008 Compojoom.com / Copyright (C) 2007 Alain Georgette / Copyright (C) 2006 Frantisek Hliva. All rights reserved."