11-25-2009
What is specific about these spool directories ?
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
i have created a new printer in the printcab file.
when i use lpc and the status command it says:
LMAPFE20:
printer is on remote host lpt1:
queuing is enabled
printing is enabled
cannot examine spool directory
What ive... (1 Reply)
Discussion started by: JuergenW
1 Replies
2. UNIX for Dummies Questions & Answers
hi every body,
is there any possibles to spool the commads with output(like oracle spool file) (1 Reply)
Discussion started by: kskumar
1 Replies
3. UNIX for Dummies Questions & Answers
Hi:
At every month end I would like to collect the information of a spool.
Every Spool has more then one job, below is the individual job information, I really want to collect into a text file.
Sp-id Proc User Printer Id Pty Form Copy Total
SP7494 MONTHEND SYED R123 P2 1 WIDE ... (3 Replies)
Discussion started by: shah2
3 Replies
4. Shell Programming and Scripting
Hi everyone
I'm new in this forum, I have a question:
I have a script with many sql staments and I have the spool command at the beginning and the 'spool off' at the end of the script. But, I want to write after each sql stament to a log file not at the end. How can I do it?
Thanks (0 Replies)
Discussion started by: edzela
0 Replies
5. Shell Programming and Scripting
Hi,
I'm creating a shell script to dynamically create a recreate controlfile for an Oracle database. I need to read a cold backup file system, and make some changes to these files.
Let's say for argument sake the directory name is /ebsprod_c/oradata and it looks like this:... (6 Replies)
Discussion started by: exm
6 Replies
6. UNIX for Dummies Questions & Answers
Hi,
Can you please help me how to spool the unix commands executed in my client and its output to a file in local machine.
Basically, I want to save all OS commands executed in my session and its output into a file from my client something like we do oracle with "SPOOL".
Thanks in advance.... (2 Replies)
Discussion started by: pointers
2 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I use SunOS and i connect to database via isql. When tried using SPOOL command to extract the report from database, system thrown me saying "Spoool command not found".
Please advise. (3 Replies)
Discussion started by: kusathy
3 Replies
8. Shell Programming and Scripting
I am using a unix shell script to create and then FTP the file to a mainframe application.
The unix script uses spool to extract data from a Oracle database. The data is extracted into a text file.
The text file is having all the data I need but not in the correct format. The rows of... (1 Reply)
Discussion started by: rameez
1 Replies
9. Shell Programming and Scripting
Hi Friends,
Actually in an linux server , there was printer jobs files occupying more space in /var/spool/cups so i want a script for deleting the files once in two week since i need the latest two weeks files.
Thanks in advance..Waiting for the script. (2 Replies)
Discussion started by: Mohamed Thamim
2 Replies
LEARN ABOUT FREEBSD
chkprintcap
CHKPRINTCAP(8) BSD System Manager's Manual CHKPRINTCAP(8)
NAME
chkprintcap -- check validity of entries in the print spooler database
SYNOPSIS
chkprintcap [-d] [-f printcap]
DESCRIPTION
The chkprintcap utility scans a printcap(5) database (named by the printcap argument, or by default /etc/printcap), looking for entries which
are invalid in one way or another. The following checks are currently implemented:
1. 'tc=' references were properly expanded
2. 'tc=' references did not form a loop
3. No two printers share the same spool directory ('sd=' capability).
The chkprintcap utility exits with a status equal to the number of errors encountered before processing stopped. (In some cases, processing
can stop before the entire file is scanned.)
If the -d flag is given, chkprintcap will attempt to create any missing spool directories, giving them 'u=rwx,go=rx' (0755) mode, group
'daemon', and the owner specified by the 'du=' capability in the database (default 1, which corresponds to user 'daemon').
SEE ALSO
lpr(1), printcap(5), lpd(8)
AUTHORS
The chkprintcap utility was written by Garrett A. Wollman <wollman@lcs.mit.edu>.
BUGS
Not enough sanity-checking is done. At a minimum, the ownership and mode of the spool directories should also be checked. Other parameters
whose value could cause lpd(8) to fail should be diagnosed.
BSD
November 30, 1997 BSD