1832619 Members
2721 Online
110043 Solutions
New Discussion

"lp" command logging

 
SOLVED
Go to solution
ckchoi
Advisor

"lp" command logging

Dear all,

Could I enable logging on the "lp" commands issued? Also, how can I know that the "lp" command is executed successfully, even no printout is received by the printer?
4 REPLIES 4
Rajeev  Shukla
Honored Contributor
Solution

Re: "lp" command logging

You can enable the verbose on lp by running the lpsched command with -v
do a lpshut and then run lpsched -v this will log everything in /var/adm/lp/log
Raj D.
Honored Contributor

Re: "lp" command logging

Hi ckchoi,

Check the file /var/adm/lp/log and all the lp requests that sent are logged there with the request number.


Cheers,
Raj.

" If u think u can , If u think u cannot , - You are always Right . "
ckchoi
Advisor

Re: "lp" command logging

I see. Thanks.
ckchoi
Advisor

Re: "lp" command logging

I can find the log with requested information. Thanks.