Sponsored Content
Full Discussion: Print Spooler Script
Top Forums Shell Programming and Scripting Print Spooler Script Post 302094472 by Yorgy on Friday 27th of October 2006 08:35:12 PM
Old 10-27-2006
Quote:
Originally Posted by grumpf
i have no clue where you problem may be but perhaps this helps.

you lp start/stop is perhaps the main script to start/stop lpr the print spooler (what lpd is UNIXWARE using ? that whould be helpfull.)
Since someone changed the script the first question is:
1. does lpr actualy run ? (see processlist)
2. can anyone print ? (please use the cmdline interface, and print some ascii lines)
3. does specific documents fail ?

normaly the lpd have some kind of debug mode : use it !
generate a test print queue with no filters etc to check if your filter is broken.

be more verbose, how did you test ? what lpd ? What Version of UNIXWARE ? can you send data to a linux printspooler ? what printer ? how many printer ?
I really did not test, the only problem is that when I restart the server after a shutdown, certain people cannot print, I am beginning to think that there may be some kind of permissions issue; but I don't know where to look yet...

I don't know what lpd I am using, the version of Unixware is 7.1.4, I can send data to the print spooler; but the queu does not release the jobs, I will have to check if its a printer(s)...will update you further what I find on the unanswered questions...

Thanks
 

9 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

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. 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

7. UNIX for Dummies Questions & Answers

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.... (0 Replies)
Discussion started by: Choach
0 Replies

8. 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

9. SCO

SCO: UNIX Spooler

I have a system that will not allow me to print from any network printers. The printers are setup correctly. I have already used lpshut and lpsched to reset the spooler I am able to print jobs as long as I go around the spooler. However, anytime I attempt to send a job through spooler it... (9 Replies)
Discussion started by: T Long
9 Replies
CHECKPC(8)                                                        checkpc command                                                       CHECKPC(8)

NAME
checkpc - check out the printcap database SYNOPSIS
checkpc [ -aflprsV ] [ -Aage[DHMS] ] [ -Ddebugflags ] [ -Pprinter ] [ -t size[kM] ] DESCRIPTION
Checkpc is used to check for the existence and correct permissions of entries in the printcap database. It is useful when installing a new printcap database and cleaning up existing printer spoolers. -a Do not create accounting files (:af). -f The fix flag will cause the checkpc program create and fix various files and permissions. It does this in a simple minded manner, and the program may have to be run several times until all permissions are correct. It also reports in extremely verbose details its actions. -l Do not create log files (:lf). -p Print verbose printcap information. Useful if interested in the printcap values. -r remove junk or job files older than the age set by -A. You must set the age to a non-zero value otherwise no files are removed. -s Do not create filter status files (:ps). -A Age[DHMS] Report junk or job files older than age. The age time can have a suffix days (D) hours (H), minutes (M), or seconds (S); default is days. -D debugflags Run the program with debugging flags. See the LPRng HOWTO for details of the flags actions. -V Verbose mode. -P printer Process only the specified print queue. -t size[kM] Truncate log files (:lf) to the specified size in Kbytes or Mbytes (default is Mbytes). -T serial-line set process name and start feature test ANNOYING FEATURES
If the -f(fix) option is specified and you do not run this as root, it will complain, but attempt to carry out the operations. This will lead to a large number of failures reports if the ownership and/or permissions are incorrect. FILES
The files used by LPRng are set by values in the printer configuration file and by configuration options. The following are a commonly used set of default values. /etc/lprng/lpd.conf LPRng configuration file ${HOME}/.printcap user printer description file /etc/printcap printer description file /etc/lprng/lpd.perms permissions /var/run/lprng/lpd lock file for queue control /var/spool/lpd spool directories /var/spool/lpd/QUEUE/control queue control /var/spool/lpd/QUEUE/log trace or debug log file /var/spool/lpd/QUEUE/acct accounting file /var/spool/lpd/QUEUE/status status file SEE ALSO
lpd.conf(5), lpc(8), lpd(8), lpr(1), lpq(1), lprm(1), printcap(5), lpd.perms(5), pr(1), lprng_certs(1), lprng_index_certs(1). AUTHOR
Patrick Powell <papowell@lprng.com>. DIAGNOSTICS
Most of the diagnostics are self explanatory. If you are puzzled over the exact cause of failure, set the debugging level on (-D5) and run again. The debugging information will help you to pinpoint the exact cause of failure. HISTORY
LPRng is a enhanced printer spooler system with functionality similar to the Berkeley LPR software. The LPRng developer mailing list is lprng-devel@lists.sourceforge.net; subscribe by visiting https://lists.sourceforge.net/lists/listinfo/lprng-devel or sending mail to lprng- request@lists.sourceforge.net with the word subscribe in the body. The software is available via http://lprng.sourceforge.net LPRng 2007-02-22 CHECKPC(8)
All times are GMT -4. The time now is 12:31 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy