LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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-09-2003, 10:24 AM   #1
Izzard
LQ Newbie
 
Registered: Aug 2003
Distribution: Redhat and Mandrake
Posts: 6

Rep: Reputation: 0
Unhappy Need to remove printer timeout, don't know how


Hi all. I am so close to making this work, I can almost smell it! Basically, we have some software which prints using a command line of my choice. For example, right now it's using:

lpr -P <printer> <filename>

...and this is working just fine, in that it does print. The problem is that the print job is started when a user begins defining options for the printout, and they are often in the menus/options for more than 15 seconds. There is a forced timeout somewhere which is causing the printer to spit out whatever it has so far if has not been told the print job is finished in this time. Concequently, we get unfinished pages, and then the rest comes out on the next sheet. I hope this makes sense!

The printer in question is on a Novell print queue, and I've set it up using CUPS and a Novell backend for CUPS (called 'ncp'). It works great - I can manage the printer with the CUPS web interface and print to it from the command line as described. But I need to tell it to set the timeout to 0 (ie, no timeout).

As I understand, the original lpr command is replaced by CUPS one, but this takes all the same options and so it should not matter. But with lpr you are supposed to be able to set the timeout to 0 by specifying 'connect_timeout' .. in the printcap file. ..I think. This is where I get really confused. Can anyone help please?

I've actually got three such printers. I tried editing the printcap file like this:

DeskJet:\
:connect_timeout#1000:\
laserjet2100:\
:connect_timeout#1000:\
laserjet4:\
:connect_timeout#1000:\

But whenever cupsd is restarted, it overwrites the file with:

DeskJet
laserjet2100
laserjet4



How can I set the timeout from within CUPS?


Last edited by Izzard; 12-09-2003 at 10:48 AM.
 
  


Reply



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
W2K Debian Samba remove printer Pug405 Linux - Networking 1 12-04-2005 05:44 AM
How can i remove the icon of "Printer and Faxes" in my samba? alice95089 Linux - Software 1 05-12-2005 10:25 PM
unable to remove a remote printer test-adm1n Linux - Software 2 04-26-2005 09:30 AM
printer offline remove jobs collen Linux - General 0 11-26-2004 07:38 AM
Samba can't remove printer? ghuber Linux - Software 0 02-20-2004 12:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:54 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration