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
- RE: Missing VFP Printjobs
... I would try adding the following command immediately after the REPORT FORM ...
This command forces VFP to close and release the print job. ... (microsoft.public.fox.vfp.reports.printing) - printing problem
... On 50% of all computers the printing does not ... You can see the print job
in the ... NOT forget EndDoc at the end of the printing code! ... It seems to be
that there is some command sent when the application is ... (comp.lang.pascal.delphi.misc) - printing problem
... On 50% of all computers the printing does not ... You can see the print job
in the ... NOT forget EndDoc at the end of the printing code! ... It seems to be
that there is some command sent when the application is ... (alt.comp.lang.borland-delphi) - Re: [SLE] Adobe printing problem
... Donald Emmack wrote: ... >When you press OK the print job is cancelled
and nothing occurs. ... Using acroread from the command line, I can view and print
pdf ... (SuSE) - Re: [SLE] Stopping print jobs.
... > you cancel the print job. ... there is a command to flush
it. ... As soon as it comes again on line, it continues printing, ... (SuSE)