Problem
What do the status codes in my requests log mean?
The requests log on UnixWare systems is located in: /etc/lp/logs
On Openserver systems it can be found in: /usr/spool/lp/logs
A complete log entry contains several lines:
= sertest-16, uid 0, gid 18, size 170, Tue Nov 22 11:43:19
2005
z sertest
C 1
D sertest
F /etc/hosts
O lines=20
P 20
t simple
U root
s 0x0100
l C_C.C
m C_C.C
--The status line is labeled 's', and in this example shows 0x0100.
Solution
This is the list of print status codes.
0x0001 The request was held pending resume.
0x0002 Slow filtering is running.
0x0004 Slow filtering finished successfully.
0x0008 The request is on the printer.
0x0010 Printing finished successfully.
0x0020 The request was held pending user change.
0x0040 The request was canceled.
0x0080 The request will print next.
0x0100 The request failed filtering or printing.
0x0200 The request is in transit to a remote printer.
0x0400 The user will be notified.
0x0800 A notification is running.
0x1000 A remote system has accepted the request.
0x2000 The administrator placed a hold on the request.
0x4000 The printer had to change filters.
0x8000 The request is temporarily stopped.These can be combined for multiple statuses, for example if your status code is 0x0140, it indicates that the request was canceled and failed filtering or printing.