Sponsored Content
Full Discussion: Print Spooler Script
Top Forums Shell Programming and Scripting Print Spooler Script Post 302092222 by grumpf on Saturday 7th of October 2006 10:27:40 AM
Old 10-07-2006
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 ?
 

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
LPF(1)							      General Commands Manual							    LPF(1)

NAME
lpf - general printer filter SYNOPSIS
lpf -Pprinter -wwidth -llength -xwidth -ylength [ -c ] -Kcontrolfilename -Lbnrname [ -iindent ] [ -Zoptions ] [ -Cclass ] [ -Jjob ] [ -Rac- cntname ] -nlogin -hHost -Fformat [ -T[crlf,debug] -Dlevel ] [ affile ] DESCRIPTION
Lpf is a general printer filter. Usually it is used as filter in the printcap file and is called by lpd. The -Tcrlf option will suppress translation of LF to CR/LF pairs. The -Tdebug option will increment the debug level. The following options passes lpd by default: -Pprinter The name of the printer. -wwidth The page width in chars, as given in the :pw field in the printcap file -llength The page length in lines, as given in the :pl field in the printcap file -xwidth The page width in pixels, as given in the :px field in the printcap file -ylength The page length in pixels, as given in the :py field in the printcap file -Kcontrolfilename The name of the control file. -Lbnrname The banner name. This is set by the lpr -T option. -nlogin The user login name. -hHost The host where the job was submitted. -Fformat The job format from the lpr -F option or other option. These options are optionally set by lpd: -Zoptions Extra options. They are passed from the -Z parameter given on the lpr command command line and can be interpreted by the filter. These remaining options can be added to the filter entry in the printcap file: -c ignore control characters, set by lpr -b (binary) or -l (literal) options. -iindent The indentation amount, set by lpr -i indent option. -Cclass The class name, set by lpr -C class option. -Jjob The job name, set by lpr -J job option. -Raccntname The name of the accounting file, from printcap information. -Dlevel Sets debug level. The level must be an integer, a nonzero value switches debugging on. -Tcrlf Turn LF to CR/LF translation off. -Tdebug Increment the debug level. EXIT STATUS
The following exit values are returned: zero (0) Successful completion. non-zero (!=0) An error occurred. FILES
The files used by LPRng are set by values in the printer configuration file. The following are a commonly used set of default values. /etc/lpd.conf LPRng configuration file ${HOME}/.printcap user printer description file /etc/printcap printer description file /etc/lpd.perms permissions /var/run/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). 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 mailing list is lprng@lprng.com; subscribe by sending mail to lprng-request@lprng.com with the word subscribe in the body. The software is available from ftp://ftp.lprng.com/pub/LPRng. AUTHOR
Patrick Powell <papowell@lprng.com>. LPRng LPRng-3.9.0 LPF(1)
All times are GMT -4. The time now is 12:47 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy