Monday, April 10, 2017

Solaris : Understanding /var/lp/logs/requests file.





Hello  Friends

This is informational article for Oracle Solaris print related messages in file; mentioned in document heading. The information is not compiled from respective Principal vendors.

Codes in the requests Log File





Letter 
Content of Line 
=
The separator line, which contains the following items: request ID, user ID (UID), and group IDs (GIDs) of the user, the total number of bytes in the original (unfiltered) file size, and the time when the request was queued. 
z
The name of the printer. 
C
The number of copies printed. 
D
The printer or class destination, or the word any.
F
The name of the file printed. The line is repeated for each file printed. Files were printed in the order shown. 
f
(Optional) The name of the form that is used. 
H
(Optional) One of three types of special handling: resume, hold, and immediate.  
N
(Optional) The type of alert used when the print request was successfully completed. The type is the letter M if the user was notified by email or W if the user was notified by a message to the terminal.
O
(Optional) The printer-dependent -o options. For example, nobanner.
P
The priority of the print request. 
p
The list of pages printed. 
r
(Optional) A single-letter line that is included if the user asked for “raw” processing of the files with the lp -r command.
S
(Optional) The character set, print wheel, or cartridge used. 
T
The title placed on the banner page. 
t
The type of content found in the files. 
U
The name of the user who submitted the print request. 
s
The outcome of the request, shown as a combination of individual bits expressed in hexadecimal format. Several bits are used internally by the print service. The bits and what they mean are described in the following table. 
v
  • 0 — Identifies that the print job originated from the in.1pd print daemon or another system on the network.
  • 2 — Identifies that the print job originated from the /usr/bin/lp or /usr/ucb/lpr commands.
  • 1 — Identifies that the print job originated from an older version of the printing software.
x
(Optional) The slow filter used for the print request. 
Y
(Optional) The list of special modes for the print filters used to print the request. 
z
(Optional) The printer used for the request. This printer differs from the destination (the D line) if the request was queued for any printer or a class of printers, or if the request was moved to another destination.



No comments:

Post a Comment

What is The Abilene Paradox ?

Context : Corporate World. (excerpt from publicly available sources) On a birthday, a family decided to go out for dinner. Husb...