Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > Direct standard output to printer.

Reply
Thread Tools

Direct standard output to printer.

 
 
Doug Laidlaw
Guest
Posts: n/a
 
      02-23-2007
I have a Perl script (pcal) which prints to standard output. I didn't write
it.

The relevant line is $THECAL=`....'; print $THECAL;

I want to modify this line to print to the default (local) printer on lpr.
How do I go about this?

TIA,

Doug.
--
Books are good enough in their own way; but they are
a mighty bloodless substitute for life.
-R.L. Stevenson.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to redirect a "system" standard output and standard error to avariable (Linux) Venks Ruby 5 12-06-2007 12:21 AM
Internet web app - sending .PDF or .PS output direct to user printer Steve G Java 12 08-06-2006 05:51 PM
How standard is the standard library? steve.leach Python 1 04-18-2005 04:07 PM
Direct output to alternate location bear Javascript 0 10-21-2003 01:02 PM
Re: The Biggest Weakness of STANDARD C++! Tha Lack of the Direct Possibility of a Directory Utility! Quel Domage! Stephen Howe C++ 0 08-12-2003 11:44 PM



Advertisments