Solved

Printing Stuff

Posted on 1998-08-12
2
188 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
ID: 2009224
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
ID: 2009225
system v does not use printcap
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
FTP on FreeBSD server 2 141
LastLogonTimeStamp Attribute 7 49
remove a combination of patterns from a file 15 70
Searching File Names and Eliminating Duplicates in Linux 4 75
My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating 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 several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

856 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