LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-25-2010, 04:42 PM   #1
mesteen
LQ Newbie
 
Registered: Oct 2010
Posts: 6

Rep: Reputation: 0
How do I view files that have already printed?


I'd like to know how to see which files have been printed on the printer. I can see which print jobs have run and who submitted them using the

$ lpstat -W completed

command but it doesn't show me the files that printed.

Is there a way to set a retention policy to have it hold the job in the queue even after it's finished printing? Or a command to view the details of jobs that have already run?

Any help would be greatly appreciated..

Thanks!
 
Old 10-25-2010, 05:22 PM   #2
valen_tino
Member
 
Registered: Jan 2008
Posts: 105

Rep: Reputation: 28
What do you get for the following:

Code:
lpstat -W completed -o
You could also track the print jobs via http://localhost:631/admin for each printer.
 
Old 10-25-2010, 05:48 PM   #3
mesteen
LQ Newbie
 
Registered: Oct 2010
Posts: 6

Original Poster
Rep: Reputation: 0
the -o option shows the me all the jobs completed on all printers. If I add a specific printer name it gives me the jobs completed on that printer. But it doesn't give me the file name that I get when using the lpq command to see jobs waiting to be completed.
 
Old 10-26-2010, 10:42 AM   #4
mesteen
LQ Newbie
 
Registered: Oct 2010
Posts: 6

Original Poster
Rep: Reputation: 0
I'm wondering if this is even possible??
 
Old 10-26-2010, 12:02 PM   #5
valen_tino
Member
 
Registered: Jan 2008
Posts: 105

Rep: Reputation: 28
You should be able to see the printed file names in the web interface (I could). Command line did not display the file name for me either. Not sure if I'm missing a switch for this.
 
Old 10-26-2010, 01:36 PM   #6
ifranklin
Member
 
Registered: May 2010
Location: Nairobi, Kenya
Distribution: Ubuntu
Posts: 66

Rep: Reputation: 4
you could try this out and see the outcome, if it is what you expect

system>> administration>> printing>> server>> settings>> advanced>> and then tick or check preserve job files (allow reprinting)

i am assuming that you are using the same linux distribution as mine because you have not given as any details about the printer, your linux distribution, etc

Last edited by ifranklin; 10-26-2010 at 01:38 PM.
 
Old 10-26-2010, 03:59 PM   #7
mesteen
LQ Newbie
 
Registered: Oct 2010
Posts: 6

Original Poster
Rep: Reputation: 0
I'm using RHEL5.1...it doesn't seem to be the same..also, is there a way to do this through command line? We are looking to doing away with our UI and I'd like to be able make these changes in the future if need be.

Thanks!
 
Old 10-27-2010, 01:47 AM   #8
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,241

Rep: Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325
The printer server Sw is called cups and normally listens on port 631, so you could open that port in the firewall and admin it remotely. It has a web style interface.
http://en.wikipedia.org/wiki/CUPS#CU...tion_interface
 
Old 10-27-2010, 09:34 AM   #9
mesteen
LQ Newbie
 
Registered: Oct 2010
Posts: 6

Original Poster
Rep: Reputation: 0
It looks like that's how I'm going to have to do it..THANKS!

Is there somewhere I can go that will explain the General settings? I've tried all the Job Retention options and it doesn't appear to be retaining any of the jobs I print...am I missing something?? What exactly does it do?
 
  


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
unable to view files by files when ls in text mode jenson Linux - Server 2 06-20-2008 08:57 AM
unable to view .vsd files (Visio Files) mr_manny Linux - General 5 11-30-2006 08:03 PM
CUPS and SMB printed PDF files Wells Debian 0 12-07-2004 10:20 AM
How can konqueror view html files in .gz & .bz2 files directly? ailinzhe Linux - Software 5 05-24-2004 09:36 AM
Header and footer of printed files (using Kwrite) Krappy Linux - Software 3 02-27-2004 09:21 PM


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

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration