Solved

Printing Stuff

Posted on 1998-08-12
2
187 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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
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…
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.

803 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