LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 12-18-2003, 09:21 PM   #1
mikeshn
Member
 
Registered: Feb 2002
Posts: 586

Rep: Reputation: 30
Where printer stores queue jobs?


The printer was turn off. However, more than 10 jobs were send to the printer. Is it possible to recover and print all these files. As I understand if more than one job send to pinter, printer saves all these jobs in the system. Correct? If so where the files are saved?

Thanks
 
Old 12-18-2003, 10:52 PM   #2
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 61
On my box it's in /var/spool/cups. The queue can be checked with the command:
lpq. If the printer is connected by parallel port, it seems that the print jobs should have started again when the printer was restarted.

I haven't tried to print anthing directly from /var/spool/cups and can't really do that right now as I don't have anything sitting there.

Last edited by homey; 12-18-2003 at 10:54 PM.
 
Old 12-19-2003, 12:53 AM   #3
oulevon
Member
 
Registered: Feb 2001
Location: Boston, USA
Distribution: Slackware
Posts: 438

Rep: Reputation: 30
In theory, if you printer is off, the queued jobs should be in the spooler. We studied this in my os class. We looked at an I/O abstraction like the following:

User I/O
Device Independent I/O
Device Drivers
Interrupt Handlers
Hardware

Basically if you'd try to print something from your program. This happens in the user space. It would then propagate down to the next level and this is where it would be spooled (many other things happen here as well such as buffering, error checking etc) . If the device wasn't available (i.e. something is using it, or it isn't on) then this is where it would end up, until the device became available. I might have screwed this up a little bit, but that gives you the basic idea.
 
Old 12-19-2003, 07:44 AM   #4
mikeshn
Member
 
Registered: Feb 2002
Posts: 586

Original Poster
Rep: Reputation: 30
Why printer jobs are on the computer not in the printer memory?

And What happend if the computer has 10 jobs and went down? When I restart the computer will it finish all the jobs? Or the spool queue will disappear?

Thanks
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba - printed jobs still show in Win queue nkendrick Linux - Software 2 09-05-2008 09:43 AM
Printer Queue J0nathan Linux - Newbie 1 02-09-2004 12:13 PM
Does anyone know how to queue print jobs? Makystir Linux - Software 3 11-05-2003 05:12 PM
Printer queue getting stuck tamim Linux - General 0 10-10-2003 02:28 AM
Samba printer queue ebele Linux - Networking 0 12-19-2002 02:17 AM

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

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