LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How do I view files that have already printed? (https://www.linuxquestions.org/questions/linux-newbie-8/how-do-i-view-files-that-have-already-printed-840389/)

mesteen 10-25-2010 03:42 PM

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!

valen_tino 10-25-2010 04:22 PM

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.

mesteen 10-25-2010 04:48 PM

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.

mesteen 10-26-2010 09:42 AM

I'm wondering if this is even possible??

valen_tino 10-26-2010 11:02 AM

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.

ifranklin 10-26-2010 12:36 PM

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

mesteen 10-26-2010 02:59 PM

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!

chrism01 10-27-2010 12:47 AM

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

mesteen 10-27-2010 08:34 AM

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?


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