Help with LPRng Print Spooler and Printcap file


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Help with LPRng Print Spooler and Printcap file
# 1  
Old 08-20-2009
Help with LPRng Print Spooler and Printcap file

Im fairly new to unix printing and printcap files, but have been given the task of administering the print functions of a server, and I have a specific question.

We use a 3rd party pay-to-print system which references our server that hosts the print queues and printcap file for about 15 queues.

Jobs sent to a specific queue are automatically held using the ah option, then released by the 3rd party software. However, only a few of the queues are clearing out the DONE jobs after they are released and printed. There are several queues that are for high volume printing that never clear DONE print jobs, unless I manually clear them (lprm -Pprinter1 all).

My question is, should they clear automatically? or is there an option that I can include in the printcap file to do this?

Here are some examples from our printcap file with generic IP's"

In the example below, lib1 serves as a virtual queue to do load balancing for the 3rd party software. This queue DOES clear out DONE jobs very quickly and recycles jobid's very fast keeping the spool size down.
Code:
#Library first floor virtual queue
lib1
:tc=.common
:lp=/dev/null
:ah
:save_on_error:stop_on_abort
 
#Printers for Lib1
lib1-1
:tc=.common
:server
:lp=192.168.1.20%9100
:rw
 
lib1-2
:tc=.common
:server
:lp=192.168.1.30%9100
:rw

Individual printers do not clear out DONE jobs, and have to be manually cleared using LPRM. Here is an example:
Code:
#Printer 10
printer10
:tc=.common
:lp=192.168.1.40%9100
:ah
:save_on_error:stop_on_abort

Does the RW option effect this? None of them have save_when_done as an option.

Any thoughts?

-server is Red Hat Enterprise Linux AS (v. 4 for 64-bit AMD64/Intel EM64T)
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

How to modify /etc/printcap?

I put this on the CentOS forums yesterday and it's been read 80 times, but no response..........I hope I'm not too impatient. Hello, I am trying to set up a 3 port HP Jetdirect 300x box. I have done the following: Added jetdirect to host file with IP address. Created 3 printers with... (0 Replies)
Discussion started by: nick-genisys
0 Replies

2. UNIX for Dummies Questions & Answers

Print spooler

:eek: I need to check the status of my print spooler on an HP-UX what is the command? Thanks Janelle (1 Reply)
Discussion started by: lilnixon
1 Replies

3. UNIX for Dummies Questions & Answers

Question about spooler

I use software in Unix, I am trying to edit the file before final printing. Because the software only let me enter the data into, then print out, during printing, unix will save file buffer in some where to be ready print, if now I cancel the printing job, the file's buffer should be in spool, and... (3 Replies)
Discussion started by: wendyz
3 Replies

4. UNIX for Dummies Questions & Answers

printcap printer -> email account script/filter help

the basics: Tru64 unix 5.1b on alpha have nail(now mailx), mail, and mailx(old version) available. I'm trying to make a print filter to take a file that is printed to a specific printer in my printcap file and email it. I put this in my printcap: emailprinter:\ ... (0 Replies)
Discussion started by: syadnom
0 Replies

5. UNIX and Linux Applications

Print Spooler product on UNIX?

HI all, I was looking for Print Spooler products for Unix. Basically our requirement is to be able to send jobs to the spool "holded", change printing properties, view a list of jobs to be printed (based on some criteria), send a job to be printed (release) and view the contents of a specific... (1 Reply)
Discussion started by: bananero
1 Replies

6. Shell Programming and Scripting

Print Spooler Script

I have posted before about this; but I am not sure I was clear on my message, so I am hoping someone can help with this as I gathered more information. Excuse me if I am not making sense...I am new to UNIXWARE :-( The print spooler start script was adjusted according to another engineer... (4 Replies)
Discussion started by: Yorgy
4 Replies

7. UNIX for Dummies Questions & Answers

Restarting the Spooler

:confused: Everytime our UNIXWARE 7 Server is restarted we also have to restart the spooler. If the spooler is not restarted, print jobs get stuck in the queu. Once restarted by using the following command lpstop and lpstart everything works fine. Does anyone have any ideas what could be causing... (0 Replies)
Discussion started by: Yorgy
0 Replies

8. HP-UX

Unix Spooler - Hp deskjet

W eare currently running a Unix printer spooler and HP Deskjet printers. We are trying to set up a printer on the spooler server, but are getting connection errors. While we are able to ping and telnet to the relevant HP printer, we cannot set them up. Response: - The HP JetDirect Printer... (0 Replies)
Discussion started by: Vegas
0 Replies

9. HP-UX

Spooler Problem

Greetings, I have encountered the following errors and printing stops frequently. " ERROR 45 FROM LOCKF CALL ON FILE OUTPUTQ". I restart the spooler repeatedly but that is not a permanent solution. Please give me your usual assistance. With regards, Wobitu (2 Replies)
Discussion started by: wobitu
2 Replies

10. Programming

printer status for print spooler: help

Hey people I am currently working on a print spooler for unix over a network. I need help regarding the status of the printer. Is there any way to know when the printer has finished a previous job, so that the next job from the queue can be processed. Also is there any other way to print other... (0 Replies)
Discussion started by: rage
0 Replies
Login or Register to Ask a Question