LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 12-10-2003, 09:35 AM   #1
Izzard
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.. ..it 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,
Simon.
 
Old 12-10-2003, 09:10 PM   #2
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,476

Rep: Reputation: 156Reputation: 156
"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.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
Old 12-11-2003, 03:36 AM   #3
Izzard
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:

Code:
KeepAliveTimeout

            Specifies the connection timeout for HTTP Keep-Alive.


       Timeout

            Specifies the HTTP request timeout in seconds.


       BrowseTimeout

            Specifies the maximum interval between printer information updates

            before remote printers will be removed from the list of  available

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


Reply


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 12:56 PM
remote cups printing to a smb/cups print server? justanothergeek Linux - Networking 2 09-15-2004 08:31 AM
Clearing CUPS print job? Jonah86 Linux - Newbie 2 05-24-2004 02:11 PM
automating a job to occur every 60 seconds Tigger Linux - General 1 05-28-2003 11:40 PM
samba/cups print job size carpman Linux - Networking 1 01-25-2002 05:40 AM


All times are GMT -5. The time now is 10:12 PM.

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