Send output to file & printer
From: James Horvath (jhorvath_at_frabill.com)
Date: 01/30/04
- Previous message: Adam Aube: "Re: /etc/init.d/ - add/remove services"
- Next in thread: Adam Aube: "Re: Send output to file & printer"
- Reply: Adam Aube: "Re: Send output to file & printer"
- Maybe reply: Ben Yau: "RE: Send output to file & printer"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: <debian-user@lists.debian.org> Date: Fri, 30 Jan 2004 15:59:25 -0600
Not new to linux per say, but have done almost no shell scripting or
programming with it, so consider me a complete rookie.
Using lpd, is there a simple way using the command line to send the output
of a process to both a file and a printer at the same time?
Optionally, how might I go about saving a copy of a print job to file before
it prints (without disabling the print queue itself)?
As an example, if I issue a command like "ls -laF" on a directory, can I
have the output of that command go to a file (filename =
username_date_time.txt), and print on a remote printer at the same time, or
do I have to run two commands?
Essentially this would be used to capture certain print jobs for possible
reprint if something goes wrong with the printer, or for archival purposes.
Is this possible?
Jim
_______________________________________________________________________
This message was scanned and certified Virus Free by Alexssa | HNet.
www.alexssa.net
www.hnet.net
-- To UNSUBSCRIBE, email to debian-user-request@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
- Previous message: Adam Aube: "Re: /etc/init.d/ - add/remove services"
- Next in thread: Adam Aube: "Re: Send output to file & printer"
- Reply: Adam Aube: "Re: Send output to file & printer"
- Maybe reply: Ben Yau: "RE: Send output to file & printer"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|