LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 04-10-2007, 04:04 AM   #1
grabro
Member
 
Registered: Oct 2003
Location: Chester
Distribution: Mepis 6.0
Posts: 125

Rep: Reputation: 15
Printer buffer


Hi

I have to print long documents and sometimes the printer grabs more than one sheet and cocks the system up. I can stop the process through the Print Manager but unfortunately its does not stop immediately and I am wasting lots of paper.

It struck me that surely someone has solved this problem and somewhere within Linux there is a script which will clear the print buffer. Does anyone know of such a script? Unfortunately I am not a programmer myself but if someone could explain how to acces the print buffer I would have a go myself at writing a bash script.

grabro
 
Old 04-10-2007, 09:29 PM   #2
ramram29
Member
 
Registered: Jul 2003
Location: Miami, Florida, USA
Distribution: Debian
Posts: 848
Blog Entries: 1

Rep: Reputation: 47
Which print server are you using CUPS or lprng? If using CUPS, the most common now, then you can delete print jobs by open the following page in your browser http://localhost:631. Then click on Jobs and delete the ones selected.
 
Old 04-10-2007, 09:44 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,592

Rep: Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880
What is the make/model of the printer?
Does your printer have an offline button?

There are several different printer command languages and without knowing any technical information it is impossible to provide any help or if such a command exists for your printer.

In my case I have several HP laserjet 4s which use the printer control language PCL. It does have a reset command but I have never bothered to write a program since pressing the offline button is quicker. Once the printer is offline I can reset the unit via its control panel.

Edit:
The problem with deleting print jobs is that once several pages are already sent to the printer the spooler no longer has control. The printer will continue spitting out pages until its memory is empty.

Last edited by michaelk; 04-10-2007 at 09:49 PM.
 
Old 04-16-2007, 07:42 AM   #4
grabro
Member
 
Registered: Oct 2003
Location: Chester
Distribution: Mepis 6.0
Posts: 125

Original Poster
Rep: Reputation: 15
Printer Buffer

Hi

Thanks for the replies.

I am using an HP Deskjet 930c via OpenOffice org, CUPS and Linux.

If there is a problem i can remove the print job via the KDE Print Manager. Perhaps the heading should have been Print Spooler because that my problem. It does not stop immediately.

I am intrigued by the idea that of a reset. My printer as a reset button, I've used it mainly if there has been a paper jam. So the next time I have a problem I will remove the print job via the Print Manager if I then switch off the printer and press Reset this hopefully will clear spooler.

I hope this works it will save me a lot of paper and ink cartridges.

Thanks for your help

grabro
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
any way to increase CD-ROM buffer, increase spindown delay, XMMS buffer r00tb33r Linux - Hardware 5 06-12-2009 12:10 AM
What is the difference between the free buffer and buffer in the buffer hash queue? Swagata Linux - Enterprise 0 05-25-2006 11:57 PM
IO Buffer Haafiz Linux - General 1 07-14-2004 03:24 PM
keeping printer on at bootup keeps printer from printing (some printer modules loaded TheOneAndOnlySM Slackware 1 10-17-2003 07:39 PM
Frame buffer bkeating Linux - Newbie 6 04-22-2003 06:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:43 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