Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 12-10-2003, 10:35 AM   #1
LQ Newbie
Registered: Aug 2003
Distribution: Redhat and Mandrake
Posts: 6

Rep: Reputation: 0
Why does CUPS print after 15 seconds whether the job is ready or not?

Hi there,

I have not managed to find a solution to my problem after a long search on the 'Net. Basically we were using LPRng to print to a couple of
Novell-hosted LaserJets and a Windows-hosted Deskjet from RealNG. RealNG is basically a DOS emulator that runs on Linux.. can use any command line you choose to print, so we've been using:

lpr -P <printername> <filename>

...which worked fine except that, if the DeskJet's Windows PC was off, the print jobs would get lost.

So, we changed to printing with CUPS so that print jobs could be managed (and they now wait for the Windows PC to come back online). This has worked well to both the DeskJet (via IPP) and the LaserJets (using a backend script for CUPS called 'ncp', which just uses 'nprint'). However (and here's the point of my question) - there seems to be a forced timeout of about 15 seconds in CUPS. If we start a printjob in our DOS software and haven't finished adding to it, CUPS prints after 15 seconds whether it's been told to or not.

With LPRng, it seems lpr would reference the lpd.conf file where we could specify 'connect_timeout = 1000' or 'connect_timeout = 0' - but I can't find an equivilent fix for CUPS and its version of lpr seems to ignore the
lpd.conf file (and the printcap file).

If anyone can suggest a solution it would be much appreciated. Many thanks,
Old 12-10-2003, 10:10 PM   #2
LQ Guru
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,863

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
"I can't find an equivilent fix for CUPS"

I am running Fedora Core 1. On my box I thnk that the cups timeout parameter is specified in /etc/cups/cupsd.conf.

Be prepared. Create a LifeBoat CD.

Steve Stites
Old 12-11-2003, 04:36 AM   #3
LQ Newbie
Registered: Aug 2003
Distribution: Redhat and Mandrake
Posts: 6

Original Poster
Rep: Reputation: 0
I thought so too, but the only mention of timeout are these:


            Specifies the connection timeout for HTTP Keep-Alive.


            Specifies the HTTP request timeout in seconds.


            Specifies the maximum interval between printer information updates

            before remote printers will be removed from the list of  available

They only seem to be involved with the web interface and network browsing.. ..I need something like the connect_timeout=0 that you get with LRPng.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cron Job Syntax for a task in seconds AJones Linux - Software 2 07-22-2005 01:56 PM
remote cups printing to a smb/cups print server? justanothergeek Linux - Networking 2 09-15-2004 09:31 AM
Clearing CUPS print job? Jonah86 Linux - Newbie 2 05-24-2004 03:11 PM
automating a job to occur every 60 seconds Tigger Linux - General 1 05-29-2003 12:40 AM
samba/cups print job size carpman Linux - Networking 1 01-25-2002 06:40 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:05 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration