Solved

Printing Stuff

Posted on 1998-08-12
2
176 Views
Last Modified: 2013-12-27
I am trying to use the logs provided with the lp print service to return what has happened to my print job. I need the files described as being under the /var/lp/logs directory created after a print is complete or can not complete. These logs however requests and lpNet are not present on my unix box or anyone elses around. Can you help, how to I turn them on, I am new to printer administartion.
I am running this from a solaris 2.6 ultra II on a network printer running through a file server. Can you help?
0
Comment
Question by:merrywma
2 Comments
 
LVL 5

Accepted Solution

by:
bchew earned 100 total points
Comment Utility
Create an entry in your printcap file for each printer with the following syntax:
:lf=/var/lp/logs/<logfilename>: and be sure you do NOT leave out the colons.  The file <logfilename> will be created in the /var/lp/logs/ directory however, the directory (/var/lp/logs/)MUST exist so create it before you start if it is not already there.
0
 

Author Comment

by:merrywma
Comment Utility
system v does not use printcap
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now