How do we print to a file in Solaris 5.8 ?

From: Hsu, Cheng (Consultant) (CHsu@us.nomura.com)
Date: Wed Feb 12 2003 - 09:06:55 EST


Sun Managers,

I have a strange requirement that some of my users need to use 'lp' to
print,
not on papers, but to a text file.

example, lp file-1

the file "file-1" is not acutally printed on paper, in stead
a text file should be created. The output of the lp command
should be a fullpath to the ascii file, such as:

        $ lp file-1
        in /tmp/file-1

Can we setup this kind of printer using a filter ?

Thanks.
Cheng Hsu
----- This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission. If
you receive this message in error, please delete it and all copies from your
system, destroy any hard copies and notify the sender. You must not,
directly or indirectly, use, disclose, distribute, print, or copy any part
of this message if you are not the intended recipient. Nomura Holding
America Inc., Nomura Securities International, Inc, and their respective
subsidiaries each reserve the right to monitor all e-mail communications
through its networks. Any views expressed in this message are those of the
individual sender, except where the message states otherwise and the sender
is authorized to state the views of such entity. Unless otherwise stated,
any pricing information in this message is indicative only, is subject to
change and does not constitute an offer to deal at any price quoted. Any
reference to the terms of executed transactions should be treated as
preliminary only and subject to our formal written confirmation.
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:25:48 EDT