Deleted Added
full compact
lpq.1 (26757) lpq.1 (29780)
1.\" Copyright (c) 1983, 1990, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 61 unchanged lines hidden (view full) ---

70Normally, only as much information as will fit on one line is displayed.
71.It Fl a
72Report on the local queues for all printers,
73rather than just the specified printer.
74.El
75.Pp
76For each job submitted (i.e. invocation of
77.Xr lpr 1 )
1.\" Copyright (c) 1983, 1990, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 61 unchanged lines hidden (view full) ---

70Normally, only as much information as will fit on one line is displayed.
71.It Fl a
72Report on the local queues for all printers,
73rather than just the specified printer.
74.El
75.Pp
76For each job submitted (i.e. invocation of
77.Xr lpr 1 )
78.Nm lpq
78.Nm
79reports the user's name, current rank in the queue, the
80names of files comprising the job, the job identifier (a number which
81may be supplied to
82.Xr lprm 1
83for removing a specific job), and the total size in bytes.
84Job ordering is dependent on
85the algorithm used to scan the spooling directory and is supposed
86to be
87.Tn FIFO
88(First in First Out).
89File names comprising a job may be unavailable
90(when
91.Xr lpr 1
92is used as a sink in a pipeline) in which case the file
93is indicated as ``(standard input)''.
94.Pp
95If
79reports the user's name, current rank in the queue, the
80names of files comprising the job, the job identifier (a number which
81may be supplied to
82.Xr lprm 1
83for removing a specific job), and the total size in bytes.
84Job ordering is dependent on
85the algorithm used to scan the spooling directory and is supposed
86to be
87.Tn FIFO
88(First in First Out).
89File names comprising a job may be unavailable
90(when
91.Xr lpr 1
92is used as a sink in a pipeline) in which case the file
93is indicated as ``(standard input)''.
94.Pp
95If
96.Nm lpq
96.Nm
97warns that there is no daemon present (i.e. due to some malfunction),
98the
99.Xr lpc 8
100command can be used to restart the printer daemon.
101.Sh ENVIRONMENT
102If the following environment variable exists, it is used by
103.Nm lpq :
104.Bl -tag -width PRINTER

--- 17 unchanged lines hidden (view full) ---

122.Xr lpc 8 ,
123.Xr lpd 8
124.Sh HISTORY
125.Nm Lpq
126appeared in
127.Bx 3 .
128.Sh BUGS
129Due to the dynamic nature of the information in the spooling directory
97warns that there is no daemon present (i.e. due to some malfunction),
98the
99.Xr lpc 8
100command can be used to restart the printer daemon.
101.Sh ENVIRONMENT
102If the following environment variable exists, it is used by
103.Nm lpq :
104.Bl -tag -width PRINTER

--- 17 unchanged lines hidden (view full) ---

122.Xr lpc 8 ,
123.Xr lpd 8
124.Sh HISTORY
125.Nm Lpq
126appeared in
127.Bx 3 .
128.Sh BUGS
129Due to the dynamic nature of the information in the spooling directory
130.Nm lpq
130.Nm
131may report unreliably.
132Output formatting is sensitive to the line length of the terminal;
133this can results in widely spaced columns.
134.Sh DIAGNOSTICS
135Unable to open various files. The lock file being malformed. Garbage
136files when there is no daemon active, but files in the spooling directory.
131may report unreliably.
132Output formatting is sensitive to the line length of the terminal;
133this can results in widely spaced columns.
134.Sh DIAGNOSTICS
135Unable to open various files. The lock file being malformed. Garbage
136files when there is no daemon active, but files in the spooling directory.