Solved

Linux Print Jobs (RedHat)

Posted on 2012-12-31
4
425 Views
Last Modified: 2013-01-16
My company is running on an old system and 99% of the reports you can save to the disk and then open as a text file and work with them or send to a spreadsheet.

There is one report that only prints to paper - it happens to be one that would save me tons of time if i could grab it somehow.  I can FTP in - i can look through all temp files - but I can't seem to find where this temp print file may be located...any ideas where to look?
0
Comment
Question by:ProdigyOne2k
4 Comments
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 38733543
Did you search in /var/spool?
0
 

Author Comment

by:ProdigyOne2k
ID: 38733611
Yes - nothing is there
0
 
LVL 76

Expert Comment

by:arnold
ID: 38733924
Can you identify the printer name that is being shared? Are you using cups as a print server?
You could attach a filter to the configuration that will capture the data stream that will pass the data to the printer if you still need to have it printed while a portion will create and store a file in a location that you specify.

The issue might be that this specific printer is defined without a spool.

Start from the workstation/system that's generating the print job to see how it is referenced, then work your way back to where it is, etc.
0
 
LVL 61

Accepted Solution

by:
gheist earned 500 total points
ID: 38734291
Can you find command generating it? pass environment PRINTER=/my/report/date and it will "print" it where you like.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Join & Write a Comment

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now