Solved

Printing Stuff

Posted on 1998-08-12
2
189 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: 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

Suggested Solutions

Title # Comments Views Activity
ftpcommand 2 74
Skill Development 15 196
How to clone solaris 10 machine 33 174
unix in java example 9 79
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…
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded‚Ķ
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.:
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.

696 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