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
cups-lpd(8)						      Easy Software Products						       cups-lpd(8)

NAME
cups-lpd - receive print jobs and report printer status to lpd clients SYNOPSIS
cups-lpd [ -o option=value ] DESCRIPTION
cups-lpd is the CUPS Line Printer Daemon ("LPD") mini-server that supports legacy client systems that use the LPD protocol. cups-lpd does not act as a standalone network daemon but instead operates using the Internet "super-server" inetd(8). Add the following line to the inetd.conf file to enable the cups-lpd daemon: printer stream tcp nowait lp /usr/lib/cups/daemon/cups-lpd cups-lpd If you are using the newer xinetd(8) daemon, add the following lines to the xinetd.conf file: service printer { socket_type = stream protocol = tcp wait = no user = lp server = /usr/lib/cups/daemon/cups-lpd } SECURITY
cups-lpd currently does not perform any access control based on the settings in cupsd.conf(5) or in the hosts.allow(5) or hosts.deny files used by TCP wrappers. Therefore, running cups-lpd on your server will allow any computer on your network (and perhaps the entire Internet) to print to your server. While xinetd has built-in access control support, you should use the TCP wrappers package with inetd to limit access to only those comput- ers that should be able to print through your server. OPTIONS
The -o option to cups-lpd inserts options for all print queues. Most often this is used to disable the "l" filter so that remote print jobs are filtered as needed for printing: printer stream tcp nowait lp /usr/lib/cups/daemon/cups-lpd cups-lpd -o document-format=application/octet-stream server = /usr/lib/cups/daemon/cups-lpd server_args = -o document-format=application/octet-stream The example shown resets the document format to be application/octet-stream, which forces auto-detection of the print file type. COMPATIBILITY
cups-lpd does not enforce the restricted source port number specified in RFC 1179, as using restricted ports does not prevent determined users from submitting print jobs. While this behavior is different than standard Berkeley LPD implementations, it should not affect normal client operations. The output of the status requests follows RFC 2569, Mapping between LPD and IPP Protocols. Since many LPD implementations stray from this definition, remote status reporting to LPD clients may be unreliable. SEE ALSO
inetd(8), xinetd(8), CUPS Software Administrators Manual, http://localhost:631/documentation.html COPYRIGHT
Copyright 1993-2002 by Easy Software Products, All Rights Reserved. 4 March 2002 Common UNIX Printing System cups-lpd(8)
All times are GMT -4. The time now is 02:35 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy