Sponsored Content
Full Discussion: cups printing error
Operating Systems Linux Red Hat cups printing error Post 302705613 by Tommyk on Tuesday 25th of September 2012 09:09:35 AM
Old 09-25-2012
cups printing error

Hi All,

Having searched for a solution to this issue i found no suggestions which help my particular problem.

I am getting the following error message on 1 of the 3 printers i have configured:
Code:
recoverable: Network host 'xxx.xxx.xxx.xxx' is busy; will retry in 30 seconds



All 3 printers are configured in the same way, socket://printername:9100, using the same ppd file (generic text-only), they are the same make/model (OKI 320). The only difference i can see is that they have different IP addresses.

2 of the printers work fine, it is only 1 of them that is saying it is busy.

Can anyone suggest a reason why this may be happening?

Code:
lpstat -a
printer1 accepting requests since Tue 25 Sep 2012 13:57:20 BST
printer2 accepting requests since Tue 25 Sep 2012 08:42:06 BST
printer3 accepting requests since Tue 25 Sep 2012 08:50:03 BST

lpq -Pprinter1
printer1 is ready
no entries
lpq -Pprinter2
printer2 is ready
no entries
lpq -Pprinter3
printer3 is ready
no entries

I have checked all log directories /var/log/messages /var/log/cups/access_log and error_log and i can see no reason why printer1 is not working yet printer2 and printer3 work no problem.

Version of cups is cups.x86_64 1:1.3.7-30.el5

Thanks.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

CUPS No pages found! error

Hi, I created a CUPS printer using the CUPS web server 127.0.0.1:631/printers. Can add printers, delete jobs, etc. However I cannot print using CUPS. I run a Test Page and get "No Pages Found!" error. The error log reveals what is below. Any ideas on why this happens and how I can fix it? I am... (0 Replies)
Discussion started by: bestcea
0 Replies

2. Linux

Landscape printing broken in CUPS?

Hello, I am using version: cups-config --version - 1.2.4 However, when i use the -o land or -o landscape command it doesn't print in Landscape. I have the same problem on another server. (Both running CENTOS). Does landscape printing work in CUPS? Is there a fix? Thanks in an... (0 Replies)
Discussion started by: stuaz
0 Replies

3. UNIX for Dummies Questions & Answers

make is giving error while installing cups in hpux

m installing cups-1.2.12 in hp-ux ./configure didnt give any error. but make gives the following error making all in cups... Compiling adminutil.c... In file included from http-private.h:142, from globals.h:35, from adminutil.c:47: /usr/include/net/if.h:240: error: field 'iftp_local' has... (5 Replies)
Discussion started by: rosalina
5 Replies

4. UNIX for Dummies Questions & Answers

Slow printing / CUPS - process "parallel" high cpu

Hello. I have a slackware system running cups with an HP laserJet 2100 connected via parallel port in ECP mode. Print jobs are working. Very slowly. 15K test print out of cups takes about 2 minutes to complete. When the printout is on the way to the printer, the process "parallel" uses... (0 Replies)
Discussion started by: agentrnge
0 Replies

5. Slackware

CUPS setup / dev/lp0 perms. ... Slow printing.

Hello, Ive got an HP LaserJet 2100 / parallel interface. I had some troubles getting going due to non-working cups drivers. Updated cups and also used a .ppd.gz file from something HP provided. found the files here... www.linuxprinting.org/show_printer.cgi?recnum=HP-LaserJet_2100 Anyways.... (1 Reply)
Discussion started by: agentrnge
1 Replies

6. SCO

Printing as a CUPS client, only root can print!

Hi, i'm running Openserver 5.0.7 as a CUPS client for a Linux server. The root user can issue a "lpstat -t" to see the printers and can submit jobs without issues. The problem presents when I try to work as a regular user. If I issue an "lpstat -t" all I get after a few seconds is "lpstat:... (1 Reply)
Discussion started by: cyruspy
1 Replies

7. AIX

Remote printing to Linux CUPS queue

Hello all. I am setting up a queue under AIX 4.2.1 to print to a remote Linux CUPS queue. At present I can print to the queue remotely from Windows but not AIX. What I am seeing is lpstat reads the state of the remote queue but at job submission time I am getting backend exit fatal errors. The... (4 Replies)
Discussion started by: tgx
4 Replies

8. UNIX for Advanced & Expert Users

CUPS printing and control escape codes

I ported application from SysV to Linux and run into troubles with printing. Application uses lp and HP JetDirect-based printers, it inserts HP control codes in the file and uses plain lp -d dest doc-file command to print it. The Linux (Ubuntu 8) has CUPS system, which I am not familiar... (0 Replies)
Discussion started by: migurus
0 Replies

9. UNIX for Advanced & Expert Users

Slow printing to network printers using CUPS

Hi Guys, I've inherited a mess of an infrastructure in my new job, there hasn't been a sys admin in post for about a year, so things are falling apart. The first thing to break after I started was the printer server. I have it working again, and people can print, however it's very slow, slower... (0 Replies)
Discussion started by: rudigarude
0 Replies

10. UNIX for Advanced & Expert Users

Troubleshooting printing through Cups

Hello Experts, I have been facing an issue with printing through cups configured on Linux server. All was going on well but all of a sudden the printers started giving an error message, "Unsupported format application/postscript!" and we cant get any prints of any printer. Need your help as... (2 Replies)
Discussion started by: Rockyc3400
2 Replies
printers.conf(4)						   File Formats 						  printers.conf(4)

NAME
printers.conf - system printing configuration database SYNOPSIS
/etc/printers.conf LDAP ou=printers NIS printers.conf.byname NIS+ printers.org_dir DESCRIPTION
The printers.conf file is the system printing configuration database. System administrators use printers.conf to describe destinations for the print client commands and the print protocol adaptor. A destination names a printer or class of printers. See lpadmin(1M). The LP print spooler uses private LP configuration data for represented in the printers.conf database. The lpset command can be used to define the printer table in NIS+. It checks to see if the NIS+ table (printers.org_dir) exists and if it does not it goes ahead and creates it in the correct format. See lpset(1M) for more information. Entries Each entry in printers.conf describes one destination. Entries are one line consisting of any number of fields separated by colons (`:') and terminated by a NEWLINE. The first field of each entry specifies the name of the destination and aliases to which the entry describes. Specify one or more names or aliases of the destination in this first field. Specify the destination using atomic names. URI-style and POSIX-style names are not acceptable. See standards(5). Separate destination names by pipe signs (`|'). Two destination names are reserved for special use in the first entry. Use _all to specify the interest list for lpget, lpstat, and cancel. Use _default to specify the default destination. The remaining fields in an entry are key=value pairs. See Specifying Configuration Options for details regarding key=value pairs. Empty lines can be included for readability. Entries can continue on to multiple lines by adding a backslash (`') as the last character in the line. printers.conf can include comments. Comments have a pound sign (`#') as the first character in the line, and are terminated by a NEWLINE. Use the lpset command to create or modify printers.conf. See lpset(1M). Do not make changes in printers.conf by using an editor. Specifying Configuration Options key=value pairs are configuration options defined by the system administrator. key and value can be of arbitrary length. Separate key and value by the equal (`=') character. Client/Server Configuration Options The following client/server configuration options (represented as key=value pairs) are supported: printer-uri-supported=scheme://endpoint Provides the information necessary to contact the print service for the entry. The scheme generally identifies the print service or protocol to use. Currently this is limited to lpsched, ipp, and lpd but might be expanded in the future. Each of these schemes imposes a set of restrictions for specifying the endpoint and the functionality provided. lpsched://localhost/printers/queue This is URI form is used for print queues that are configured under the local LP service. ipp://server[:port]/printers/queue http://server:631/printers/queue ipp://server[:port]/... This URI form is used for print queues that are remotely accessible by way of the Internet Print Protocol. This protocol is the preferred method of accessing remote print queues because it provides the greatest functionality over the wire. The ipp uri scheme is specified in the internet print protocol specifications and is much more free form than listed above. The actual content and format of the endpoint is determined by the remote print service. lpd://server/printers/queue[#Solaris] This URI form is used for print queues that are remotely accessable by way of the BSD Print Protocol. Though limited in capability, this protocol is widely used between client and server. It provides maximium interoperability with remote print services. When used to communicate with print services on a Solaris print server, the optional #Solaris component of the URI indicates that Solaris protcol extensions can be used during print job submission. If an entry does not contain a printer-uri-supported key/value pair, the bsdaddr value is converted to its equivalent uri form and a printer-uri-supported key/value pair is added to the resulting data returned to applications requesting printer configuration data. bsdaddr=server,destination[,Solaris] Sets the server and destination name. Sets if the client generates protocol extensions for use with the lp command (see lp(1)). Solaris specifies a Solaris print server extension. If Solaris is not specified, no protocol extensions are generated. server is the name of the host containing the queue for destination. destination is the atomic name by which the server knows the destination. If the con- figuration file contents are to be shared with legacy systems (Solaris 2.6 - Solaris 10), this key/value pair should be provided for backward compatability. use=destination Sets the destination to continue searching for configuration information. destination is an atomic, URI-style (scheme://endpoint), or Posix-style name (server:printer). all=destination_list Sets the interest list for the lpget, lpstat, and cancel commands. destination_list is a comma-separated list of destinations. Specify destination using atomic, URI-style (scheme://endpoint), or Posix-style names (server:printer). See lpget(1M), lpstat(1), and can- cel(1). LP Server Options The following LP configuration options (represented as key=value pairs) are supported: user-equivalence=true|false Sets whether or not usernames are considered equivalent when cancelling a print request submitted from a different host in a networked environment. true means that usernames are considered equivalent, and permits users to cancel a print requests submitted from a differ- ent host. user-equivalence is set to false by default. false means that usernames are not considered equivalent, and does not permit users cancel a print request submitted from a different host. If user-equivalence is set to false, print requests can only be cancelled by the users on the host on whichs the print prequest was generated or by the superuser on the print server. Print Queue Name Resolution Applications needing to resolve print queue names (destinations) to the associated print service and communications endpoint make use of a specific name resolution ordering. Destination names in URI and POSIX form are complete unto themselves and require no further resolution. Names in atomic form are resolved based on the printers database entry in the /etc/nsswitch.conf file. See nsswitch.conf(4) Locating the Personal Default Destination The default destination is located differently depending on the command. The lp command locates the default destination in the following order: 1. lp command's -d destination option. 2. LPDEST environment variable. 3. PRINTER environment variable. 4. _default destination in $HOME/.printers. 5. _default destination in /etc/printers.conf. The lpr, lpq, and lprm commands locate the default destination in the following order: 1. lpr command's -P destination option. 2. PRINTER environment variable. 3. LPDEST environment variable. 4. _default destination in $HOME/.printers. 5. _default destination in /etc/printers.conf. Locating the Interest List for lpstat, lpget, and cancel The lpget, lpstat, and cancel commands locate the interest list in the following order: 1. _all list in $HOME/.printers. 2. _all list in /etc/printers.conf. EXAMPLES
Example 1 Setting the Interest List The following entry sets the interest list for the lpget, lpstat and cancel commands to printer1, printer2 and printer3: _all:all=printer1,printer2,printer3 Example 2 Setting the Server Name The following entry sets the server name to server and and printer name to ps_printer for destinations printer1 and ps. It does not gener- ate BSD protocol extensions. printer1|ps:bsdaddr=server,ps_printer Example 3 Setting Server Name and Destination Name The following entry sets the server name to server and destination name to pcl_printer, for destination printer2. It also generates Solaris protocol extensions. printer2:printer-uri-supported=lpd//server/printers/pcl_printer#Solaris Example 4 Setting Server Name and Destination Name with Continuous Search The following entry sets the server name to server and destination name to new_printer, for destination printer3. It also sets the printer3 to continue searching for configuration information to printer another_printer. printer3:bsdaddr=server,new_printer:use=another_printer Example 5 Setting Default Destination The following entry sets the default destination to continue searching for configuration information to destination printer1. _default:use=printer1 Example 6 Using IPP as the URI The following example uses IPP as the URI: printer4:printer-uri-supported=ipp://server/printers/queue FILES
/etc/printers.conf System configuration database $HOME/.printers User-configurable printer database ou=printers LDAP version of /etc/printers.conf printers.conf.byname (NIS) NIS version of /etc/printers.conf printers.org_dir (NIS+) NIS+ version of /etc/printers.conf ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWpcu | +-----------------------------+-----------------------------+ |Stability Level |Stable | +-----------------------------+-----------------------------+ SEE ALSO
cancel(1), enable(1), enable(1), lp(1), lpq(1B), lpr(1B), lprm(1B), lpstat(1), accept(1M), in.lpd(1M), lpadmin(1M), lpget(1M), lpmove(1M), lpset(1M), accept(1M), nsswitch.conf(4), printers(4), attributes(5), standards(5) System Administration Guide: Basic Administration SunOS 5.11 2 Jun 2006 printers.conf(4)
All times are GMT -4. The time now is 09:37 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy