Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Printing Stuff

Posted on 1998-08-12
2
Medium Priority
?
194 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 400 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
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.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses
Course of the Month11 days, 18 hours left to enroll

916 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